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 #1637

Merged
merged 3 commits into from
Oct 11, 2021
Merged

FEMS Backports #1637

merged 3 commits into from
Oct 11, 2021

Conversation

sfeilmeier
Copy link
Contributor

Generic/Build/...

  • Extract wrapper for OK HTTP library so that it can be used easier by other Components
  • Improve Modbus Communication errorhandling
    • In case of a modbus communication error there used to be a Fault state on the Modbus Bridge. This improvement moves the Fault state to the actual Modbus device instead.
    • New Fault state ModbusCommunicationFailed inside the ModbusComponent Nature
    • Properly implement ModbusComponent Nature in all Modbus device implementations
    • In Modbus Bridge: use global Cycle-Time
    • Add JUnit tests for Modbus-Bridge
  • Channel: refactor handling of initial value
  • Ramp-Filter: refactor
  • State-Machine: store the previous state and make it available via getPreviousState() method
  • Add feature to ignore Component Warnings and Faults in Sum
    • If you are aware that certain Components currently have an error (e.g. a Modbus-Device is not connected, KEBA charging station is turned off, etc.) you can add the Component-ID to Sum, so that it does not appear in the overall system State (_sum/State)
    • Example without ignore: [ctrlDebugLog0] _sum[State:Fault] ctrlApiRest1[State:FAULT: Unable to start REST-Api Server]
    • Example with ignore configured: [ctrlDebugLog0] _sum[State:Info|State:INFO: Component Warnings or Faults are being ignored] ctrlApiRest1[State:FAULT: Unable to start REST-Api Server]
  • TypeUtils: improve logic in case of null
  • DebugLogController: add config setting to print Component Alias and implement @Modified to apply changed configuration faster
  • Improve process of restarting defective Components via OsgiValidateWorker
  • ESS Power-Constraints: improve log messages and avoid unnecessary tests

UI:

  • Continue refactoring of Widgets
  • many bug fixes

Batteries/Energy Storage Systems

  • Time-of-use-Tariff Discharge Controller: Schedules the discharging of an AC or DC energy storage system in the night based on Hourly-Prices, predicted production and consumption.
  • Battery-Protection: increase force-charge to 2 A by default
  • FENECON Home: add startup procedure to Battery
  • Soltaro Cluster B: Set StateChannels only if the corresponding racks are used
  • Grid-Optimized-Charge: improve logic
  • Generic Off-Grid ESS Implementation
  • Implement Sinexcel as Battery-Inverter; drop ESS implementation
  • GoodWe:
    • implement smart-mode also for GoodWe ESS
    • implement meter that measures emergency power

Input/Output

  • IO Single Channel Threshold: refactor + allow multiple outputs
  • JSON/REST-Api: improve permission handling

Co-authored-by: Sebastian Asen [email protected]
Co-authored-by: Maximilan Lang [email protected]
Co-authored-by: Lukas Rieger [email protected]
Co-authored-by: Hüseyin Sahutoglu [email protected]
Co-authored-by: Sagar Bandi Venu [email protected]

sfeilmeier and others added 3 commits October 11, 2021 16:36
Generic/Build/...
- Extract wrapper for OK HTTP library so that it can be used easier by other Components
- Improve Modbus Communication errorhandling
  - In case of a modbus communication error there used to be a Fault state on the Modbus Bridge. This improvement moves the Fault state to the actual Modbus device instead.
  - New Fault state ModbusCommunicationFailed inside the ModbusComponent Nature
  - Properly implement ModbusComponent Nature in all Modbus device implementations
  - In Modbus Bridge: use global Cycle-Time
  - Add JUnit tests for Modbus-Bridge
- Channel: refactor handling of initial value
- Ramp-Filter: refactor
- State-Machine: store the previous state and make it available via getPreviousState() method
- Add feature to ignore Component Warnings and Faults in Sum
  - If you are aware that certain Components currently have an error (e.g. a Modbus-Device is not connected, KEBA charging station is turned off, etc.) you can add the Component-ID to Sum, so that it does not appear in the overall system State (`_sum/State`)
  - Example without ignore: `[ctrlDebugLog0] _sum[State:Fault] ctrlApiRest1[State:FAULT: Unable to start REST-Api Server]`
  - Example with ignore configured: `[ctrlDebugLog0] _sum[State:Info|State:INFO: Component Warnings or Faults are being ignored] ctrlApiRest1[State:FAULT: Unable to start REST-Api Server]`
- TypeUtils: improve logic in case of null
- DebugLogController: add config setting to print Component Alias and implement @Modified to apply changed configuration faster
- Improve process of restarting defective Components via OsgiValidateWorker
- ESS Power-Constraints: improve log messages and avoid unnecessary tests

UI:
- Continue refactoring of Widgets
- many bug fixes

Batteries/Energy Storage Systems
- Time-of-use-Tariff Discharge Controller: Schedules the discharging of an AC or DC energy storage system in the night based on Hourly-Prices, predicted production and consumption.
- Battery-Protection: increase force-charge to 2 A by default
- FENECON Home: add startup procedure to Battery
- Soltaro Cluster B: Set StateChannels only if the corresponding racks are used
- Grid-Optimized-Charge: improve logic
- Generic Off-Grid ESS Implementation
- Implement Sinexcel as Battery-Inverter; drop ESS implementation
- GoodWe:
  - implement smart-mode also for GoodWe ESS
  - implement meter that measures emergency power

Input/Output
- IO Single Channel Threshold: refactor + allow multiple outputs
- JSON/REST-Api: improve permission handling

Co-authored-by: Sebastian Asen <[email protected]>
Co-authored-by: Maximilan Lang <[email protected]>
Co-authored-by: Lukas Rieger <[email protected]>
Co-authored-by: Hüseyin Sahutoglu <[email protected]>
Co-authored-by: Sagar Bandi Venu <[email protected]>
@sfeilmeier sfeilmeier merged commit 1012d57 into develop Oct 11, 2021
@sfeilmeier sfeilmeier deleted the feature/fems-backports branch October 11, 2021 15:00
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.

1 participant