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

FEMS Backports #1617

Merged
merged 26 commits into from
Sep 8, 2021
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bf2dccd
Gradle: activate more detailed logs
sfeilmeier Sep 7, 2021
62070d5
Backend: handle User Language
sfeilmeier Sep 7, 2021
386702b
Backend: handle User Language
sfeilmeier Sep 8, 2021
58b6e9f
Battery Protection: require BMS data
sfeilmeier Sep 8, 2021
221111c
BYD Battery Box Commercial: set state levels
sfeilmeier Sep 8, 2021
feb6cf6
FENECON Home Battery: numerous improvements
sfeilmeier Sep 8, 2021
9dfad50
Soltaro Batteries: numerous improvements
sfeilmeier Sep 8, 2021
47415e9
ManagedEss: add 'isManaged()' method for runtime detection
sfeilmeier Sep 8, 2021
3063c37
Grid-Optimized-Charge-Controller: numerous improvements
sfeilmeier Sep 8, 2021
7233132
Controller SG Ready Heatpump: fix persistence priority
sfeilmeier Sep 8, 2021
947491c
EVCS Controller: bugfixes
sfeilmeier Sep 8, 2021
af58821
ManagedEss: add 'isManaged()' method for runtime detection
sfeilmeier Sep 8, 2021
fc8d7fd
Host: allow Network Configuration for Role 'owner'
sfeilmeier Sep 8, 2021
3b4ba18
Test-Framework and Simulator: improvements
sfeilmeier Sep 8, 2021
a0c51b3
Generic-ESS is now a Hybrid-ESS
sfeilmeier Sep 8, 2021
b357d9f
EVCS Hardy Barth: numerous improvements
sfeilmeier Sep 8, 2021
5754aa7
EVCS Keba: fix energy limit
sfeilmeier Sep 8, 2021
b8001ca
GoodWe: numerous improvements
sfeilmeier Sep 8, 2021
b9b4e51
Janitza meters: fix voltage and energy
sfeilmeier Sep 8, 2021
2e71f3b
Edge: misc improvements
sfeilmeier Sep 8, 2021
1015ab2
UI add support for theming
sfeilmeier Sep 8, 2021
801faa6
GoodWe: add missing files
sfeilmeier Sep 8, 2021
84630b8
UI add support for theming
sfeilmeier Sep 8, 2021
b847882
UI refactoring
sfeilmeier Sep 8, 2021
75875da
Update Github Actions
sfeilmeier Sep 8, 2021
c6abb1e
Fix build
sfeilmeier Sep 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FENECON Home Battery: numerous improvements
sfeilmeier committed Sep 8, 2021
commit feb6cf6755bc8bd7ae09266d6e30d82954b56fb2
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
import io.openems.edge.battery.fenecon.home.statemachine.StateMachine.State;
import io.openems.edge.common.channel.Channel;
import io.openems.edge.common.channel.Doc;
import io.openems.edge.common.channel.IntegerDoc;
import io.openems.edge.common.channel.value.Value;
import io.openems.edge.common.component.OpenemsComponent;
import io.openems.edge.common.startstop.StartStop;
@@ -71,7 +72,7 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId
RACK_LEVEL_1_CELL_UNDER_VOLTAGE(Doc.of(OpenemsType.BOOLEAN) //
.accessMode(AccessMode.READ_ONLY) //
.text("Rack Cell Under Voltage warning")), //

RACK_PRE_ALARM_CELL_OVER_VOLTAGE(Doc.of(Level.INFO) //
.text("Rack Cell Over Voltage Alarm")), //
RACK_PRE_ALARM_OVER_CHARGING_CURRENT(Doc.of(Level.INFO) //
@@ -177,10 +178,10 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId
.text("Rack Hardware Fault")), //

// Alarm BCU Position
ALARM_POSITION_BCU_2(Doc.of(Level.INFO) //
ALARM_POSITION_BCU_2(Doc.of(OpenemsType.BOOLEAN) //
.accessMode(AccessMode.READ_ONLY) //
.text("Alarm BCU 2 Position")), //
ALARM_POSITION_BCU_3(Doc.of(Level.INFO) //
ALARM_POSITION_BCU_3(Doc.of(OpenemsType.BOOLEAN) //
.accessMode(AccessMode.READ_ONLY) //
.text("Alarm BCU 3 Position")), //
ALARM_POSITION_BCU_4(Doc.of(Level.INFO) //
@@ -206,10 +207,10 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId
.text("Alarm BCU 10 Position")), //

// Warning BCU Position
WARNING_POSITION_BCU_2(Doc.of(Level.WARNING) //
WARNING_POSITION_BCU_2(Doc.of(OpenemsType.BOOLEAN) //
.accessMode(AccessMode.READ_ONLY) //
.text("Warning BCU 2 Position")), //
WARNING_POSITION_BCU_3(Doc.of(Level.WARNING) //
WARNING_POSITION_BCU_3(Doc.of(OpenemsType.BOOLEAN) //
.accessMode(AccessMode.READ_ONLY) //
.text("Warning BCU 3 Position")), //
WARNING_POSITION_BCU_4(Doc.of(Level.WARNING) //
@@ -274,17 +275,10 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId
.unit(Unit.NONE) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU Id. (Max Cell Voltage)")), //
MIN_TEMPERATURE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.DEGREE_CELSIUS) //
.accessMode(AccessMode.READ_ONLY) //
.text("Min Temperature of Battery Rack")), //
ID_OF_MIN_TEMPERATURE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.NONE) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU Id. (Min Temp)")), //
MAX_TEMPERATURE(Doc.of(OpenemsType.INTEGER) //
.accessMode(AccessMode.READ_ONLY) //
.text("Max Temperature of Battery Rack")), //
ID_OF_MAX_TEMPERATURE(Doc.of(OpenemsType.INTEGER) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU Id. (Max Temp)")), //
@@ -588,103 +582,35 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId
.accessMode(AccessMode.READ_ONLY) //
.text("BCU System Short Circuit Fault")),

// Rest of the Bcu registers
TOWER_SOC(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.PERCENT) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU SOC")),
BCU_SOH(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.PERCENT) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU SOH")),
BCU_VOLTAGE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.VOLT) //
.accessMode(AccessMode.READ_ONLY) //
.text("Battery BCU Voltage")),
BCU_CURRENT(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.AMPERE) //
.accessMode(AccessMode.READ_ONLY) //
.text("Battery BCU Current")),
BCU_MIN_CELL_VOLTAGE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.MILLIVOLT) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU Min Cell Voltage")),
BCU_MAX_CELL_VOLTAGE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.MILLIVOLT) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU Maxc Cell Voltage")),
AVERAGE_CELL_VOLTAGE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.MILLIVOLT) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU Average Of All Cell Voltages")),
BCU_MAX_CHARGE_CURRENT(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.AMPERE) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU DC Charge Current Limit")),
MIN_CHARGE_CURRENT(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.AMPERE) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU DC Discharge Current Limit")),
BMS_SERIAL_NUMBER(Doc.of(OpenemsType.INTEGER) //
.accessMode(AccessMode.READ_ONLY) //
.text("BMS Serial Number")),
NO_OF_CYCLES(Doc.of(OpenemsType.INTEGER) //
.accessMode(AccessMode.READ_ONLY) //
.text("Number Of Full charged/discharged cycles")),
DESIGN_CAPACITY(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.AMPERE_HOURS) //
NUMBER_OF_MODULES_PER_TOWER(new IntegerDoc() //
.accessMode(AccessMode.READ_ONLY) //
.text("Design Capacity Of the Module")),
USEABLE_CAPACITY(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.AMPERE_HOURS) //
.accessMode(AccessMode.READ_ONLY) //
.text("Useable Capacity Of The Module")),
REMAINING_CAPACITY(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.AMPERE_HOURS) //
.accessMode(AccessMode.READ_ONLY) //
.text("Remaining Capacity Of The Module")),
MAX_CELL_VOLTAGE_LIMIT(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.MILLIVOLT) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU Max Cell Voltage Limit")),
MIN_CELL_VOLTAGE_LIMIT(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.MILLIVOLT) //
.accessMode(AccessMode.READ_ONLY) //
.text("BCU Min Cell Voltage Limit")),
BMU_NUMBER(Doc.of(OpenemsType.INTEGER) //
.accessMode(AccessMode.READ_ONLY) //
.text("Bmu Number")),
BMU_SOFTWARE_VERSION(Doc.of(OpenemsType.INTEGER) //
.accessMode(AccessMode.READ_ONLY) //
.text("BMU Software Version")),
BMU_HARDWARE_VERSION(Doc.of(OpenemsType.INTEGER) //
.accessMode(AccessMode.READ_ONLY) //
.text("BMU Hardware Version")),
BMU_MAX_CELL_VOLTAGE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.MILLIVOLT)//
.accessMode(AccessMode.READ_ONLY) //
.text("BMU Max Cell Voltage")),
BMU_MIN_CELL_VOLTAGE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.MILLIVOLT)//
.text("Number of modules per tower") //
.onInit(FeneconHomeBatteryImpl.UPDATE_NUMBER_OF_TOWERS_AND_MODULES_CALLBACK)),

NUMBER_OF_TOWERS(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.NONE) //
.accessMode(AccessMode.READ_ONLY) //
.text("BMU Min Cell Voltage")),
BMU_MAX_TEMPERATURE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.DEGREE_CELSIUS)//
.text("Number of towers of the built system")),

TOWER_2_BMS_SOFTWARE_VERSION(new IntegerDoc() //
.unit(Unit.NONE) //
.accessMode(AccessMode.READ_ONLY) //
.text("Max BMU Temperature")),
BMU_MIN_TEMPERATURE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.DEGREE_CELSIUS)//
.text("Bms software version of third tower") //
.onInit(FeneconHomeBatteryImpl.UPDATE_NUMBER_OF_TOWERS_AND_MODULES_CALLBACK)),

TOWER_1_BMS_SOFTWARE_VERSION(new IntegerDoc() //
.unit(Unit.NONE) //
.accessMode(AccessMode.READ_ONLY) //
.text("Min BMU Temperature")),
SUM_VOLTAGE(Doc.of(OpenemsType.INTEGER) //
.unit(Unit.VOLT)//
.text("Bms software version of second tower") //
.onInit(FeneconHomeBatteryImpl.UPDATE_NUMBER_OF_TOWERS_AND_MODULES_CALLBACK)),

TOWER_0_BMS_SOFTWARE_VERSION(new IntegerDoc() //
.unit(Unit.NONE) //
.accessMode(AccessMode.READ_ONLY) //
.text("BMU Sum Voltage")),
.text("Bms software version of first tower")),

BMS_CONTROL(Doc.of(BmsControl.values()) //
.text("BMS CONTROL(1: Shutdown, 0: no action, 2: Ignore)")),
KEEP_FET_OPEN(Doc.of(OpenemsType.INTEGER) //
.accessMode(AccessMode.READ_ONLY) //
.text("Keep FET Open (Disconnect the relay; 1:Keep open, 0: normal operation)")),
STATE_MACHINE(Doc.of(State.values()) //
.text("Current State of State-Machine")), //
RUN_FAILED(Doc.of(Level.FAULT) //
Loading
Oops, something went wrong.