# Sinexcel inverter with battery

**URL:** <https://community.openems.io/t/sinexcel-inverter-with-battery/2229>\
**Category:** English Forum\
**Created:** [December 11, 2023, 10:58am UTC](https://community.openems.io/t/sinexcel-inverter-with-battery/2229 "2023-12-11T10:58:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stefan.feilmeier](https://community.openems.io/user_avatar/community.openems.io/stefan.feilmeier/32/2585_2.png) [@stefan.feilmeier](https://community.openems.io/u/stefan.feilmeier)\
**Post date:** [January 2, 2024, 9:46pm UTC](https://community.openems.io/t/sinexcel-inverter-with-battery/2229/2 "2024-01-02T21:46:17Z")

</div>

Hi Sven,

see this diagram:

 ![Ess, Battery-Inverter, Battery](https://community.openems.io/uploads/default/original/1X/fc3b5c1c029f05a4e0ac86520ff9fc673cd2be97.png)  
(original source: [Edge-Module - Programmierstil - #2 by stefan.feilmeier](https://community.openems.io/t/edge-module-programmierstil/1477/2))

For Energy Storage Systems OpenEMS distinguishes two architectures:

1. Direct ESS (“Ess.SMA.SunnyIsland” in the example). In this architecture you communicate only with the Battery-Inverter and it internally handles all the communication with the Battery.
2. Combination of Battery-Inverter and Battery (“KACO” + “BYD BatteryBox” in the example): Here OpenEMS communicates separately with Battery-Inverter and Battery.

In your case it sounds a lot like architecture (1). Unfortunately in OpenEMS the Sinexcel is only implemented for architecture (2) (i.e. the Sinexcel code `implements BatteryInverter`).

To continue with OpenEMS you have two variants:

- Either convert the BatteryInverter implementation to an Ess implementation. See the GoodWe implementation as an example. It provides both variants with shared code in `AbstractGoodwe.java` → [https://github.com/OpenEMS/openems/tree/develop/io.openems.edge.goodwe/src/io/openems/edge/goodwe](https://github.com/OpenEMS/openems/tree/develop/io.openems.edge.goodwe/src/io/openems/edge/goodwe)
- Or connect your OpenEMS directly to the Dyness battery and implement it separately.

Benefit of the second variant is, that you get full control over the battery behaviour and can most likely read more detailed data from the Battery directly.

Regards,  
Stefan

---

_[View the full topic](https://community.openems.io/t/sinexcel-inverter-with-battery/2229)._
