Skip to content

Commit

Permalink
update docstring.
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed Mar 13, 2024
1 parent cc5cb46 commit 0de721a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexmeasures/data/models/planning/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def get_power_values(
beliefs_before: datetime | None,
sensor: Sensor,
) -> np.ndarray:
"""Get measurements or forecasts of an inflexible device represented by a power sensor in MW.
"""Get measurements or forecasts of an inflexible device represented by a power or energy sensor as an array of power values in MW.
If the requested schedule lies in the future, the returned data will consist of (the most recent) forecasts (if any exist).
If the requested schedule lies in the past, the returned data will consist of (the most recent) measurements (if any exist).
Expand Down

0 comments on commit 0de721a

Please sign in to comment.