Curtailment: distribute limits to all devices by percent (#31390)
This commit is contained in:
parent
949daf4670
commit
eea55d282d
22 changed files with 147 additions and 131 deletions
|
|
@ -210,8 +210,8 @@ type Dimmer interface {
|
|||
|
||||
// Curtailer provides EEG §9 curtailment
|
||||
type Curtailer interface {
|
||||
Curtailed() (bool, error)
|
||||
Curtail(bool) error
|
||||
Curtailed() (bool, error) // curtailed if feed-in is limited to less than nominal (<100%)
|
||||
SetCurtailPercent(int) error // limit feed-in to the given percent of nominal (0..100, 100 = uncurtailed)
|
||||
}
|
||||
|
||||
// ChargeController allows to start/stop the charging session on the vehicle side
|
||||
|
|
@ -293,8 +293,8 @@ type Circuit interface {
|
|||
type HEMS interface {
|
||||
SetUpdated(func())
|
||||
Dimmed() *bool // nil = no statement
|
||||
Curtailed() *bool // nil = no statement
|
||||
MaxConsumptionPower() float64 // 0 = no limit
|
||||
CurtailedPercent() *int // allowed feed-in percent of nominal production power (0..100), nil = no statement
|
||||
MaxProductionPower() *float64 // nil = no limit
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue