Skip to content

Commit cd70af0

Browse files
committed
update docstrings
1 parent 8bf5317 commit cd70af0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pymgrid/microgrid/microgrid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def step(self, control, normalized=True):
237237
238238
Parameters
239239
----------
240-
control : dict[str, list[float]]
240+
control : dict[str, np.typing.arrayLike]
241241
Actions to pass to each fixed module.
242242
normalized : bool, default True
243243
Whether ``control`` is a normalized value or not. If not, each module de-normalizes its respective action.

src/pymgrid/modules/grid_module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class GridModule(BaseTimeSeriesMicrogridModule):
2626
If n_features=4, time series of ``(import_price, export_price, co2_per_kwH, grid_status)``
2727
in each column, respectively. ``time_series[:, -1]`` -- the grid status -- must be binary.
2828
29-
forecaster : callable, float, "oracle", or None, default None.
29+
forecaster : callable, float, "oracle", None, default None.
3030
Function that gives a forecast n-steps ahead.
3131
3232
* If ``callable``, must take as arguments ``(val_c: float, val_{c+n}: float, n: int)``, where

0 commit comments

Comments
 (0)