Examples
May 2, 2025 ยท View on GitHub
This directory contains examples to support you how to use the DistrictGenerator. Each example is executable separately. Within the given examples we give a detailed description of the required input, its format and how the output looks like. The order of the examples represents the workflow of the DistrictGenerator.
How to initialize the datahandler
Within this example we explain how the user initializes the datahandler.
Generate environment for the district
Within this example we generate the environment of the district. This includes data respectively time series on solar radiation and outdoor temperature for a given location and test reference year.
Initialize buildings of the district
Within this example we initialize the buildings by the building type, the construction year, the retrofit level and the floor area.
Extension of the building models
Within this example we add more detailed information of the building components and their materials to the building models.
Generation and plotting of demand profiles
Within this example we generate the (demand) profiles and exemplary plot the monthly space heat demand of the district.
Customisation of specific assumptions for individual districts
Within this example we change specific assumptions like the location of the district, the minimal indoor temperature of the buildings, the weather test reference year and the time resolution.