Beta testing on the Dev branch for the IOG tariff has identified very low slot values being modelled for Force Discharge.
Investigation suggests that the issue is this area of code; this should be returning the max available discharge power within a slot but is currently returning the max solar power within a slot.
Beta testing on the Dev branch for the IOG tariff has identified very low slot values being modelled for Force Discharge.
Investigation suggests that the issue is this area of code; this should be returning the max available discharge power within a slot but is currently returning the max solar power within a slot.
The comma was added at 3.15.4 when adding battery max discharge power. In 3.15.3 it reads:
i.e with no comma between the inverter power and the solar.
Whilst removing the comma would solve the main problem, I'm still not sure its right, as I think the max discharge will be the minimum of:
1) battery power 2) Inverter power 3) charger power + any solar 4) available energy left in the battery (converted to power)
??