Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Sinexcel implementation to Battery-Inverter #1389

Closed
wants to merge 42 commits into from

Conversation

sfeilmeier
Copy link
Contributor

This Pull-Request migrates the existing Sinexcel implementation from ESS to BatteryInverter, for being compatible with the Generic-ESS setup.

wgerbl and others added 30 commits January 19, 2021 14:35
…luding force charge/discharge mode

fix checkstyle violations
move CellCharacteristic interface to battery api
update docs folder
# Conflicts:
#	io.openems.edge.battery.api/src/io/openems/edge/battery/api/Battery.java
#	io.openems.edge.battery.api/src/io/openems/edge/battery/api/SetAllowedCurrents.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/SetAllowedCurrents.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/Util.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/cluster/versionb/ClusterVersionB.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/cluster/versionb/SingleRack.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/cluster/versionc/ClusterVersionCImpl.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/single/versiona/SingleRack.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/single/versionb/Config.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/single/versionb/SingleRackVersionBImpl.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/single/versionc/Config.java
#	io.openems.edge.battery.soltaro/src/io/openems/edge/battery/soltaro/single/versionc/SingleRackVersionCImpl.java
#	io.openems.edge.battery.soltaro/test/io/openems/edge/battery/soltaro/UtilTest.java
- Migrate code to actual `BatteryProtection` class with handlers for ChargeMax and DischargeMax Current
- Migrate one integration test

Minor:
- Update DummyBattery to accept additionalChannelIds
- Update PolyLine for type safe and fluent calls
- Add custom Callbacks to ComponentTest-Framework
- Add TypeUtils to convert safely from Integer/Float to Double
- TypeUtils.assertNull() throws an IllegalArgumentException; adapt OperatingSystemDebianSystemd-Service accordingly
If for the given 'cellVoltage' value 'voltageToPercent' defines a limitation (i.e. the given percentage is less than 100 %), that limitation stays active until a future 'cellVoltage' results in no limitation (i.e. percentage == 100 %). This is implemented to reduce fluctuations due to physical effects in the battery.
plus
- improve null-handling in OpenemsComponent
- Remove ForceChargeActive and ForceDischargeActive channels on battery. They are replaced with more detailed BatteryProtection-ChannelIds.
- Add BatteryProtection-ChannelIds
  - holds the input channels for original charge/discharge current by BMS
- Replace Soltaro.Single.B SystemMaxChargeCurrent and DischargeCurrent with new Channels
@sfeilmeier
Copy link
Contributor Author

@huseyinsaht @pooran-c FYI. This is based on #1376. Still needs to be tested, but could serve as a basis for off-grid implementation

@sfeilmeier
Copy link
Contributor Author

Superseded by #1637

@sfeilmeier sfeilmeier closed this Nov 4, 2021
@sfeilmeier sfeilmeier deleted the feature/Sinexcel-BatteryInverter branch January 11, 2022 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants