Skip to content

Commit

Permalink
fix charging sensor name in tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: F.N. Claessen <felix@seita.nl>
  • Loading branch information
Flix6x committed Nov 15, 2022
1 parent 78b7e5e commit 9558507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions documentation/tut/toy-example-from-scratch.rst
Expand Up @@ -108,7 +108,7 @@ FlexMeasures offers a command to create a toy account with a battery:
$ flexmeasures add toy-account --kind battery
Toy account Toy Account with user toy-user@flexmeasures.io created successfully. You might want to run `flexmeasures show account --id 1`
The sensor for battery charging is <Sensor 2: charging, unit: MW res.: 0:15:00>.
The sensor for battery (dis)charging is <Sensor 2: discharging, unit: MW res.: 0:15:00>.
The sensor for Day ahead prices is <Sensor 3: Day ahead prices, unit: EUR/MWh res.: 1:00:00>.
And with that, we're done with the structural data for this tutorial!
Expand Down Expand Up @@ -278,7 +278,7 @@ Great. Let's see what we made:
.. code-block:: console
$ flexmeasures show beliefs --sensor-id 2 --start ${TOMORROW}T07:00:00+01:00 --duration PT12H
Beliefs for Sensor 'charging' (Id 2).
Beliefs for Sensor 'discharging' (Id 2).
Data spans 12 hours and starts at 2022-03-04 07:00:00+01:00.
The time resolution (x-axis) is 15 minutes.
┌────────────────────────────────────────────────────────────┐
Expand All @@ -301,7 +301,7 @@ Great. Let's see what we made:
│ ▙▄▄▌ ▐▄▄▞ │
└────────────────────────────────────────────────────────────┘
10 20 30 40
██ charging
██ discharging
Here, negative values denote output from the grid, so that's when the battery gets charged.
Expand Down
2 changes: 1 addition & 1 deletion flexmeasures/cli/data_add.py
Expand Up @@ -1110,7 +1110,7 @@ def add_toy_account(kind: str, name: str):
click.echo(
f"Toy account {name} with user {user.email} created successfully. You might want to run `flexmeasures show account --id {user.account.id}`"
)
click.echo(f"The sensor for battery charging is {charging_sensor}.")
click.echo(f"The sensor for battery discharging is {charging_sensor}.")
click.echo(f"The sensor for Day ahead prices is {day_ahead_sensor}.")


Expand Down

0 comments on commit 9558507

Please sign in to comment.