We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EVChargerPool
1 parent c9a6162 commit d902115Copy full SHA for d902115
src/frequenz/sdk/timeseries/ev_charger_pool/_ev_charger_pool.py
@@ -115,7 +115,14 @@ async def propose_power(
115
actors with a higher priority. If None, the power bounds will be set to
116
the maximum power of the batteries in the pool. This is currently and
117
experimental feature.
118
+
119
+ Raises:
120
+ EVChargerPoolError: If a discharge power for EV chargers is requested.
121
"""
122
+ if power is not None and power < Power.zero():
123
+ raise EVChargerPoolError(
124
+ "Discharging from EV chargers is currently not supported."
125
+ )
126
await self._ev_charger_pool.power_manager_requests_sender.send(
127
_power_managing.Proposal(
128
source_id=self._source_id,
0 commit comments