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.
1 parent 724e50c commit e6256bfCopy full SHA for e6256bf
src/frequenz/sdk/timeseries/_formula_engine/_formula_generators/_producer_power_formula.py
@@ -21,7 +21,11 @@ class ProducerPowerFormula(FormulaGenerator[Power]):
21
which are CHP and PV.
22
"""
23
24
- def generate(self) -> FormulaEngine[Power]:
+ def generate( # noqa: DOC502
25
+ # * ComponentNotFound is raised indirectly by _get_grid_component()
26
+ # * RuntimeError is raised indirectly by connection_manager.get()
27
+ self,
28
+ ) -> FormulaEngine[Power]:
29
"""Generate formula for calculating producer power from the component graph.
30
31
Returns:
0 commit comments