27.10.2023, 17:46
(24.10.2023, 19:57)fleeceable Wrote: You are welcome!
I don't have access to that system any more and backup is not the latest unfortunately but if I remember correctly, solar panel values was calculated. I didn't found that on registers.
Registers what I used to calculate solar power is marked on picture. If you need, I have similar calculation done for SolarEdge system. Let me know, I can share the code.
With SOC I struggled as well. But I don't remember if I got that limit working before client started to modify his solar and backup system...
I'm going to add information what I have. Maybe it helps, maybe not.
It discharged down to 5% as well. Then I made script what checks battery % and writes 8 into 47511 if battery SOC is <10% + hysteresis. That gonna put battery into standby.
Maybe you can also set charge/discharge power to 0. Then it should also hold battery percentage.
Adding picture where you can see that if EMS Power Mode is 8 then solar gonna still charge battery but discharging is not happening. It gonna hold that 100%
You may also want to check register 47000.
Another model manual but I think inverter uses same logic - page 10
https://en.goodwe.com/Ftp/EN/Downloads/U...ual-EN.pdf
Concerning, the charging and recharging of the battery, I send my question to the R&D Departement of Goodwe. If get a useful answer, I will post it so that everyone can use it.
But, I'm not fully understanding how you calculate the energy flows. So,
- Register 35139: energy that the grid supplies
- Register 35171: energy that the house uses
- Register 35137: energy from the solar system (PV + Battery)
But how make you then the distinction between the power from the battery and the power from the PV. I already looked at different registers, but I get values from which I can not tell what they are. I have also different modules from Smappee to measure the power of different appliances and circuits. But, unfortunaltly it can not measure the battery, since it is DC.