Skip to content
Configuring microgrid control correctly Configuring microgrid control correctly

Configuring microgrid control correctly

A PV system produces a lot of electricity when the sun is shining. A business often needs this electricity when machinery, cooling systems or charging infrastructure are all running simultaneously. It is precisely in this scenario that the control strategy determines whether a storage system actually reduces costs and ensures security of supply. Anyone wishing to configure the microgrid control system correctly therefore does not simply define charging times, but specifies which loads take priority during normal operation, at peak loads and in the event of a grid failure.

A microgrid connects generation, storage, loads and, where applicable, a generator to form a controllable energy system. The hardware forms the basis. However, the system only works effectively through carefully set parameters, correctly measured energy flows and a configuration that suits the actual application – whether at home, in commercial settings or in industry.

What the microgrid control system must decide

The control system continuously answers several questions: Should PV electricity be consumed directly, charged into the battery or fed into the grid? Can the storage system smooth out peak loads? How much battery capacity must be reserved for a potential power cut? And when should a generator start up if PV output and battery charge are insufficient?

These decisions often conflict with one another. Maximising self-consumption discharges the storage system more heavily and can reduce the available backup power reserve. A high reserve increases reliability but may leave economically viable storage capacity unused. The correct setting is therefore not a one-size-fits-all solution. It depends on the risk profile, load profile and energy objectives of the specific location.

For domestic use, the focus is usually on a combination of self-consumption and backup power. In workshops or commercial settings, power prices, simultaneous high-demand loads and production reliability are additional factors. For off-grid applications, the key consideration is how long critical loads can be operated without grid supply and when a generator should be used to recharge the storage system in a cost-effective manner.

Before configuration: recording loads and energy flows

Before setting parameters in the inverter, energy management system or app, reliable data is required. It is not just the annual consumption and the rated output of the PV system that are crucial. What matters is when and how much power is required, and which loads are truly essential.

A household with an annual consumption of 8,000 kilowatt-hours can manage with just a few hundred watts for lighting, cooling, the internet and heating during a power cut. A small commercial business with the same annual consumption may require 20 kilowatts for a short period to start up machinery or run a compressor. These are two completely different situations in terms of system design and control.

You should record at least the typical base load, the highest simultaneous loads, large controllable loads and critical circuits. Depending on the property, these may include heat pumps, wall boxes, cooling systems, servers, pumps, machinery or security systems. Start-up currents must also be taken into account: motors and compressors can draw significantly more power for a short period than during continuous operation.

The measurement position is equally important. Current transformers and meters must correctly detect the direction and phase angle. A reversed assignment can result in the system recognising feed-in as consumption, or vice versa. In such cases, even a high-performance storage system will work against the desired strategy. A plausibility test must therefore be carried out before normal operation begins: PV generation, grid consumption, feed-in and battery output must all be clearly consistent on the display.

Configuring microgrid control correctly: the order matters

A reliable configuration is achieved step by step. Changing individual values without considering the operational logic risks unnecessary grid consumption, battery strain or an inadequate backup power supply.

1. Clearly prioritise the operational objective

First, determine which function takes priority. In a detached house, the objective might be: to store surplus PV energy during the day, increase self-consumption in the evening and retain 30 per cent of the battery charge for backup power. In a business, the priority may be different: to limit peak loads above a defined grid draw-off threshold, whilst maintaining only a small reserve for critical systems.

It is important to establish a clear sequence. Typically, this involves: securing critical power supplies, utilising PV directly, charging or discharging the battery according to the defined strategy, and only then drawing or feeding electricity into the grid. This sequence must align with the functions of the system in use. Not every system can simultaneously provide a full backup power reserve, consistent peak shaving and maximum time-variable electricity price optimisation.

2. Set a realistic minimum state of charge

The minimum state of charge, often referred to as reserve SOC, is one of the most effective parameters. It determines how much energy remains in the battery for power cuts, night-time operation or generator start-up.

