Skip to content

Commit

Permalink
Merge pull request #435 from pz-max/ng-run
Browse files Browse the repository at this point in the history
fix p_nom aggregation, and model line as link per default
  • Loading branch information
pz-max committed Aug 9, 2022
2 parents ac704f3 + 820d4eb commit fc22fdb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
7 changes: 4 additions & 3 deletions config.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ cluster_options:
distribute_cluster: ['load'] # Distributes cluster nodes per country according to ['load'],['pop'] or ['gdp']
out_logging: true # When "True", logging is printed to console
aggregation_strategies:
generators:
p_nom_max: sum # use "min" for more conservative assumptions
generators: # use "min" for more conservative assumptions
p_nom: sum
p_nom_max: sum
p_nom_min: sum
p_min_pu: mean
marginal_cost: mean
Expand Down Expand Up @@ -100,7 +101,7 @@ electricity:
co2limit: 7.75e+7 # European default, 0.05 * 3.1e9*0.5, needs to be adjusted for Africa
co2base: 1.487e+9 # European default, adjustment to Africa necessary
agg_p_nom_limits: data/agg_p_nom_minmax.csv
hvdc_as_lines: true # should HVDC lines be modeled as `Line` or as `Link` component?
hvdc_as_lines: false # should HVDC lines be modeled as `Line` or as `Link` component?

operational_reserve: # like https://genxproject.github.io/GenX/dev/core/#Reserves
activate: false
Expand Down
7 changes: 4 additions & 3 deletions config.tutorial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ cluster_options:
distribute_cluster: ['load'] # ['load'],['pop'] or ['gdp']
out_logging: true # When true, logging is printed to console
aggregation_strategies:
generators:
p_nom_max: sum # use "min" for more conservative assumptions
generators: # use "min" for more conservative assumptions
p_nom: sum
p_nom_max: sum
p_nom_min: sum
p_min_pu: mean
marginal_cost: mean
Expand Down Expand Up @@ -113,7 +114,7 @@ electricity:
co2limit: 7.75e+7 # 0.05 * 3.1e9*0.5
co2base: 1.487e+9
agg_p_nom_limits: data/agg_p_nom_minmax.csv
hvdc_as_lines: true # should HVDC lines be modeled as `Line` or as `Link` component?
hvdc_as_lines: false # should HVDC lines be modeled as `Line` or as `Link` component?

operational_reserve: # like https://genxproject.github.io/GenX/dev/core/#Reserves
activate: false
Expand Down
4 changes: 3 additions & 1 deletion doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ Upcoming Release

* Improve line augmentation for network expansion explorations. Use k-edge augmenation for AC lines and random sampling for long HVDC lines: `PR #427 <https://github.com/pypsa-meets-africa/pypsa-africa/pull/427>`_

* Fix minor bug in clustering about missing prefix assignment `PR #434 <https://github.com/pypsa-meets-africa/pypsa-africa/pull/434>`
* Fix minor bug in clustering about missing prefix assignment `PR #434 <https://github.com/pypsa-meets-africa/pypsa-africa/pull/434>`_

* Fix major aggregation bug and adjust config: `PR #435 <https://github.com/pypsa-meets-africa/pypsa-africa/pull/435>`_

PyPSA-Africa 0.0.2 (6th April 2022)
=====================================
Expand Down
7 changes: 4 additions & 3 deletions test/config.test1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ cluster_options:
distribute_cluster: ['load'] # ['load'],['pop'] or ['gdp']
out_logging: true # When true, logging is printed to console
aggregation_strategies:
generators:
p_nom_max: sum # use "min" for more conservative assumptions
generators: # use "min" for more conservative assumptions
p_nom: sum
p_nom_max: sum
p_nom_min: sum
p_min_pu: mean
marginal_cost: mean
Expand Down Expand Up @@ -117,7 +118,7 @@ electricity:
co2limit: 7.75e+7 # 0.05 * 3.1e9*0.5
co2base: 1.487e+9
agg_p_nom_limits: data/agg_p_nom_minmax.csv
hvdc_as_lines: true # should HVDC lines be modeled as `Line` or as `Link` component?
hvdc_as_lines: true # should HVDC lines be modeled as `Line` or as `Link` component?

operational_reserve: # like https://genxproject.github.io/GenX/dev/core/#Reserves
activate: false
Expand Down

0 comments on commit fc22fdb

Please sign in to comment.