Skip to content

Commit

Permalink
Check in darkmode figures
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Oct 19, 2024
1 parent fbc66cb commit ed386ed
Show file tree
Hide file tree
Showing 7 changed files with 8,803 additions and 15 deletions.
1,748 changes: 1,748 additions & 0 deletions docs/_static/images/tutorials/hrsg_steam_supply/flowsheet_darkmode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,739 changes: 1,739 additions & 0 deletions docs/_static/images/tutorials/hrsg_steam_supply/flowsheet_p1_darkmode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,739 changes: 1,739 additions & 0 deletions docs/_static/images/tutorials/hrsg_steam_supply/flowsheet_p2_darkmode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,748 changes: 1,748 additions & 0 deletions docs/_static/images/tutorials/hrsg_steam_supply/flowsheet_p3_darkmode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,816 changes: 1,816 additions & 0 deletions docs/_static/images/tutorials/hrsg_steam_supply/flowsheet_steps_darkmode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,4 @@ out to us. We are looking forward to hearing from you!
tutorials/starting_values.rst
tutorials/heat_pump_exergy.rst
tutorials/pygmo_optimization.rst
tutorials/hrsg_process_steam.rst
27 changes: 12 additions & 15 deletions docs/tutorials/hrsg_process_steam.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,51 +37,48 @@ the system.
The challenge here lies in the complexity of the system. With a well-structured
approach the problem can be tackled.

Set up the Network
^^^^^^^^^^^^^^^^^^
Steam supply and turbine section
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. literalinclude:: /../tutorial/advanced/stepwise.py
:language: python
:start-after: [sec_1]
:end-before: [sec_2]

Modeling the heat pump: Consumer system
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. figure:: /_static/images/tutorials/heat_pump_stepwise/flowsheet_p1.svg
.. figure:: /_static/images/tutorials/hrsg_steam_supply/flowsheet_p1.svg
:align: center
:alt: First part of the system
:figclass: only-light

Figure: First part of the system

.. figure:: /_static/images/tutorials/heat_pump_stepwise/flowsheet_p1_darkmode.svg
.. figure:: /_static/images/tutorials/hrsg_steam_supply/flowsheet_p1_darkmode.svg
:align: center
:alt: First part of the system
:figclass: only-dark

Figure: First part of the system

.. literalinclude:: /../tutorial/advanced/hrsg.py
:language: python
:start-after: [sec_1]
:end-before: [sec_2]

Components
++++++++++

.. literalinclude:: /../tutorial/advanced/stepwise.py
.. literalinclude:: /../tutorial/advanced/hrsg.py
:language: python
:start-after: [sec_2]
:end-before: [sec_3]

Connections
+++++++++++

.. literalinclude:: /../tutorial/advanced/stepwise.py
.. literalinclude:: /../tutorial/advanced/hrsg.py
:language: python
:start-after: [sec_3]
:end-before: [sec_4]

Parametrization & solving
+++++++++++++++++++++++++

.. literalinclude:: /../tutorial/advanced/stepwise.py
.. literalinclude:: /../tutorial/advanced/hrsg.py
:language: python
:start-after: [sec_5]
:end-before: [sec_6]
Expand Down

0 comments on commit ed386ed

Please sign in to comment.