For the sole purpose of optimising self-consumption, a lower value may be appropriate. As soon as backup power or off-grid operation becomes relevant, a robust reserve is required. This should be selected not only on the basis of kilowatt-hours, but also according to the duration of critical loads. Someone who needs 1 kilowatt for twelve hours during an outage – taking into account conversion losses and a safety margin – requires a different reserve to someone who only needs to power a router, lights and a circulation pump.

So take the season into account. In winter, PV recharge is lower, whilst heating and lighting requirements increase. A reserve that seems generous in July may prove insufficient in January. Seasonal profiles or manual adjustment of the reserve provide greater security here.

3. Limiting charging and discharging power

The amount of usable energy is only one aspect of the planning. Power output is just as crucial. The storage system must be able to supply high-power consumers not only for long enough, but also with sufficient power. Setting the charging power too high, on the other hand, can increase grid draw or cause unwanted peaks where domestic connections are limited.

Set power limits appropriate to the inverter, battery, grid connection and load profile. In commercial applications, controlled discharge above a specified grid draw-off level is often advisable. This reduces load peaks without placing an unnecessary strain on the battery with every minor fluctuation in consumption. However, overly strict control can lead to frequent charge and discharge cycles. What matters here is not the lowest individual reading, but economically stable operational behaviour.

4. Carefully plan backup power circuits

Backup power capability does not automatically mean that all loads will continue to operate in the event of a failure. The decisive factors are the available standby power capacity, the battery reserve and the selection of the protected circuits. Critical loads should be connected to a clearly defined backup circuit. Large, non-essential loads such as wall boxes, saunas or high-power machinery are usually switched off during stand-alone operation.

Test the system’s behaviour in practice as well. A planned test will show whether the switchover works, which loads are actually supplied and whether sensitive equipment continues to operate without disruption. This test should be carried out professionally. Work on the mains connection, protective devices and backup power switchover must be carried out by qualified electricians.

Ensuring PV, the grid and the generator work together effectively

A well-configured microgrid first utilises PV generation where it provides the greatest immediate benefit. Direct consumption usually takes priority, as this avoids conversion losses associated with storage. Surplus energy charges the storage system, provided that reserve capacity, charging windows and battery temperature allow it. Only then is energy fed into the grid.

With dynamic tariffs, grid-side charging may also be advisable. This applies, for example, when cheap night-time electricity provides critical energy for the following day or helps avoid high power prices. However, this is only economically viable if tariff advantages, efficiency losses, battery usage and any restrictions imposed by subsidy or grid regulations all align.

A generator enhances resilience, particularly at remote locations, on construction sites, in agriculture or for business-critical applications. The control system should not start up at the slightest sign of a cloud. It makes sense to set clear start and stop thresholds, minimum running times and a charging power at which the generator operates efficiently. Running cycles that are too short increase wear and tear and fuel consumption. Conversely, generators that start too late may result in critical loads having already been shut down.

Monitoring is part of the configuration

Once commissioning is complete, the actual optimisation begins. Over several weeks, check when grid power is drawn, how often the battery reaches its reserve level, and whether power peaks are reliably absorbed. Individual sunny days do not provide a meaningful picture. Only varying weather conditions, weekends, production phases and seasonal consumption patterns reveal whether the strategy is working.

Pay particular attention to unexpected patterns: frequent short cycles, high feed-in despite an empty battery, grid draw-down during PV surplus, or recurring power peaks. Causes may include incorrect measurement values, unsuitable time slots, power limits set too low, or new consumers. A wallbox, additional cooling or a production machine often alters the load profile more significantly than expected.

Integrated systems reduce the number of interfaces, cabling and sources of error. Lenercom’s solutions combine the inverter, battery and backup function into a single, coordinated unit. This simplifies commissioning, but does not replace the project logic: even a compact system will only deliver the desired benefits if its reserve capacity, power limits and priorities are suited to the installation site.

The best configuration is one that goes almost unnoticed in day-to-day use: PV electricity is used sensibly, peaks remain manageable and, in the event of a grid failure, the system supplies power precisely to the loads that matter most. Check this logic regularly – particularly following expansions to the PV system, the addition of new high-power loads or changes to operating hours.

Leave a comment

Back to top