Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
docs: Remove obsolete .graphs() method
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Oct 7, 2021
1 parent 296216d commit ccdca22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,13 @@ Tutorial for Plant Modeling
chpplant.panel_log(goods=['electricity', 'biogas', 'water', 'steam'], variables=[])
chpplant.refill()
simulation.graphs()
simulation.finalize()
This will tell the simulation that in every round, the plant execute the :py:`production` method we specified in CHPPLant. Then it refills the input goods. Lastly, it creates a snapshot of the goods of chpplant as will be specified in (e).

simulation.advance_round(r) sets the time r. Lastly **:py:`simulation.graphs()`** or :py:`simulation.finalize()` tells the simulation that the loop is done. Otherwise the program hangs at the end.
simulation.advance_round(r) sets the time r. Lastly :py:`simulation.finalize()` tells the simulation that the loop is done. Otherwise the program hangs at the end.

4. To run your simulation, the best is to use the terminal and in the directory of your simulation type :code:`python start.py`. In SPYDER make sure that BEFORE you run the simulation for the first time you modify the ‘Run Setting’ and choose ‘Execute in external System Terminal’. If you the simulation in the IDE without making this changes the GUI might block.

Expand Down

0 comments on commit ccdca22

Please sign in to comment.