§9 EEG
The p9_eeg module configures the feed-in limitation according to §9 of the German Renewable Energy Sources Act (EEG). The power limit of the grid operator is converted into one of the levels 0 %, 30 %, 60 % or 100 % of the inverter's rated power. The level is passed via the relays of the Energy Manager to the inverter's input for ripple control receivers. The highest level that complies with the limit is always used. If no relay is closed, 100 % always applies.
Not supported on this hardware!
Not supported on this hardware!
Not supported on this hardware!
Not supported on this hardware!
p9_eeg/config
The §9 EEG control configuration.
# $HOST e.g. wem-AbCd
Read
curl http://$HOST/p9_eeg/config
{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [0],
"default_level_pct": 100
}
Write
curl http://$HOST/p9_eeg/config -d '{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [0],
"default_level_pct": 100
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. wem/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/p9_eeg/config
{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [0],
"default_level_pct": 100
}
Write
With MQTT on $PREFIX/p9_eeg/config_update
mosquitto_pub -h $BROKER -t $PREFIX/p9_eeg/config_update -m '{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [0],
"default_level_pct": 100
}'
| Name | Description |
|---|---|
enablebool | Specifies whether §9 EEG control should be enabled. If it is enabled, |
sourceint | Signal source for the limit of the grid operator.
|
inverter_power_wint (W) | AC rated power of the inverter. The levels refer to this power. |
relaysint[1] (%) | Level the inverter applies while the relay is closed. Each level can only be assigned to one relay.
|
default_level_pctint (%) | Level that applies as long as the signal source has not provided a limit. Must be 100 or the level of a relay in use. With the signal source EEBUS it is also the pre-configured failsafe value of the LPP use case, as long as the control box has not written its own failsafe value. |
p9_eeg/state
The state of the §9 EEG control.
| Name | Description |
|---|---|
limit_activebool | Indicates whether the signal source currently specifies a limit. |
limit_wint (W) | The limit specified by the signal source. Is 0 if no limit is specified. |
level_pctint (%) | The level currently passed to the inverter. The feed-in is limited if the level is below 100. |
default_activebool | Indicates whether the default level is used because the signal source has not provided a limit yet. |
limit_reachablebool | Indicates whether the limit can be complied with using the available levels. Is false if the limit is below the lowest available level. In this case the lowest level is used. |
p9_eeg/control
The control state for the API source. Values are only considered when the signal source is set to API (1). After a reboot, the default level applies until the first call of p9_eeg/control_update.
| Name | Description |
|---|---|
activebool | Indicates whether a limit is specified via the API. |
limit_wint (W) | Feed-in power limit specified via the API. |
p9_eeg/control_update
Sets the limit via the API. Only considered when the signal source is set to API (1). The state is volatile.
| Name | Description |
|---|---|
activebool | Activates or deactivates the limit. |
limit_wint (W) | Feed-in power limit. |
p9_eeg/config
The §9 EEG control configuration.
# $HOST e.g. wem2-AbCd
Read
curl http://$HOST/p9_eeg/config
{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [30, 0],
"default_level_pct": 100
}
Write
curl http://$HOST/p9_eeg/config -d '{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [30, 0],
"default_level_pct": 100
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. wem2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/p9_eeg/config
{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [30, 0],
"default_level_pct": 100
}
Write
With MQTT on $PREFIX/p9_eeg/config_update
mosquitto_pub -h $BROKER -t $PREFIX/p9_eeg/config_update -m '{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [30, 0],
"default_level_pct": 100
}'
| Name | Description |
|---|---|
enablebool | Specifies whether §9 EEG control should be enabled. If it is enabled, |
sourceint | Signal source for the limit of the grid operator.
|
inverter_power_wint (W) | AC rated power of the inverter. The levels refer to this power. |
relaysint[..] (%) | Level the inverter applies while the relay is closed. Each level can only be assigned to one relay.
|
default_level_pctint (%) | Level that applies as long as the signal source has not provided a limit. Must be 100 or the level of a relay in use. With the signal source EEBUS it is also the pre-configured failsafe value of the LPP use case, as long as the control box has not written its own failsafe value. |
p9_eeg/state
The state of the §9 EEG control.
| Name | Description |
|---|---|
limit_activebool | Indicates whether the signal source currently specifies a limit. |
limit_wint (W) | The limit specified by the signal source. Is 0 if no limit is specified. |
level_pctint (%) | The level currently passed to the inverter. The feed-in is limited if the level is below 100. |
default_activebool | Indicates whether the default level is used because the signal source has not provided a limit yet. |
limit_reachablebool | Indicates whether the limit can be complied with using the available levels. Is false if the limit is below the lowest available level. In this case the lowest level is used. |
p9_eeg/control
The control state for the API source. Values are only considered when the signal source is set to API (1). After a reboot, the default level applies until the first call of p9_eeg/control_update.
| Name | Description |
|---|---|
activebool | Indicates whether a limit is specified via the API. |
limit_wint (W) | Feed-in power limit specified via the API. |
p9_eeg/control_update
Sets the limit via the API. Only considered when the signal source is set to API (1). The state is volatile.
| Name | Description |
|---|---|
activebool | Activates or deactivates the limit. |
limit_wint (W) | Feed-in power limit. |
p9_eeg/config
The §9 EEG control configuration.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/p9_eeg/config
{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [30, 0],
"default_level_pct": 100
}
Write
curl http://$HOST/p9_eeg/config -d '{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [30, 0],
"default_level_pct": 100
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/p9_eeg/config
{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [30, 0],
"default_level_pct": 100
}
Write
With MQTT on $PREFIX/p9_eeg/config_update
mosquitto_pub -h $BROKER -t $PREFIX/p9_eeg/config_update -m '{
"enable": true,
"source": 0,
"inverter_power_w": 10000,
"relays": [30, 0],
"default_level_pct": 100
}'
| Name | Description |
|---|---|
enablebool | Specifies whether §9 EEG control should be enabled. If it is enabled, |
sourceint | Signal source for the limit of the grid operator.
|
inverter_power_wint (W) | AC rated power of the inverter. The levels refer to this power. |
relaysint[..] (%) | Level the inverter applies while the relay is closed. Each level can only be assigned to one relay.
|
default_level_pctint (%) | Level that applies as long as the signal source has not provided a limit. Must be 100 or the level of a relay in use. With the signal source EEBUS it is also the pre-configured failsafe value of the LPP use case, as long as the control box has not written its own failsafe value. |
p9_eeg/state
The state of the §9 EEG control.
| Name | Description |
|---|---|
limit_activebool | Indicates whether the signal source currently specifies a limit. |
limit_wint (W) | The limit specified by the signal source. Is 0 if no limit is specified. |
level_pctint (%) | The level currently passed to the inverter. The feed-in is limited if the level is below 100. |
default_activebool | Indicates whether the default level is used because the signal source has not provided a limit yet. |
limit_reachablebool | Indicates whether the limit can be complied with using the available levels. Is false if the limit is below the lowest available level. In this case the lowest level is used. |
p9_eeg/control
The control state for the API source. Values are only considered when the signal source is set to API (1). After a reboot, the default level applies until the first call of p9_eeg/control_update.
| Name | Description |
|---|---|
activebool | Indicates whether a limit is specified via the API. |
limit_wint (W) | Feed-in power limit specified via the API. |
p9_eeg/control_update
Sets the limit via the API. Only considered when the signal source is set to API (1). The state is volatile.
| Name | Description |
|---|---|
activebool | Activates or deactivates the limit. |
limit_wint (W) | Feed-in power limit. |