Battery-Emulator
Battery-Emulator copied to clipboard
Adding support for other batteries
What if we want to contribute to add support for other batteries? How can we do that?
Example e golf
@torsteinelv
- Get a CAN log of the battery running in a vehicle
- Take pictures of HV and LV connectors. Figure out the pinout with manuals. Add to wiki
- Start battery by applying 12V to it, and CAN H-L pins to a CAN reader / LilyGo
- Get a CAN log of the battery in standalone operation
- Start mapping values!
- Create a battery .cpp and .h header, see the other batteries for how the structure should look like
- Figure out each value in the CAN messages needed for safe operation
Probably forgot some steps, but that is the basic gist of it!
What about batteries with higher voltage like ones from a Hyundai Ioniq 5 (E-GMP 800V architecture) which are >600V nominal? Are there inverters that can handle this high voltage, or would the battery need to be reconfigured (assuming the BMS can be still kept when reconfigured)?
@cgalpin The Huawei SUN2000 inverters can take 800V batteries (or 2x 400V packs)
Interesting. I now see the wiki entry, but didnt see any code for it.
I am a noob to this, but everything I look at still says 600V DC input max. What am I missing? I am in the USA, so it has to be single phase 120V AC out as well (afaik).
For example, this show 600V - https://midsummer.ie/pdfs/huawei-sun2000-2-6ktl-l1-datasheet.pdf
@cgalpin afaik the 3-phase Huawei SUN2000 inverters need a higher battery voltage than the 1-phase inverters. Thinking about it... how do they both work with the same battery (LUNA2000) 🤔
Just a question on that note the Pylon Tech stuff is already supported?
Just a question on that note the Pylon Tech stuff is already supported?
Yes, Pylontech CAN protocol is implemented!
Hi Dala, I don't see the BYD Atto 3 battery on the list of compatible batteries, yet the repo title is "BYD Battery Emulator..."
What am I missing?
I have a 60kWh Atto 3 battery pack I'd love to integrate.
@stretchkerr The project started out as emulating only BYD HVM (solar batteries). Now the project can emulate lots of other brands.
The BYD Atto3 is not a solar battery, it is an automotive battery. To integrate it, follow the steps as explained here: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/issues/51#issuecomment-1685365046
Lots of work!
@stretchkerr The project started out as emulating only BYD HVM (solar batteries). Now the project can emulate lots of other brands.
The BYD Atto3 is not a solar battery, it is an automotive battery. To integrate it, follow the steps as explained here: #51 (comment)
Lots of work!
Thanks for the explanation. BYD solar != BYD Auto. Currently trying to track down a pinout for the Atto3 CAN connector. Will provide an update if I find anything.
@cgalpin afaik the 3-phase Huawei SUN2000 inverters need a higher battery voltage than the 1-phase inverters. Thinking about it... how do they both work with the same battery (LUNA2000) 🤔
Yes everything I am seeing shows that 3-phase inverters can take >600V input (including the battery), but 1-phase maxes out at <500V.
I don't know if the battery is the same for both applications.
Can anyone confirm there is a single phase inverter that can be paired with a ~800v battery, and if so which model(s)?
Can anyone confirm there is a single phase inverter that can be paired with a ~800v battery, and if so which model(s)?
I don't think, single phase inverters can take such high voltages. The inverters internal rail voltage should be about 350VDC for 230VAC output. For a 3 Phase 230/400VAC the rail voltage would be 650VDC.
Are there any news on connecting 3rd party battery systems to a Huawei Sun2000 inverter?
I am closing this issue. The answer to the original question posted in this thread, "How to add new battery" has a dedicated wiki thread here with info: https://github.com/dalathegreat/Battery-Emulator/wiki/Data-needed-for-new-battery-integration