Block Energy
ManagerAs a presentation: Block Energy Manager - functions and benefits at a glance, for customer meetings and training (arrow keys to browse, F for full screen). The presentation Energy management gives the overview of all blocks around PV, storage and wallbox.
| Function block
for the energy management of a house with photovoltaics. It distributes
the PV surplus according to a priority list to the heat pump
(heating, boost heating, hot water), a heater rod, a charging station and
up to 16 freely defined additional consumers. The block belongs to the
control element Block
Energy Manager and must be linked to it. There the user sets the
order, the operating mode of each consumer and the values – always within
the limits the installer defines on the block. Note: The block has been rebuilt and is not compatible with the earlier version. Delete existing Block Energy Manager blocks, create them again and then link the control element again. Principle: one list, one power budgetAll consumers are in one list; the order is the priority. The heat pump appears in it with three entries – Heating, Boost heating and Hot water – so that their order can be moved like that of any other consumer. The factory order is heating, boost heating, hot water, heater rod, charging station, followed by the additional consumers.Every second the block calculates the power budget: the feed-in at the grid connection plus the power of all consumers it has currently switched on itself – i.e. the power that would be free if it switched everything off. The list is processed from the top; each consumer sees the budget minus what the higher priorities already occupy. The power of a running consumer comes from its meter, otherwise from its rated power or its setpoint. The continuous consumers (heater rod, charging station, continuous additional consumers) are filled from the top: a higher one is at its maximum power before a lower one gets more than its minimum power. So only the lowest running continuous consumer regulates; two controllers never work against each other. Switching on and off
BatteryThe block does not control the battery, it only reads the state of charge and the charging power and shifts the budget accordingly. Storage systems that control the grid connection to zero simply charge less when a consumer takes the power. For each consumer the battery rule defines whether it may take the power that would otherwise go into the battery:
Time window, runtime per day, catch upWith Time window from/to a consumer only runs during this time (also across midnight); without a time window at any time. Runtime per day together with Catch up from ensures a minimum runtime per day, e.g. for a pool pump: if the consumer has not reached its runtime by the time "Catch up from", it runs from then on without surplus and regardless of the time window at full power until it is reached – provided there is a request. Every minute the consumer ran today counts; counting restarts at midnight.Feed-in limit and "Only curtailed energy"With a feed-in limit (value Feed-in limit), consumers with Only curtailed energy = Yes only see the feed-in above limit minus reserve as their budget. So the heater rod, for example, runs exactly when the system would otherwise have to curtail – without a fixed time. If the feed-in already sits at the limit (the inverter is curtailing), the curtailed part cannot be seen at the grid connection: the consumer then switches on and ramps up step by step until the feed-in drops below limit minus reserve. Without a feed-in limit the setting has no effect.AreasThe areas Heating (heat pump), Hot water (heat pump), Heater rod, Charging station and Battery are switched on or off with parameters of the same name. A switched-off area disappears together with its entries, values and terminals; in the control element its settings are omitted. When switching, the terminals of the block change – existing addresses and connections move along with their terminal. The battery is an exception: its inputs AL and AS are always present, without the area they are just not evaluated.Heating (heat pump)
Hot water (heat pump)The hot water entry charges the storage tank with surplus up to Hot water with surplus and requests again when the top temperature (TW) is the hysteresis below it. If TW drops below the Hot water minimum temperature, the tank is charged without surplus (protection function) until Hot water minimum charge up to is reached at the top and the bottom (TU, if connected) is at most 1 K below. Output WS carries "Hot water with surplus" during the surplus charge, otherwise "Hot water normal".Heater rodThe heater rod is continuous: output EP gives 0-100 %. The maximum power (rated power) is optional. Without it (default 0) the block controls the output level directly by the feed-in – like a classic PV heater rod controller; the budget then only knows its power via a meter. With a maximum power the budget knows how much the heater rod occupies, and output EL gives the power setpoint in kW. The temperature comes from the tank sensors TW (top) and TU (bottom): it switches on when the top falls below the target minus hysteresis; with a bottom sensor, heating only ends when the bottom is also at most 1 K below the target. With only one sensor, it goes to TW and only the hysteresis controls. Since only the top is measured then, the bottom of the tank is usually not fully charged when heating stops; to store more heat, set the setpoint a little higher. If TW is not connected, the heater rod always has a request and its own thermostat must take care of the temperature limit. With surplus it heats up to the Heater rod setpoint; below the Heater rod minimum temperature (default 0 = off) at 100 % even without surplus, up to minimum temperature plus hysteresis. Always on heats at 100 % up to Heater rod always on up to. If the heater rod needs a contactor, separate logic switches it from EP above 0 % with a switch-off delay, so it does not switch constantly. If heat pump and heater rod share one tank, the heater rod setpoint should be above "Hot water with surplus" – then the heat pump with its better efficiency charges first. Staged heater rods are split onto their relays by separate logic at outputs EP or EL. Because a staged heater rod draws more or less than the block specifies in steps, it should then get a meter – otherwise the budget is wrong and the control oscillates.Charging stationThe charging station is continuous between minimum power (default 4500 W) and maximum power (default 11000 W). It does not regulate below the minimum power: in PV mode it only starts from minimum power plus reserve; if the budget is no longer sufficient, it keeps charging at the minimum power for the switch-off delay (difference from battery or grid) and then switches off. The modes in the control element:
Additional consumersUp to 16 additional consumers are created in the dialog Consumers, limits, profiles, each with name and type – switching (on/off) or continuous (0-100 %). Each one gets one input and two outputs: Operating mode (optional; connected = controlled externally, 0 = Automatic), Enable and Setpoint % (switching: 100 % when on). A continuous additional consumer without maximum power is controlled directly by the feed-in like the heater rod.Summer operationIn summer the surplus is usually sufficient for the heater rod. For this, heating, boost heating and hot water are set to Always off (by hand or via a profile). Always off blocks the entry including its protection function: the heat pump enable then stays closed completely, cold protection only works as long as heating is not set to Always off. The hot water minimum temperature is then taken over by the heater rod via its Heater rod minimum temperature, if necessary with power from the grid. If hot water is set to Always off and the heater rod has no minimum temperature or is also set to Always off, the control element shows the note "Hot water without minimum temperature".Profiles (optional)With profiles the user switches e.g. between summer and winter without changing each consumer individually. The names (up to 4, one per line) are entered in the dialog Consumers, limits, profiles on the page Profiles; without names there are no profiles and the control element shows no selection. A profile stores the operating mode of each consumer, the order and the switch Battery priority. All other values (powers, times, temperatures) apply to all profiles together. If the user changes an operating mode or the order while a profile is active, this is saved in the active profile. Input PR switches on every change (1 = first profile), e.g. from a Block Clock or a limit switch on the outdoor temperature; the first value after start does not count as a change. Because only the change has an effect, the user can still switch in the control element afterwards. Output PA gives the active profile. Example:
Operating mode via input BAInput BA overrides the operating modes of all consumers, e.g. for holidays: 1 = all Always on, 2 = all Always off (including the protection functions), any other value = the operating modes of the control element or the active profile apply. BA works above all profiles; the control element then shows the reason "Operating mode input".Limits: what the user may changeThe parameter Consumers, limits, profiles opens a dialog of its own with the pages Consumers, Values and Profiles. On the page Consumers, additional consumers are created with +, deleted with − (their terminals are dropped together with their addresses) and moved in the order with the arrows; the fixed entries can be renamed, their type is fixed and not shown. If a consumer has its own meter, its address is entered under Meter (address), next to it the unit in which it delivers the power (kW or W, Shelly devices mostly W); empty means no meter. With a meter the block calculates with the measured instead of the set power, and the APP shows it. For the heat pump, the first meter of heating, overheating and hot water applies to all three – enabled does not mean that it is running. Every value of a consumer and every general value has three columns: Default applies as long as the user changes nothing; Min and Max limit what the user may set in the control element. Min = Max locks the value, it is then only displayed. For times, "-" means "none". From the factory the limits are wide open – the installer narrows them, e.g. the heater rod setpoint to protect against scalding. The controller enforces the limits as well: a value outside is clamped to the limit, not discarded.The user's settings are stored in the controller, not in the project, and are kept when a project is transferred. Values the user has never changed follow a changed default. Tip: Powers at the terminals are in kW, the values in the dialog and in the control element in W. So that the control element can display and record grid, PV, battery, consumption and autarky, the terminals NL, PV, AL, AS, VB and AT need addresses – a purely internal wiring is not sufficient. The address generator only creates the addresses of the displays VB, AT, UE and PA; measured values, enables and setpoints are wired by the installer to the device blocks. |
See also common parameters of all function blocks.