result
frequenz.sdk.actor.power_distributing.result
¤
Results from PowerDistributingActor.
Classes¤
frequenz.sdk.actor.power_distributing.result.Error
dataclass
¤
Bases: Result
Result returned when an error occurred and power was not set at all.
Source code in /opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/frequenz/sdk/actor/power_distributing/result.py
frequenz.sdk.actor.power_distributing.result.OutOfBounds
dataclass
¤
Bases: Result
Result returned when the power was not set because it was out of bounds.
This result happens when the originating request was done with
adjust_power = False
and the requested power is not within the batteries bounds.
Source code in /opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/frequenz/sdk/actor/power_distributing/result.py
frequenz.sdk.actor.power_distributing.result.PartialFailure
dataclass
¤
Bases: _BaseSuccessMixin
, Result
Result returned when any battery failed to perform the request.
Source code in /opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/frequenz/sdk/actor/power_distributing/result.py
frequenz.sdk.actor.power_distributing.result.PowerBounds
dataclass
¤
Inclusion and exclusion power bounds for requested batteries.