sanity_checks¶
This module does sanity checks for both the eGon2035 and the eGon100RE scenario separately where a percentage error is given to showcase difference in output and input values. Please note that there are missing input technologies in the supply tables. Authors: @ALonso, @dana, @nailend, @nesnoj, @khelfen
-
class
SanityChecks
(dependencies)[source]¶ Bases:
egon.data.datasets.Dataset
Sanity check for dataset electricity_demand_timeseries : CtsBuildings
Check sum of aggregated cts electricity demand share which equals to one for every substation as the substation profile is linearly disaggregated to all buildings.
Sanity check for dataset electricity_demand_timeseries : CtsBuildings
Check sum of aggregated cts heat demand share which equals to one for every substation as the substation profile is linearly disaggregated to all buildings.
-
etrago_eGon2035_electricity
()[source]¶ Execute basic sanity checks.
Returns print statements as sanity checks for the electricity sector in the eGon2035 scenario.
Parameters: None Returns: None
-
etrago_eGon2035_heat
()[source]¶ Execute basic sanity checks.
Returns print statements as sanity checks for the heat sector in the eGon2035 scenario.
Parameters: None Returns: None
-
residential_electricity_annual_sum
(rtol=1e-05)[source]¶ Sanity check for dataset electricity_demand_timeseries : Demand_Building_Assignment
Aggregate the annual demand of all census cells at NUTS3 to compare with initial scaling parameters from DemandRegio.
-
residential_electricity_hh_refinement
(rtol=1e-05)[source]¶ Sanity check for dataset electricity_demand_timeseries : Household Demands
Check sum of aggregated household types after refinement method was applied and compare it to the original census values.
-
sanitycheck_emobility_mit
()[source]¶ Execute sanity checks for eMobility: motorized individual travel
Checks data integrity for eGon2035, eGon2035_lowflex and eGon100RE scenario using assertions:
- Allocated EV numbers and EVs allocated to grid districts
- Trip data (original inout data from simBEV)
- Model data in eTraGo PF tables (grid.egon_etrago_*)
Parameters: None Returns: None