Skip to content

Commit

Permalink
Improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
gplessm committed Sep 21, 2017
1 parent e1aee01 commit b0d0317
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions edisgo/tools/pypsa_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,10 +1056,16 @@ def update_pypsa(network):
"""
Update equipment data of lines and transformers
During grid reinforcement (see ...) lines and transformers are replaced or
extended. The PyPSA grid topology representation is updated by this function
accordingly.
The equipment changes are recorded as 'added' and 'removed' components.
During grid reinforcement (cf.
:func:`edisgo.flex_opt.reinforce_grid.reinforce_grid`) grid topology and
equipment of lines and transformers are changed.
In order to save time and not do a full translation of eDisGo's grid
topology to the PyPSA format, this function provides an updater for data
that may change during grid reinforcement.
The PyPSA grid topology :meth:`edisgo.grid.network.Network.pypsa` is update
by changed equipment stored in
:attr:`edisgo.grid.network.Network.equipment_changes`.
Parameters
----------
Expand Down

0 comments on commit b0d0317

Please sign in to comment.