File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
src/frequenz/sdk/timeseries/logical_meter Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 1515from ...microgrid .component import ComponentMetricId
1616from .._formula_engine import FormulaEngine , FormulaEngine3Phase , FormulaEnginePool
1717from .._formula_engine ._formula_generators import (
18- BatteryPowerFormula ,
1918 GridCurrentFormula ,
2019 GridPowerFormula ,
2120 PVPowerFormula ,
@@ -176,24 +175,6 @@ def grid_current(self) -> FormulaEngine3Phase:
176175 GridCurrentFormula ,
177176 ) # type: ignore[return-value]
178177
179- @property
180- def battery_power (self ) -> FormulaEngine :
181- """Fetch the cumulative battery power in the microgrid.
182-
183- If a formula engine to calculate cumulative battery power is not already
184- running, it will be started.
185-
186- A receiver from the formula engine can be created using the `new_receiver`
187- method.
188-
189- Returns:
190- A FormulaEngine that will calculate and stream battery power.
191- """
192- return self ._formula_pool .from_generator (
193- "battery_power" ,
194- BatteryPowerFormula ,
195- ) # type: ignore[return-value]
196-
197178 @property
198179 def pv_power (self ) -> FormulaEngine :
199180 """Fetch the PV power production in the microgrid.
You can’t perform that action at this time.
0 commit comments