powersimdata.network.europe_tub package

Submodules

powersimdata.network.europe_tub.model module

class powersimdata.network.europe_tub.model.PyPSABase(interconnect, grid_model, network=None, add_pypsa_cols=True)[source]

Bases: FromPyPSA

Arbitrary PyPSA network.

Parameters:
  • interconnect (str/iterable) – interconnect name(s).

  • grid_model (str) – the grid model

  • network (pypsa.Network) – a PyPSA network object

  • add_pypsa_cols (bool) – PyPSA data frames with renamed columns appended to Grid object data frames.

build()[source]

Build network

build_eur()[source]
class powersimdata.network.europe_tub.model.TUB(interconnect, zenodo_record_id=None, reduction=None)[source]

Bases: PyPSABase

PyPSA Europe network.

Parameters:
  • interconnect (str/iterable) – interconnect name(s).

  • zenodo_record_id (str) – the zenodo record id. If set to None, v0.6.1 will be used. If set to latest, the latest version will be used.

  • reduction (int) – reduction parameter (number of nodes in network). If None, the full network is loaded.

build()[source]

Construct the network used to build a grid object and extract/upload the profiles if necessary.

from_zenodo(zenodo_record_id, reduction)[source]

Create network from zenodo data

Parameters:
  • zenodo_record_id (str) – the zenodo record id. If set to None, v0.6.1 will be used. If set to latest, the latest version will be used.

  • reduction (int) – reduction parameter (number of nodes in network). If None, the full network is loaded.

Returns:

(pypsa.Network) – a PyPSA network object

Module contents