openego / eGon-data

GNU Affero General Public License v3.0
10 stars 4 forks source link

Assign CTS demands to buildings #671

Closed nesnoj closed 2 years ago

nesnoj commented 2 years ago

Similar to #435 for households, CTS demands need to be allocated to buildings.

Idea

nesnoj commented 2 years ago

Sorry, the right table for the amenities is not openstreetmap.osm_amenities_shops_filtered but openstreetmap.osm_amenities_not_in_buildings, I adjusted my post above. Unfortunately, the preprocessing does not come to an end in reasonable time, I will restructure this part and restart the DAG in eGon-data2..

nailend commented 2 years ago
nailend commented 2 years ago

Disagregate cts:

  1. mv_grid level
  2. census_cell level
  3. buildings level

1 -> 2:

2 -> 3:

nailend commented 2 years ago

preliminary diagramm only! for final methodolgy look at the bottom

cts-2-buildings-method

nailend commented 2 years ago

First implementation is running in SH. Current issues are:

This figure shows an example of the bug. The blue framed cells are duplicated. They are selected for df_buildings_with_amenities as well as df_buildings_without_amenities

Solved by new openstreetmap SQL scripts

grafik

nailend commented 2 years ago
For SH cells buildings amenities
df_buildings_with_amenities 2716 6510 9826
df_buildings_without_amenities 8370 8370 8370
df_synthetic_buildings_with_amenities 517 654 654
df_synthetic_buildings_without_amenities 1045 1045 1045
total 12648 16579 19895
nailend commented 2 years ago

newplot(1)

nailend commented 2 years ago

cts-2-buildings - Frame 1(2)

This is the final implementation for heat and electricity. Depending on the sector different source for the annual demand are used and the correspondent profiles at MV-HV substation.

If no information is available the median number (2) of amenities per cell is used to generate synthetic amenities. Each amenity gets one building assigned or generated if no is available

nailend commented 2 years ago

For SH cells buildings amenities df_buildings_with_amenities 2716 6510 9826 df_buildings_without_amenities 8370 8370 8370 df_synthetic_buildings_with_amenities 517 654 654 df_synthetic_buildings_without_amenities 1045 1045 1045 total 12648 16579 19895

For DE: cells buildings amenities
df_buildings_with_amenities 97,752 219,463 309,279
df_buildings_without_amenities 353,059 657,482 657,482
df_synthetic_buildings_with_amenities 18,079 22,472 22,472
df_synthetic_buildings_without_amenities 40,856 81,712 81,712
total 509,746 981,129 1,070,945
nailend commented 2 years ago

Resulting Peak load compared to residential ones

count mean std min 25% 50% 75% max
cts eGon100RE 981,136 33,254.7 40,134.6 9.8 11,085.1 21,279.7 4,0392.2 2,842,573.8
eGon2035 981,136 45,371.3 58,926.0 11.5 14,549.0 28,211.3 5,4108.9 6,785,765.0
residential eGon100RE 21,360,296 3,173.4 3,378.0 759.0 2,135.2 2,475.5 3,029.6 627,676.6
eGon2035 21,360,296 3,526.6 3,740.8 907.7 2,388.7 2,735.9 3,335.7 678,399.6
nailend commented 2 years ago

Distribution of peak loads for scenario 2035.

Whole range min/max grafik

Selected range min/ 200 kWh grafik

Selected range min/ 100 kWh grafik

nailend commented 1 year ago

@birgits