Skip to content

capacities.py

view_capacity_electricity_demand(result_path, nc, config)

Evaluate the optimal capacity for AC technologies that withdraw electricity.

Parameters:

Name Type Description Default
result_path str | pathlib.Path

Directory path where results will be saved

required
nc pypsa.NetworkCollection

Dictionary containing PyPSA network objects for analysis

required
config dict

Configuration dictionary containing model parameters

required
Source code in evals/views/capacities.py
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
def view_capacity_electricity_demand(
    result_path: str | Path,
    nc: NetworkCollection,
    config: dict,
) -> None:
    """
    Evaluate the optimal capacity for AC technologies that withdraw electricity.

    Parameters
    ----------
    result_path
        Directory path where results will be saved
    nc
        Dictionary containing PyPSA network objects for analysis
    config
        Configuration dictionary containing model parameters
    """
    simple_optimal_capacity(nc, config, result_path, kind="demand")

view_capacity_electricity_production(result_path, nc, config)

Evaluate the optimal capacity for AC technologies that produce electricity.

Parameters:

Name Type Description Default
result_path str | pathlib.Path

Directory path where results will be saved

required
nc pypsa.NetworkCollection

Dictionary containing PyPSA network objects for analysis

required
config dict

Configuration dictionary containing model parameters

required
Source code in evals/views/capacities.py
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
def view_capacity_electricity_production(
    result_path: str | Path,
    nc: NetworkCollection,
    config: dict,
) -> None:
    """
    Evaluate the optimal capacity for AC technologies that produce electricity.

    Parameters
    ----------
    result_path
        Directory path where results will be saved
    nc
        Dictionary containing PyPSA network objects for analysis
    config
        Configuration dictionary containing model parameters
    """
    simple_optimal_capacity(nc, config, result_path, kind="production")

view_capacity_electricity_storage(result_path, nc, config)

Evaluate the optimal capacity for AC technologies that store electricity.

Parameters:

Name Type Description Default
result_path str | pathlib.Path

Directory path where results will be saved

required
nc pypsa.NetworkCollection

Dictionary containing PyPSA network objects for analysis

required
config dict

Configuration dictionary containing model parameters

required
Source code in evals/views/capacities.py
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
def view_capacity_electricity_storage(
    result_path: str | Path,
    nc: NetworkCollection,
    config: dict,
) -> None:
    """
    Evaluate the optimal capacity for AC technologies that store electricity.

    Parameters
    ----------
    result_path
        Directory path where results will be saved
    nc
        Dictionary containing PyPSA network objects for analysis
    config
        Configuration dictionary containing model parameters
    """
    simple_storage_capacity(nc, config, result_path)

view_capacity_gas_production(result_path, nc, config)

Evaluate the optimal capacity for technologies that produce methane.

Parameters:

Name Type Description Default
result_path str | pathlib.Path

Directory path where results will be saved

required
nc pypsa.NetworkCollection

Dictionary containing PyPSA network objects for analysis

required
config dict

Configuration dictionary containing model parameters

required
Source code in evals/views/capacities.py
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
def view_capacity_gas_production(
    result_path: str | Path,
    nc: NetworkCollection,
    config: dict,
) -> None:
    """
    Evaluate the optimal capacity for technologies that produce methane.

    Parameters
    ----------
    result_path
        Directory path where results will be saved
    nc
        Dictionary containing PyPSA network objects for analysis
    config
        Configuration dictionary containing model parameters
    """
    simple_optimal_capacity(nc, config, result_path, kind="production")

view_capacity_gas_storage(result_path, nc, config)

Evaluate optimal storage capacities for gas stores (CH4, H2).

Parameters:

Name Type Description Default
result_path str | pathlib.Path

Directory path where results will be saved

required
nc pypsa.NetworkCollection

Dictionary containing PyPSA network objects for analysis

required
config dict

Configuration dictionary containing model parameters

required
Notes

FixMe: No Hydrogen Storage with current config?

Source code in evals/views/capacities.py
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
def view_capacity_gas_storage(
    result_path: str | Path,
    nc: NetworkCollection,
    config: dict,
) -> None:
    """
    Evaluate optimal storage capacities for gas stores (CH4, H2).

    Parameters
    ----------
    result_path
        Directory path where results will be saved
    nc
        Dictionary containing PyPSA network objects for analysis
    config
        Configuration dictionary containing model parameters

    Notes
    -----
    FixMe: No Hydrogen Storage with current config?
    """
    simple_storage_capacity(nc, config, result_path)

view_capacity_heat_production(result_path, nc, config)

Evaluate the optimal capacity for technologies that produce heat.

Parameters:

Name Type Description Default
result_path str | pathlib.Path

Directory path where results will be saved

required
nc pypsa.NetworkCollection

Dictionary containing PyPSA network objects for analysis

required
config dict

Configuration dictionary containing model parameters

required
Source code in evals/views/capacities.py
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
def view_capacity_heat_production(
    result_path: str | Path,
    nc: NetworkCollection,
    config: dict,
) -> None:
    """
    Evaluate the optimal capacity for technologies that produce heat.

    Parameters
    ----------
    result_path
        Directory path where results will be saved
    nc
        Dictionary containing PyPSA network objects for analysis
    config
        Configuration dictionary containing model parameters
    """
    simple_optimal_capacity(nc, config, result_path, kind="production")

view_capacity_hydrogen_production(result_path, nc, config)

Evaluate the optimal capacity for technologies that produce hydrogen.

Parameters:

Name Type Description Default
result_path str | pathlib.Path

Directory path where results will be saved

required
nc pypsa.NetworkCollection

Dictionary containing PyPSA network objects for analysis

required
config dict

Configuration dictionary containing model parameters

required
Source code in evals/views/capacities.py
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
def view_capacity_hydrogen_production(
    result_path: str | Path,
    nc: NetworkCollection,
    config: dict,
) -> None:
    """
    Evaluate the optimal capacity for technologies that produce hydrogen.

    Parameters
    ----------
    result_path
        Directory path where results will be saved
    nc
        Dictionary containing PyPSA network objects for analysis
    config
        Configuration dictionary containing model parameters
    """
    simple_optimal_capacity(nc, config, result_path, kind="production")