Class FeneconHomeComponents
java.lang.Object
io.openems.edge.app.integratedsystem.FeneconHomeComponents
-
Method Summary
Modifier and TypeMethodDescriptionstatic EdgeConfig.Component
battery
(ResourceBundle bundle, String batteryId, String modbusIdInternal) Creates a default battery component for a FENECON Home.static EdgeConfig.Component
batteryInverter
(ResourceBundle bundle, String batteryInverterId, boolean hasEmergencyReserve, FeedInType feedInType, int maxFeedInPower, String modbusIdExternal, boolean shadowManagementDisabled, SafetyCountry safetyCountry, String feedInSetting) Creates a default battery inverter component for a FENECON Home.static EdgeConfig.Component
Creates a default charger component for a FENECON Home 20/30.static EdgeConfig.Component
chargerOld
(String chargerId, String chargerAlias, String batteryInverterId, int i) Creates a default charger component for a FENECON Home.static EdgeConfig.Component
ctrlEmergencyCapacityReserve
(ResourceBundle bundle, ConfigurationTarget t, String essId, boolean emergencyReserveEnabled, int emergencyReserveSoc) Creates a default ctrlEmergencyCapacityReserve component for a FENECON Home.static EdgeConfig.Component
ctrlEssSurplusFeedToGrid
(ResourceBundle bundle, String essId) Creates a default ctrlEssSurplusFeedToGrid component for a FENECON Home.static EdgeConfig.Component
emergencyMeter
(ResourceBundle bundle, String modbusIdExternal) Creates a default emergency meter component for a FENECON Home.static EdgeConfig.Component
ess
(ResourceBundle bundle, String essId, String batteryId, String batteryInverterId) Creates a default ess component for a FENECON Home.static EdgeConfig.Component
gridMeter
(ResourceBundle bundle, String gridMeterId, String modbusIdExternal, GoodWeGridMeterCategory gridMeterCategory, Integer ctRatioFirst) Creates a default grid meter component for a FENECON Home.static DependencyDeclaration
gridOptimizedCharge
(ConfigurationTarget t, FeedInType feedInType, int maxFeedInPower) Creates a default gridOptimizedCharge dependency for a FENECON Home.static EdgeConfig.Component
io
(ResourceBundle bundle, String modbusIdInternal) Creates a default io component for a FENECON Home.static EdgeConfig.Component
modbusExternal
(ResourceBundle bundle, ConfigurationTarget t, String modbusIdExternal) Creates a default external modbus component for a FENECON Home.static EdgeConfig.Component
modbusForExternalMeters
(ResourceBundle bundle, ConfigurationTarget t, String modbusIdExternal) Creates a default external modbus component for external meters for a FENECON Home.static EdgeConfig.Component
modbusInternal
(ResourceBundle bundle, ConfigurationTarget t, String modbusIdInternal) Creates a default internal modbus component for a FENECON Home.static EdgeConfig.Component
power()
Creates a default power component for a FENECON Home.static EdgeConfig.Component
predictor
(ResourceBundle bundle, ConfigurationTarget t) Creates a default predictor component for a FENECON Home.static DependencyDeclaration
Creates a default prepareBatteryExtension dependency for a FENECON Home.static DependencyDeclaration
selfConsumptionOptimization
(ConfigurationTarget t, String essId, String gridMeterId) Creates a default gridOptimizedCharge dependency for a FENECON Home.
-
Method Details
-
battery
public static EdgeConfig.Component battery(ResourceBundle bundle, String batteryId, String modbusIdInternal) Creates a default battery component for a FENECON Home.- Parameters:
bundle
- the translation bundlebatteryId
- the id of the batterymodbusIdInternal
- the id of the internal modbus bridge- Returns:
- the
EdgeConfig.Component
-
batteryInverter
public static EdgeConfig.Component batteryInverter(ResourceBundle bundle, String batteryInverterId, boolean hasEmergencyReserve, FeedInType feedInType, int maxFeedInPower, String modbusIdExternal, boolean shadowManagementDisabled, SafetyCountry safetyCountry, String feedInSetting) Creates a default battery inverter component for a FENECON Home.- Parameters:
bundle
- the translation bundlebatteryInverterId
- the id of the battery inverterhasEmergencyReserve
- if the system has emergency reserve enabledfeedInType
- theFeedInType
maxFeedInPower
- the max feed in powermodbusIdExternal
- the id of the external modbus bridgeshadowManagementDisabled
- if shadowmanagement is disabledsafetyCountry
- theSafetyCountry
feedInSetting
- the feedInSetting- Returns:
- the
EdgeConfig.Component
-
ess
public static EdgeConfig.Component ess(ResourceBundle bundle, String essId, String batteryId, String batteryInverterId) Creates a default ess component for a FENECON Home.- Parameters:
bundle
- the translation bundleessId
- the id of the essbatteryId
- the id of the batterybatteryInverterId
- the id of the battery inverter- Returns:
- the
EdgeConfig.Component
-
io
Creates a default io component for a FENECON Home.- Parameters:
bundle
- the translation bundlemodbusIdInternal
- the id of the internal modbus bridge- Returns:
- the
EdgeConfig.Component
-
gridMeter
public static EdgeConfig.Component gridMeter(ResourceBundle bundle, String gridMeterId, String modbusIdExternal, GoodWeGridMeterCategory gridMeterCategory, Integer ctRatioFirst) Creates a default grid meter component for a FENECON Home.- Parameters:
bundle
- the translation bundlegridMeterId
- the id of the grid metermodbusIdExternal
- the id of the external modbus bridgegridMeterCategory
- the type of the Grid-MeterctRatioFirst
- the first value of the CT-Ratio- Returns:
- the
EdgeConfig.Component
-
modbusInternal
public static EdgeConfig.Component modbusInternal(ResourceBundle bundle, ConfigurationTarget t, String modbusIdInternal) Creates a default internal modbus component for a FENECON Home.- Parameters:
bundle
- the translation bundlet
- the currentConfigurationTarget
modbusIdInternal
- the id of the internal modbus bridge- Returns:
- the
EdgeConfig.Component
-
modbusExternal
public static EdgeConfig.Component modbusExternal(ResourceBundle bundle, ConfigurationTarget t, String modbusIdExternal) Creates a default external modbus component for a FENECON Home.- Parameters:
bundle
- the translation bundlet
- the currentConfigurationTarget
modbusIdExternal
- the id of the external modbus bridge- Returns:
- the
EdgeConfig.Component
-
modbusForExternalMeters
public static EdgeConfig.Component modbusForExternalMeters(ResourceBundle bundle, ConfigurationTarget t, String modbusIdExternal) Creates a default external modbus component for external meters for a FENECON Home.- Parameters:
bundle
- the translation bundlet
- the currentConfigurationTarget
modbusIdExternal
- the id of the external modbus bridge- Returns:
- the
EdgeConfig.Component
-
predictor
Creates a default predictor component for a FENECON Home.- Parameters:
bundle
- the translation bundlet
- the currentConfigurationTarget
- Returns:
- the
EdgeConfig.Component
-
ctrlEssSurplusFeedToGrid
Creates a default ctrlEssSurplusFeedToGrid component for a FENECON Home.- Parameters:
bundle
- the translation bundleessId
- the id of the ess- Returns:
- the
EdgeConfig.Component
-
power
Creates a default power component for a FENECON Home.- Returns:
- the
EdgeConfig.Component
-
emergencyMeter
Creates a default emergency meter component for a FENECON Home.- Parameters:
bundle
- the translation bundlemodbusIdExternal
- the id of the external modbus bridge- Returns:
- the
EdgeConfig.Component
-
ctrlEmergencyCapacityReserve
public static EdgeConfig.Component ctrlEmergencyCapacityReserve(ResourceBundle bundle, ConfigurationTarget t, String essId, boolean emergencyReserveEnabled, int emergencyReserveSoc) Creates a default ctrlEmergencyCapacityReserve component for a FENECON Home.- Parameters:
bundle
- the translation bundlet
- the currentConfigurationTarget
essId
- the id of the essemergencyReserveEnabled
- if emergency reserve is enabledemergencyReserveSoc
- the emergency reserve soc- Returns:
- the
EdgeConfig.Component
-
chargerOld
public static EdgeConfig.Component chargerOld(String chargerId, String chargerAlias, String batteryInverterId, int i) Creates a default charger component for a FENECON Home.- Parameters:
chargerId
- the id of the chargerchargerAlias
- the alias of the chargerbatteryInverterId
- the id of the battery inverteri
- the index of the pv-port- Returns:
- the
EdgeConfig.Component
-
charger
public static EdgeConfig.Component charger(String chargerId, String chargerAlias, String batteryInverterId, int mpptPort) Creates a default charger component for a FENECON Home 20/30.- Parameters:
chargerId
- the id of the chargerchargerAlias
- the alias of the chargerbatteryInverterId
- the id of the battery invertermpptPort
- the zero-based index of the mppt-port- Returns:
- the
EdgeConfig.Component
-
gridOptimizedCharge
public static DependencyDeclaration gridOptimizedCharge(ConfigurationTarget t, FeedInType feedInType, int maxFeedInPower) Creates a default gridOptimizedCharge dependency for a FENECON Home.- Parameters:
t
- theConfigurationTarget
feedInType
- theFeedInType
maxFeedInPower
- the max feed in power- Returns:
- the
DependencyDeclaration
-
selfConsumptionOptimization
public static DependencyDeclaration selfConsumptionOptimization(ConfigurationTarget t, String essId, String gridMeterId) Creates a default gridOptimizedCharge dependency for a FENECON Home.- Parameters:
t
- theConfigurationTarget
essId
- the id of the essgridMeterId
- the id of the grid meter- Returns:
- the
DependencyDeclaration
-
prepareBatteryExtension
Creates a default prepareBatteryExtension dependency for a FENECON Home.- Returns:
- the
DependencyDeclaration
-