Looking in Utilities at the energy flow diagram for electrical current, a misconception becomes apperent that leads to a wrong flow of energy. This can be fixed by implementing an additional parameter in the configuration and adapted math.
Here are some basic electrical facts:
- Current flow for the phase measured of the grid is either zero, or a non-zero value.
- It can be measured in one variable which is then a positive or negative value or with two values. The latter can only be zero or positive.
- Finally you get zero (no current flow) and mutual exclusive production and consumption on the grid.
- Current flow is always shortest path/least resistance
- Current injected to the wire by an additional source is consumed by the nearest consumer on the wire.
- Solar is never a consumer.
Scenarious:
- Having Grid and Home ONLY:
Flow can only go from grid to home.
Grid production == Home consumption - Adding Solar ONLY to (1)
Current flow direction is defined by the quantity of injected energy compared to grid values (see above)
Solar is a producer only and never a consumer
Home consumption == Injection - Grid consumption + Grid production - Adding Battery (UPS) ONLY to (1)
Current flow direction is defined by the quantity of injected energy compared to grid values (see above)
Battery can be a producer (injecting) OR a consumer (charging) sourced from the grid, but ever at the same time!
Home consumption == Injection + Grid production - Adding Solar + Battery but as independent devices to (1), assuming that both are connected to the same wire.
This is just a combination of 2 and 3 and the energy flow is clear
Home consumption == sum(Injection) - Grid consumption + Grid production - Battery consumption
For 1 - 4, the energy flow is clear based on the source values and can be directly derived from. The current energy flow needs checking if it follows the scenarious described.
Now comes the tricky part that needs attention:
- Adding Solar + Battery but as dependent devices to (1)
At that point, Solar and Battery must be seen as unit though printed individually and following rules apply:
– Solar is connected to the Battery ONLY
– Only the Battery is connected to the wire (= no battery charging from the grid !!)
– Any current not used for charging the battery flows into the wire
Technically, all needed variables stay the same as described in 1-4 BUT we need a kind of radio-button that tells if solar/battery are independent or dependent. In the dependent case:
a.) there NEVER must be a current flow from the grid to the battery.
b.) though the battery is the injection source, the flow can be shown as follows and all can happen at the same time:
– energy flows from solar to battery (charging case): driver: battery charging value
– energy flows from battery to wire (injection case): driver: battery injection value
– energy flows from battery to grid (grid consumer case): driver: battery injection and grid consumer value
– engery flow from solar to grid: this is the culprit - we can either show battery to grid OR solar to grid but not both !! Preferable battery to grid as it matches reality.
Why is a change needed: the dependent case is not matched but reality. Current flow is at the moment wrong for that case and confusing and the values shown do not match what is happening on the producer and consumer sides.