File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ Upcoming Release
4646
4747* Remove pinned environment files mention in the pre-commit-config-yaml (https://github.com/PyPSA/pypsa-eur/pull/1837)
4848
49+ * Increase minimum required `pypsa ` version to 0.33.2 (https://github.com/PyPSA/pypsa-eur/pull/1849)
50+
4951PyPSA-Eur v2025.07.0 (11th July 2025)
5052=====================================
5153
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dependencies:
1111- pip
1212
1313# Inhouse packages
14- - pypsa>=0.32.1
14+ - pypsa>=0.35.2
1515- atlite>=0.3
1616- linopy>=0.4.4
1717- powerplantmatching>=0.5.15
Original file line number Diff line number Diff line change @@ -315,8 +315,8 @@ def calculate_market_values(n: pypsa.Network) -> pd.Series:
315315 assign_carriers (n )
316316 assign_locations (n )
317317
318- pypsa .options .set_option ( " params.statistics.nice_names" , False )
319- pypsa .options .set_option ( " params.statistics.drop_zero" , False )
318+ pypsa .options .params .statistics .nice_names = False
319+ pypsa .options .params .statistics .drop_zero = False
320320
321321 for output in OUTPUTS :
322322 globals ()["calculate_" + output ](n ).to_csv (snakemake .output [output ])
Original file line number Diff line number Diff line change 4343
4444 n = pypsa .Network (snakemake .input .network )
4545 sanitize_carriers (n , snakemake .config )
46- pypsa .options .set_option ( " params.statistics.round" , 3 )
47- pypsa .options .set_option ( " params.statistics.drop_zero" , True )
48- pypsa .options .set_option ( " params.statistics.nice_names" , False )
46+ pypsa .options .params .statistics .round = 3
47+ pypsa .options .params .statistics .drop_zero = True
48+ pypsa .options .params .statistics .nice_names = False
4949
5050 regions = gpd .read_file (snakemake .input .regions ).set_index ("name" )
5151 config = snakemake .params .plotting
You can’t perform that action at this time.
0 commit comments