Replies: 3 comments 1 reply
-
See BTW: I don't understand what you are trying to achieve with the charger, I am only helping you get the SoC value through code. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thank you! This works beautifully now.
Nevermind, I'll simply add two new input fields (BatteryLimitCurrentAtSoC and BatteryLimitedCharingCurrent or something like this) to the charger settings config. This way, it is a) battery vendor independent and b) easier to with multiple batteries.
I'm trying to keep the auto charger output current below the battery's reported maximum accepted value, and since this changes with the battery SoC, it must be actively corrected during the charging process. |
Beta Was this translation helpful? Give feedback.
-
Does the Pylontech BMS tell you how much current it thinks is best? If so, can that information be fed directly to the charger instead? |
Beta Was this translation helpful? Give feedback.
-
Hi!
I've been using the combination of the Huawei R4850G2 PSU (with enabled auto power control based on power meter values) and a Pylontech US2000C battery for several weeks now, and for the most part, it has been working really smoothly. The only thing that really bothers me is the charge current limit as monitored by the battery's BMS.
Normally, this value is at 25A, which leads to a AC charger power of 1200-1300W. However, if the SoC passes 89%, the value is reduced to 10A, which is probably necessary to prolong the cell life.
Since the OpenDTU (at least in my case) is connected to both CAN busses and therefore has access to all these values, it should theoretically be able to combine them. So I tried adding the BatteryClass to HuaweiCanClass in order to get access to its values:
It does compile and run, but the corresponding log output always tells me that the SoC is 0. which is less of a usable value and more of a testament to my limited/nonexistent C++ knowledge. I suppose the Battery class uses some kind of factory/singleton pattern which requires some specific syntax to use?
I would really appreciate some input on this by someone more knowledgeable than me 🧠
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions