Skip to content

Commit

Permalink
Fix build errors - add unimplemented method to BatteryProtection & re…
Browse files Browse the repository at this point in the history
…move exception
  • Loading branch information
thomasjbhayes committed Jan 13, 2025
1 parent 99ae863 commit 22fd570
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ protected void handleVersionNumber(Integer value) {
}

@Override
protected ModbusProtocol defineModbusProtocol() throws OpenemsException {
protected ModbusProtocol defineModbusProtocol() {
return new ModbusProtocol(this, //

// 3.2 Equipment Information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,16 @@ public ForceCharge.Params getForceChargeParams() {
public Double getMaxIncreaseAmperePerSecond() {
return 20.0; // [A] per second // This is not provided by Pylontech. May be unnecessary to provide this value as BMS takes care.
}

@Override
public PolyLine getChargeSocToPercent() {
// TODO Auto-generated method stub
return null;
}

@Override
public PolyLine getDischargeSocToPercent() {
// TODO Auto-generated method stub
return null;
}
}

0 comments on commit 22fd570

Please sign in to comment.