pypsa.Network.branches

pypsa.Network.branches#

Network.branches() DataFrame#

Get branches.

Branches are Lines, Links and Transformers.

!!! note

This method will return a merged copy of all branches of the network. Changes to the returned DataFrame will not be reflected in the network.

Examples

>>> n.branches() 
                         active    b  b_pu  ...         x      x_pu  x_pu_eff
component name                                  ...
Line 0 True 0.0 0.0 … 0.796878 0.000006 0.000006

1 True 0.0 0.0 … 0.391560 0.000003 0.000003 2 True 0.0 0.0 … 0.000000 0.000000 0.000000 3 True 0.0 0.0 … 0.000000 0.000000 0.000000 4 True 0.0 0.0 … 0.000000 0.000000 0.000000 5 True 0.0 0.0 … 0.238800 0.000002 0.000002 6 True 0.0 0.0 … 0.400000 0.000003 0.000003

Link Norwich Converter True NaN NaN … NaN NaN NaN

Norway Converter True NaN NaN … NaN NaN NaN Bremen Converter True NaN NaN … NaN NaN NaN DC link True NaN NaN … NaN NaN NaN

<BLANKLINE> [11 rows x 61 columns]

See also

[pypsa.Network.passive_branches][] [pypsa.Network.controllable_branches][]