bugfix to avoid duplicated offshore regions (closes #396)
This commit is contained in:
parent
ef395cadf9
commit
788e07a0d1
@ -10,6 +10,8 @@ Release Notes
|
||||
Upcoming Release
|
||||
================
|
||||
|
||||
* Bugfix to avoid duplicated offshore regions.
|
||||
|
||||
* Added option ``industry: HVC_environment_sequestration_fraction:`` to specify
|
||||
the fraction of carbon contained plastics that is permanently sequestered in
|
||||
landfill. The default assumption is that all carbon contained in plastics is
|
||||
|
@ -569,7 +569,7 @@ def _set_countries_and_substations(n, config, country_shapes, offshore_shapes):
|
||||
buses["substation_lv"] = (
|
||||
lv_b & onshore_b & (~buses["under_construction"]) & has_connections_b
|
||||
)
|
||||
buses["substation_off"] = (offshore_b | (hv_b & onshore_b)) & (
|
||||
buses["substation_off"] = ((hv_b & offshore_b) | (hv_b & onshore_b)) & (
|
||||
~buses["under_construction"]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user