Skip to content

Commit

Permalink
Insert a hint on the usage of the topology simplification reset
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Oct 21, 2024
1 parent 2deb348 commit b08bab5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/modules/networks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,15 @@ in this case.
variables. Maybe it is only one variable causing the instability, its
increment is much larger than the increment of the other variables?

If you run multiple simulations and a simulation crashed due to an internal
error (e.g. fluid property related), and you still want the next simulations to
perform correctly, you have to call the
:py:meth:`tespy.networks.network.Network.reset_topology_reduction_specifications`
method after the failed simulation and before you run the next simulation.
Usually, this happens automatically as part of the post-processing, but in case
the simulation crashed before that, this step cannot be executed. Then,
restarting the simulation is not possible.

Did you experience other errors frequently and have a workaround/tips for
resolving them? You are very welcome to contact us and share your experience
for other users!
Expand Down
7 changes: 7 additions & 0 deletions docs/whats_new/v0-7-7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Bug Fixes
available in the namespace via the :code:`@component_registry` decorator
(`PR #536 <https://github.com/oemof/tespy/pull/536>`__).


Other Changes
#############
- Make the :code:`reset_topology_reduction_specifications` method of the
`Network` class a public method
(`PR #559 <https://github.com/oemof/tespy/pull/559>`__).

Documentation
#############
- Update deprecated information on the indices of variables in the Jacobian of
Expand Down
2 changes: 1 addition & 1 deletion src/tespy/networks/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@ def init_properties(self):
Initialise the fluid properties on every connection of the network.
- Set generic starting values for mass flow, enthalpy and pressure if
not user specified, read from :code:`ìnit_path` or available from
not user specified, read from :code:`init_path` or available from
previous calculation.
- For generic starting values precalculate enthalpy value at points of
given temperature, vapor mass fraction, temperature difference to
Expand Down

0 comments on commit b08bab5

Please sign in to comment.