Skip to content

Commit

Permalink
Merge branch 'features/#1014-load-areas' into continuous-integration/…
Browse files Browse the repository at this point in the history
…run-everything-2022-11-10
  • Loading branch information
nesnoj committed Nov 30, 2022
2 parents 834848c + ca6fd19 commit 3fc579c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/egon/data/datasets/loadarea/loadareas_add_demand_ind.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ UPDATE demand.egon_loadarea AS t1
demand.egon_osm_ind_load_curves_individual as ind_osm
WHERE
ind_osm.scn_name = 'eGon2021' AND
ind_osm.voltage_level in (4,5,6,7) AND
ind_osm.osm_id = landuse.id
GROUP BY landuse.id
) AS b
Expand Down Expand Up @@ -62,6 +63,7 @@ UPDATE demand.egon_loadarea AS t1
demand.egon_sites_ind_load_curves_individual as ind_loads
WHERE
ind_loads.scn_name = 'eGon2021' AND
ind_loads.voltage_level in (4,5,6,7) AND
ind_loads.site_id = ind_sites.id
) AS b
WHERE a.geom && b.geom AND
Expand Down Expand Up @@ -95,6 +97,7 @@ UPDATE demand.egon_loadarea AS t1
demand.egon_osm_ind_load_curves_individual as ind_osm
WHERE
ind_osm.scn_name = 'eGon2035' AND
ind_osm.voltage_level in (4,5,6,7) AND
ind_osm.osm_id = landuse.id
GROUP BY landuse.id
) AS b
Expand Down Expand Up @@ -125,6 +128,7 @@ UPDATE demand.egon_loadarea AS t1
demand.egon_sites_ind_load_curves_individual as ind_loads
WHERE
ind_loads.scn_name = 'eGon2035' AND
ind_loads.voltage_level in (4,5,6,7) AND
ind_loads.site_id = ind_sites.id
) AS b
WHERE a.geom && b.geom AND
Expand Down Expand Up @@ -158,6 +162,7 @@ UPDATE demand.egon_loadarea AS t1
demand.egon_osm_ind_load_curves_individual as ind_osm
WHERE
ind_osm.scn_name = 'eGon100RE' AND
ind_osm.voltage_level in (4,5,6,7) AND
ind_osm.osm_id = landuse.id
GROUP BY landuse.id
) AS b
Expand Down Expand Up @@ -188,6 +193,7 @@ UPDATE demand.egon_loadarea AS t1
demand.egon_sites_ind_load_curves_individual as ind_loads
WHERE
ind_loads.scn_name = 'eGon100RE' AND
ind_loads.voltage_level in (4,5,6,7) AND
ind_loads.site_id = ind_sites.id
) AS b
WHERE a.geom && b.geom AND
Expand Down

0 comments on commit 3fc579c

Please sign in to comment.