File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
actor/power_distributing/_component_status
tests/timeseries/_pv_pool Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ async def _run(self) -> None:
193193
194194 if new_status != self ._last_status :
195195 _logger .info (
196- "EV charger %s status changed from %s to %s" ,
196+ "PV inverter %s status changed from %s to %s" ,
197197 self ._component_id ,
198198 self ._last_status ,
199199 new_status ,
Original file line number Diff line number Diff line change @@ -130,19 +130,19 @@ def component_ids(self) -> abc.Set[int]:
130130
131131 @property
132132 def power (self ) -> FormulaEngine [Power ]:
133- """Fetch the total power for the EV Chargers in the pool.
133+ """Fetch the total power for the PV Inverters in the pool.
134134
135135 This formula produces values that are in the Passive Sign Convention (PSC).
136136
137- If a formula engine to calculate EV Charger power is not already running, it
137+ If a formula engine to calculate PV Inverter power is not already running, it
138138 will be started.
139139
140140 A receiver from the formula engine can be created using the `new_receiver`
141141 method.
142142
143143 Returns:
144- A FormulaEngine that will calculate and stream the total power of all EV
145- Chargers .
144+ A FormulaEngine that will calculate and stream the total power of all PV
145+ Inverters .
146146 """
147147 engine = self ._pv_pool_ref .formula_pool .from_power_formula_generator (
148148 "pv_power" ,
Original file line number Diff line number Diff line change @@ -98,6 +98,6 @@ def __init__( # pylint: disable=too-many-arguments
9898 self .bounds_tracker .start ()
9999
100100 async def stop (self ) -> None :
101- """Stop all tasks and channels owned by the EVChargerPool ."""
101+ """Stop all tasks and channels owned by the PVInverterPool ."""
102102 await self .formula_pool .stop ()
103103 await self .bounds_tracker .stop ()
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ async def mocks(mocker: MockerFixture) -> typing.AsyncIterator[_Mocks]:
4949 yield _Mocks (
5050 mockgrid ,
5151 streamer ,
52- dp ._ev_power_wrapper .status_channel .new_sender (),
52+ dp ._pv_power_wrapper .status_channel .new_sender (),
5353 )
5454
5555
You can’t perform that action at this time.
0 commit comments