pypsa.examples.ac_dc_meshed

Contents

pypsa.examples.ac_dc_meshed#

pypsa.examples.ac_dc_meshed(update: bool = False, from_master: bool = False, remove_link_p_set: bool = False) Network#

Load the meshed AC-DC example network.

Parameters:
  • update (bool, optional) – Whether to update the locally stored network data. The default is False.

  • from_master (bool, optional) – Whether to retrieve from the master branch of the pypsa repository.

  • remove_link_p_set (bool, optional) – Whether to remove the link p_set attribute from the links.

  • Deprecation

  • ------------

  • [ (material-tag-outline: v0.35.0](/release-notes/#v0.35.0): Parameters)

  • from_master

  • update

  • have (and remove_link_p_set are deprecated and do not)

  • version. (any effect. Networks are always updated and retrieved for the current)

Returns:

AC-DC meshed network.

Return type:

pypsa.Network

Examples

>>> n = pypsa.examples.ac_dc_meshed()
>>> n
PyPSA Network 'AC-DC-Meshed'
----------------------------
Components:
 - Bus: 9
 - Carrier: 6
 - Generator: 6
 - GlobalConstraint: 1
 - Line: 7
 - Link: 4
 - Load: 6
Snapshots: 10