utspclient package
Subpackages
- Helpers for common Providers
- Helpers for the LoadProfileGenerator
- Data from LoadProfileGenerator
ChargingStationSetsChargingStationSets.Charging_At_Home_with_00_5_kWChargingStationSets.Charging_At_Home_with_03_7_kWChargingStationSets.Charging_At_Home_with_03_7_kW_output_results_to_Car_ElectricityChargingStationSets.Charging_At_Home_with_11_kWChargingStationSets.Charging_At_Home_with_22_kWChargingStationSets.Charging_At_Work_with_00_5_kWChargingStationSets.Charging_At_Work_with_03_7_kWChargingStationSets.Charging_At_Work_with_11_kWChargingStationSets.Charging_At_Work_with_22_kWChargingStationSets.Filling_Station_At_Home
GeographicLocationsGeographicLocations.Finland_HelsinkiGeographicLocations.France_CarpentrasGeographicLocations.France_LimogesGeographicLocations.France_PalaiseauGeographicLocations.Germany_BerlinGeographicLocations.Germany_ChemLowLightGeographicLocations.Germany_ChemNoBridgeGeographicLocations.Germany_ChemnitzGeographicLocations.Germany_FreiburgGeographicLocations.Germany_HamburgGeographicLocations.Germany_KasselGeographicLocations.Germany_MuenchenGeographicLocations.Germany_PotsdamGeographicLocations.Germany_StuttgartGeographicLocations.Greece_FinokaliaGeographicLocations.Greece_PatrasGeographicLocations.Greece_ThessalonikiGeographicLocations.Italy_MailandGeographicLocations.Italy_PalermoGeographicLocations.Italy_Rom
HouseTypesHouseTypes.HT01_House_with_a_10kWh_Battery_and_a_fuel_cell_battery_charger_5_MWh_yearly_space_heating_gas_heatingHouseTypes.HT02_House_with_a_5_kWh_Battery_and_a_50_m2_Photovolatic_Array_5MWh_space_heating_gas_heatingHouseTypes.HT03_House_with_a_solar_thermal_System_and_300_L_storage_tank_gas_heatingHouseTypes.HT04_Photovoltaic_System_5_kW_no_space_heating_gas_warm_water_heaterHouseTypes.HT05_House_with_a_5_kWh_Battery_and_a_50_m2_Photovolatic_Array_5MWh_space_heating_electric_heatingHouseTypes.HT06_Normal_house_with_15_000_kWh_Heating_Continuous_Flow_Gas_HeatingHouseTypes.HT07_Normal_house_with_15_000_kWh_Heating_and_5_000_kWh_Cooling_Electric_Air_Conditioning_Continuous_Flow_Gas_HeatingHouseTypes.HT08_Normal_house_with_15_000_kWh_Heating_and_5_000_kWh_Cooling_Continuous_Flow_Electric_Heat_PumpHouseTypes.HT09_Normal_house_with_20_000_kWh_Heating_Continuous_Gas_HeatingHouseTypes.HT10_Normal_house_with_20_000_kWh_Heating_5_000_kWh_Cooling_Electric_Air_Conditioning_Continuous_Flow_Gas_HeatingHouseTypes.HT11_Normal_house_with_20_000_kWh_Heating_no_cooling_Continuous_Flow_Heat_pumpHouseTypes.HT12_Normal_house_with_30_000_kWh_Continuous_Flow_Gas_HeatingHouseTypes.HT13_Normal_house_with_30_000_kWh_Continous_Flow_Gas_Heating_and_10_000_kWh_Electric_CoolingHouseTypes.HT14_Normal_house_with_5_000_kWh_Air_Conditioning_no_Heating_Electric_Warm_WaterHouseTypes.HT15_Normal_house_with_5_000_kWh_Space_heating_Continuous_Flow_Gas_HeaterHouseTypes.HT16_Normal_house_with_20_000_kWh_Heating_Continuous_Flow_Heat_PumpHouseTypes.HT18_Normal_House_with_15_000_kWh_Gas_Heating_and_a_hot_water_storage_tankHouseTypes.HT19_Normal_House_with_15_000_kWh_Heat_Demand_Heat_Pump_with_COP3_and_Hot_Water_Storage_TankHouseTypes.HT20_Single_Family_House_no_heating_coolingHouseTypes.HT21_Normal_House_with_15_000_kWh_Heat_Demand_Heat_Pump_with_COP3_and_Hot_Water_Storage_Tank_Heat_Pump_ElectricityHouseTypes.HT22_Big_Multifamily_House_no_heating_coolingHouseTypes.HT23_No_Infrastructure_at_all
HouseholdTagsHouseholdTags.Children_NoneHouseholdTags.Children_One_ChildHouseholdTags.Children_Three_ChildrenHouseholdTags.Children_Two_ChildrenHouseholdTags.Earners_NoneHouseholdTags.Earners_OneHouseholdTags.Earners_TwoHouseholdTags.Employment_Employed_Office_HoursHouseholdTags.Employment_Part_TimeHouseholdTags.Employment_RetiredHouseholdTags.Employment_StudentHouseholdTags.Employment_Three_ShiftsHouseholdTags.Employment_Two_ShiftsHouseholdTags.Employment_UnemployedHouseholdTags.Size_CoupleHouseholdTags.Size_FamilyHouseholdTags.Size_FlatsharingHouseholdTags.Size_SingleHouseholdTags.Size_Single_Parent
HouseholdTemplatesHouseholdTemplates.CHR01_Couple_both_at_WorkHouseholdTemplates.CHR02_Couple_30_64_age_with_workHouseholdTemplates.CHR03_Family_1_child_both_at_workHouseholdTemplates.CHR04_Couple_30_64_years_1_at_work_1_at_homeHouseholdTemplates.CHR05_Family_3_children_both_with_workHouseholdTemplates.CHR06_Jak_JoblessHouseholdTemplates.CHR07_Single_with_workHouseholdTemplates.CHR08_Single_woman_2_children_with_workHouseholdTemplates.CHR09_Single_woman_30_64_years_with_workHouseholdTemplates.CHR10_Single_man_30_64_age_shift_workerHouseholdTemplates.CHR11_Student_Female_PhilosophyHouseholdTemplates.CHR12_Student_2_Male_PhilosophyHouseholdTemplates.CHR13_Student_with_WorkHouseholdTemplates.CHR14_3_adults_Couple_30_64_years_both_at_work_Senior_at_homeHouseholdTemplates.CHR15_Multigenerational_Home_working_couple_2_children_2_seniorsHouseholdTemplates.CHR16_Couple_over_65_yearsHouseholdTemplates.CHR17_Shiftworker_CoupleHouseholdTemplates.CHR18_Family_2_children_parents_without_workHouseholdTemplates.CHR19_Couple_30_64_years_both_at_work_with_homehelpHouseholdTemplates.CHR20_one_at_work_one_work_home_3_childrenHouseholdTemplates.CHR21_Couple_30_64_years_shift_workerHouseholdTemplates.CHR22_Single_woman_1_child_with_workHouseholdTemplates.CHR23_Single_man_over_65_yearsHouseholdTemplates.CHR24_Single_woman_over_65_yearsHouseholdTemplates.CHR25_Single_woman_under_30_years_with_workHouseholdTemplates.CHR26_Single_woman_under_30_years_without_workHouseholdTemplates.CHR27_Family_both_at_work_2_childrenHouseholdTemplates.CHR28_Single_man_under_30_years_without_workHouseholdTemplates.CHR29_Single_man_under_30_years_with_workHouseholdTemplates.CHR30_Single_Retired_ManHouseholdTemplates.CHR31_Single_Retired_WomanHouseholdTemplates.CHR32_Couple_under_30_years_without_workHouseholdTemplates.CHR33_Couple_under_30_years_with_workHouseholdTemplates.CHR34_Couple_under_30_years_one_at_work_one_at_homeHouseholdTemplates.CHR35_Single_woman_30_64_years_with_workHouseholdTemplates.CHR36_Single_woman_30_64_years_without_workHouseholdTemplates.CHR37_Single_man_30_64_years_with_workHouseholdTemplates.CHR38_Single_man_30_64_years_without_workHouseholdTemplates.CHR39_Couple_30_64_years_with_workHouseholdTemplates.CHR40_Couple_30_64_years_without_workHouseholdTemplates.CHR41_Family_with_3_children_both_at_workHouseholdTemplates.CHR42_Single_man_with_2_children_with_workHouseholdTemplates.CHR43_Single_man_with_1_child_with_workHouseholdTemplates.CHR44_Family_with_2_children_1_at_work_1_at_homeHouseholdTemplates.CHR45_Family_with_1_child_1_at_work_1_at_homeHouseholdTemplates.CHR46_Single_woman_1_child_without_workHouseholdTemplates.CHR47_Single_woman_2_children_without_workHouseholdTemplates.CHR48_Family_with_2_children_without_workHouseholdTemplates.CHR49_Family_with_1_child_without_workHouseholdTemplates.CHR50_Single_woman_with_3_children_without_workHouseholdTemplates.CHR51_Couple_over_65_years_IIHouseholdTemplates.CHR52_Student_FlatsharingHouseholdTemplates.CHR53_2_Parents_1_Working_2_ChildrenHouseholdTemplates.CHR54_Retired_Couple_no_workHouseholdTemplates.CHR55_Couple_with_work_around_40HouseholdTemplates.CHR56_Couple_with_2_children_husband_at_workHouseholdTemplates.CHR57_Family_with_2_Children_Man_at_workHouseholdTemplates.CHR58_Retired_Couple_no_work_no_cookingHouseholdTemplates.CHR59_Family_3_children_parents_without_workHouseholdTemplates.CHR60_Family_1_toddler_one_at_work_one_at_homeHouseholdTemplates.CHR61_Family_1_child_both_at_work_early_living_patternHouseholdTemplates.CHR62_Couple_both_Working_from_HomeHouseholdTemplates.CHS01_Couple_with_2_Children_Dad_EmployedHouseholdTemplates.CHS04_Retired_Couple_no_workHouseholdTemplates.CHS12_Shiftworker_CoupleHouseholdTemplates.OR01_Single_Person_Office
HouseholdsHouseholds.CHR01_Couple_both_at_WorkHouseholds.CHR02_Couple_30_64_age_with_workHouseholds.CHR03_Family_1_child_both_at_workHouseholds.CHR04_Couple_30_64_years_1_at_work_1_at_homeHouseholds.CHR05_Family_3_children_both_with_workHouseholds.CHR06_Jak_JoblessHouseholds.CHR07_Single_with_workHouseholds.CHR08_Single_woman_2_children_with_workHouseholds.CHR09_Single_woman_30_64_years_with_workHouseholds.CHR10_Single_man_30_64_age_shift_workerHouseholds.CHR11_Student_Female_PhilosophyHouseholds.CHR12_Student_2_Male_PhilosophyHouseholds.CHR13_Student_with_WorkHouseholds.CHR14_3_adults_Couple_30_64_years_both_at_work_Senior_at_homeHouseholds.CHR15_Multigenerational_Home_working_couple_2_children_2_seniorsHouseholds.CHR16_Couple_over_65_yearsHouseholds.CHR17_Shiftworker_CoupleHouseholds.CHR18_Family_2_children_parents_without_workHouseholds.CHR19_Couple_30_64_years_both_at_work_with_homehelpHouseholds.CHR20_one_at_work_one_work_home_3_childrenHouseholds.CHR21_Couple_30_64_years_shift_workerHouseholds.CHR22_Single_woman_1_child_with_workHouseholds.CHR23_Single_man_over_65_yearsHouseholds.CHR24_Single_woman_over_65_yearsHouseholds.CHR25_Single_woman_under_30_years_with_workHouseholds.CHR26_Single_woman_under_30_years_without_workHouseholds.CHR27_Family_both_at_work_2_childrenHouseholds.CHR28_Single_man_under_30_years_without_workHouseholds.CHR29_Single_man_under_30_years_with_workHouseholds.CHR30_Single_Retired_ManHouseholds.CHR31_Single_Retired_WomanHouseholds.CHR32_Couple_under_30_years_without_workHouseholds.CHR33_Couple_under_30_years_with_workHouseholds.CHR34_Couple_under_30_years_one_at_work_one_at_homeHouseholds.CHR35_Single_woman_30_64_years_with_workHouseholds.CHR36_Single_woman_30_64_years_without_workHouseholds.CHR37_Single_man_30_64_years_with_workHouseholds.CHR38_Single_man_30_64_years_without_workHouseholds.CHR39_Couple_30_64_years_with_workHouseholds.CHR40_Couple_30_64_years_without_workHouseholds.CHR41_Family_with_3_children_both_at_workHouseholds.CHR42_Single_man_with_2_children_with_workHouseholds.CHR43_Single_man_with_1_child_with_workHouseholds.CHR44_Family_with_2_children_1_at_work_1_at_homeHouseholds.CHR45_Family_with_1_child_1_at_work_1_at_homeHouseholds.CHR46_Single_woman_1_child_without_workHouseholds.CHR47_Single_woman_2_children_without_workHouseholds.CHR48_Family_with_2_children_without_workHouseholds.CHR49_Family_with_1_child_without_workHouseholds.CHR50_Single_woman_with_3_children_without_workHouseholds.CHR51_Couple_over_65_years_IIHouseholds.CHR52_Student_FlatsharingHouseholds.CHR53_2_Parents_1_Working_2_ChildrenHouseholds.CHR54_Retired_Couple_no_workHouseholds.CHR55_Couple_with_work_around_40Households.CHR56_Couple_with_2_children_husband_at_workHouseholds.CHR57_Family_with_2_Children_Man_at_workHouseholds.CHR58_Retired_Couple_no_work_no_cookingHouseholds.CHR59_Family_3_children_parents_without_workHouseholds.CHR60_Family_1_toddler_one_at_work_one_at_homeHouseholds.CHR61_Family_1_child_both_at_work_early_living_patternHouseholds.CHR62_Couple_30_64_years_vacation_home_1_month_presence_onlyHouseholds.CHS01_Couple_with_2_Children_Dad_EmployedHouseholds.CHS04_Retired_Couple_no_workHouseholds.CHS12_Shiftworker_CoupleHouseholds.OR01_Single_Person_Office
HousesHouses.CHH01_02_and_03_in_HT02Houses.CHR03_in_HT02Houses.CHR03_in_HT04Houses.CHR07_in_HT04_with_Car_05_km_to_work_3_7_kW_Charging_at_homeHouses.CHR07_in_HT04_with_Car_05_km_to_work_3_7_kW_Charging_at_workHouses.CHR07_in_HT04_with_Car_30_km_to_work_22kW_Charging_at_homeHouses.CHR07_in_HT04_with_Car_30_km_to_work_22kW_Charging_at_workHouses.CHR07_in_HT04_with_Car_30_km_to_work_3_7kW_Charging_at_homeHouses.CHR07_in_HT04_with_Car_30_km_to_work_3_7kW_Charging_at_workHouses.CHS01_Familiy_2_Children_in_HT06_normal_detached_houseHouses.H01_in_HT02Houses.H01_in_HT03Houses.H01_in_HT04Houses.H01_in_HT05Houses.H01_in_HT06Houses.H01_in_HT07Houses.H01_in_HT08Houses.H01_in_HT09Houses.H01_in_HT10Houses.H01_in_HT11Houses.H01_in_HT12Houses.H01_in_HT13Houses.H01_in_HT14Houses.H01_in_HT15Houses.H01_in_HT16Houses.H01_in_HT18Houses.H01_in_HT19Houses.SHO01I_CHS01_in_HT06Houses.SHO01_CHS01_in_HT06Houses.SHO04I_CHS04_in_HT06Houses.SHO04_CHS04_in_HT06Houses.SHO12I_CHS12_in_HT06Houses.SHO12_CHS12_in_HT06
LivingPatternTagsLivingPatternTags.Living_Pattern_AllLivingPatternTags.Living_Pattern_KindergardenLivingPatternTags.Living_Pattern_Maid_Day_MaidLivingPatternTags.Living_Pattern_Office_JobLivingPatternTags.Living_Pattern_Office_Job_Early_5_7amLivingPatternTags.Living_Pattern_Office_Job_Late_9_11amLivingPatternTags.Living_Pattern_Office_Job_Medium_7_9amLivingPatternTags.Living_Pattern_Office_WorkerLivingPatternTags.Living_Pattern_Part_Time_JobLivingPatternTags.Living_Pattern_RetireeLivingPatternTags.Living_Pattern_SchoolLivingPatternTags.Living_Pattern_School_Medium_7_9amLivingPatternTags.Living_Pattern_Shift_workLivingPatternTags.Living_Pattern_Shift_work_3_Shifts_ALivingPatternTags.Living_Pattern_Shift_work_3_Shifts_BLivingPatternTags.Living_Pattern_Stay_at_HomeLivingPatternTags.Living_Pattern_Stay_at_Home_DriftingLivingPatternTags.Living_Pattern_Stay_at_Home_RegularLivingPatternTags.Living_Pattern_Two_Shift_WorkLivingPatternTags.Living_Pattern_UniversityLivingPatternTags.Living_Pattern_University_Student_IndependentLivingPatternTags.Living_Pattern_University_Student_Living_at_HomeLivingPatternTags.Living_Pattern_Work_From_HomeLivingPatternTags.Living_Pattern_Work_From_Home_Full_Time_5_daysLivingPatternTags.Living_Pattern_Work_From_Home_Part_Time
LoadTypesLoadTypes.Air_Conditioning_LoadLoadTypes.ApparentLoadTypes.CoalLoadTypes.Cold_WaterLoadTypes.Direct_Solar_RadiationLoadTypes.ElectricityLoadTypes.Electricity_for_Car_ChargingLoadTypes.Electricity_for_HeatingLoadTypes.Elevator_DistanceLoadTypes.GasLoadTypes.GasolineLoadTypes.Heat_Buffer_Energy_BalanceLoadTypes.Hot_waterLoadTypes.HydrogenLoadTypes.Inner_Device_Heat_GainsLoadTypes.ReactiveLoadTypes.Space_HeatingLoadTypes.TemperatureLoadTypes.Total_Solar_Radiation_Direct_IndirectLoadTypes.Warm_WaterLoadTypes.Workplace_Electricity
SitesTemperatureProfilesTemperatureProfiles.Berlin_Germany_1996_from_Deutscher_Wetterdienst_DWD_www_dwd_deTemperatureProfiles.Dresden_Germany_2000_from_Deutscher_Wetterdienst_DWD_www_dwd_deTemperatureProfiles.Hamburg_Germany_1940_from_Deutscher_Wetterdienst_DWD_www_dwd_deTemperatureProfiles.Hamburg_Germany_2007_from_Deutscher_Wetterdienst_DWD_www_dwd_de
TemplatePersonsTemplatePersons.CHR01_0_23FTemplatePersons.CHR01_1_25MTemplatePersons.CHR02_0_37FTemplatePersons.CHR02_1_38MTemplatePersons.CHR03_0_40FTemplatePersons.CHR03_1_43MTemplatePersons.CHR03_2_10MTemplatePersons.CHR04_0_45FTemplatePersons.CHR04_1_50MTemplatePersons.CHR05_0_35FTemplatePersons.CHR05_1_13MTemplatePersons.CHR05_2_40MTemplatePersons.CHR05_3_6MTemplatePersons.CHR05_4_4FTemplatePersons.CHR06_0_30MTemplatePersons.CHR07_0_23MTemplatePersons.CHR08_0_11MTemplatePersons.CHR08_1_7MTemplatePersons.CHR08_2_30FTemplatePersons.CHR09_0_34FTemplatePersons.CHR10_0_40MTemplatePersons.CHR11_0_23FTemplatePersons.CHR12_0_22MTemplatePersons.CHR13_0_22FTemplatePersons.CHR14_0_45FTemplatePersons.CHR14_1_46MTemplatePersons.CHR14_2_80FTemplatePersons.CHR15_0_15FTemplatePersons.CHR15_1_4MTemplatePersons.CHR15_2_70MTemplatePersons.CHR15_3_68FTemplatePersons.CHR15_4_40MTemplatePersons.CHR15_5_32FTemplatePersons.CHR16_0_75FTemplatePersons.CHR16_1_80MTemplatePersons.CHR17_0_31MTemplatePersons.CHR17_1_29FTemplatePersons.CHR18_0_37MTemplatePersons.CHR18_1_35FTemplatePersons.CHR18_2_8MTemplatePersons.CHR18_3_12FTemplatePersons.CHR19_0_50FTemplatePersons.CHR19_1_38FTemplatePersons.CHR19_2_42MTemplatePersons.CHR20_0_45MTemplatePersons.CHR20_1_40FTemplatePersons.CHR20_2_8MTemplatePersons.CHR20_3_12MTemplatePersons.CHR20_4_4MTemplatePersons.CHR21_0_36FTemplatePersons.CHR21_1_40MTemplatePersons.CHR22_0_7FTemplatePersons.CHR22_1_28FTemplatePersons.CHR23_0_68MTemplatePersons.CHR24_0_68FTemplatePersons.CHR25_0_28FTemplatePersons.CHR26_0_27FTemplatePersons.CHR27_0_43MTemplatePersons.CHR27_1_9FTemplatePersons.CHR27_2_39FTemplatePersons.CHR27_3_13MTemplatePersons.CHR28_0_24MTemplatePersons.CHR29_0_26MTemplatePersons.CHR30_0_70MTemplatePersons.CHR31_0_68FTemplatePersons.CHR32_0_23FTemplatePersons.CHR32_1_25MTemplatePersons.CHR33_0_28MTemplatePersons.CHR33_1_27FTemplatePersons.CHR34_0_25FTemplatePersons.CHR34_1_26MTemplatePersons.CHR35_0_42FTemplatePersons.CHR36_0_51FTemplatePersons.CHR37_0_48MTemplatePersons.CHR38_0_55MTemplatePersons.CHR39_0_44MTemplatePersons.CHR39_1_38FTemplatePersons.CHR40_0_48FTemplatePersons.CHR40_1_51MTemplatePersons.CHR41_0_9MTemplatePersons.CHR41_1_7MTemplatePersons.CHR41_2_12FTemplatePersons.CHR41_3_38FTemplatePersons.CHR41_4_42MTemplatePersons.CHR42_0_7FTemplatePersons.CHR42_1_42MTemplatePersons.CHR42_2_10MTemplatePersons.CHR43_0_43MTemplatePersons.CHR43_1_16MTemplatePersons.CHR44_0_43FTemplatePersons.CHR44_1_16MTemplatePersons.CHR44_2_45MTemplatePersons.CHR44_3_14FTemplatePersons.CHR45_0_48MTemplatePersons.CHR45_1_16FTemplatePersons.CHR45_2_45FTemplatePersons.CHR46_0_8MTemplatePersons.CHR46_1_38FTemplatePersons.CHR47_0_39FTemplatePersons.CHR47_1_7FTemplatePersons.CHR47_2_10MTemplatePersons.CHR48_0_51FTemplatePersons.CHR48_1_13FTemplatePersons.CHR48_2_7MTemplatePersons.CHR48_3_51MTemplatePersons.CHR49_0_37FTemplatePersons.CHR49_1_13FTemplatePersons.CHR49_2_45MTemplatePersons.CHR50_0_5MTemplatePersons.CHR50_1_13FTemplatePersons.CHR50_2_9MTemplatePersons.CHR50_3_38FTemplatePersons.CHR51_0_69MTemplatePersons.CHR51_1_67FTemplatePersons.CHR52_0_22MTemplatePersons.CHR52_1_22FTemplatePersons.CHR52_2_23FTemplatePersons.CHR53_0_45MTemplatePersons.CHR53_1_11FTemplatePersons.CHR53_2_15MTemplatePersons.CHR53_3_40FTemplatePersons.CHR54_0_68FTemplatePersons.CHR54_1_71MTemplatePersons.CHR55_0_40FTemplatePersons.CHR55_1_45MTemplatePersons.CHR56_0_50MTemplatePersons.CHR56_1_16MTemplatePersons.CHR56_2_45FTemplatePersons.CHR56_3_14FTemplatePersons.CHR57_0_43FTemplatePersons.CHR57_1_20MTemplatePersons.CHR57_2_45MTemplatePersons.CHR57_3_14FTemplatePersons.CHR58_0_68FTemplatePersons.CHR58_1_71MTemplatePersons.CHR59_0_37MTemplatePersons.CHR59_1_35FTemplatePersons.CHR59_2_8MTemplatePersons.CHR59_3_12FTemplatePersons.CHR59_4_12FTemplatePersons.CHR60_0_32MTemplatePersons.CHR60_1_30FTemplatePersons.CHR60_2_2FTemplatePersons.CHR61_0_40FTemplatePersons.CHR61_1_43MTemplatePersons.CHR61_2_10MTemplatePersons.CHR62_0_23FTemplatePersons.CHR62_1_25MTemplatePersons.CHS01_0_45MTemplatePersons.CHS01_1_40FTemplatePersons.CHS01_2_15MTemplatePersons.CHS01_3_11FTemplatePersons.CHS04_0_71MTemplatePersons.CHS04_1_68FTemplatePersons.CHS12_0_31MTemplatePersons.CHS12_1_29FTemplatePersons.OR01_0_26F
TraitTagsTraitTags.Child_Children_EntertainmentTraitTags.Child_Garden_PlayTraitTags.Child_Getting_ReadyTraitTags.Child_KindergardenTraitTags.Child_SchoolTraitTags.Child_School_related_ActivitiesTraitTags.Cleaning_All_Kinds_CleaningTraitTags.Cleaning_Bathroom_CleaningTraitTags.Cleaning_DishwasherTraitTags.Cleaning_Dishwashing_by_handTraitTags.Cleaning_Dry_LaundryTraitTags.Cleaning_Floor_CleaningTraitTags.Cleaning_House_DustingTraitTags.Cleaning_IroningTraitTags.Cleaning_LaundryTraitTags.Cleaning_VacuumingTraitTags.Cleaning_Window_CleaningTraitTags.Entertainment_Home_ServerTraitTags.Food_BakingTraitTags.Food_Bread_BakingTraitTags.Food_BreakfastTraitTags.Food_BrunchingTraitTags.Food_CookingTraitTags.Food_Cooking_Every_DayTraitTags.Food_Cooking_TogetherTraitTags.Food_DishesTraitTags.Food_GrillingTraitTags.Food_LunchTraitTags.Food_Smoothie_MakingTraitTags.Food_TeaTraitTags.Food_UnhungryTraitTags.Hygiene_BathingTraitTags.Hygiene_BeautificationTraitTags.Hygiene_Foot_BathingTraitTags.Hygiene_Getting_Ready_MenTraitTags.Hygiene_Getting_Ready_for_WomenTraitTags.Hygiene_Hygiene_WomenTraitTags.Hygiene_ShoweringTraitTags.Hygiene_Showering_Men_1TraitTags.Hygiene_ToiletTraitTags.Hygiene_VariousTraitTags.Office_LeaveTraitTags.Office_MeetingTraitTags.Office_PhoneTraitTags.Office_SicknessTraitTags.Office_StartTraitTags.Office_Use_ComputerTraitTags.Sleep_Sleep_Bed_01TraitTags.Sleep_Sleep_Bed_02TraitTags.Sleep_Sleep_Bed_03TraitTags.Sleep_Sleep_Bed_04TraitTags.Sleep_Sleep_Bed_05TraitTags.Sleep_Sleep_Bed_08TraitTags.Sleep_Sleep_Bed_09TraitTags.Sleep_Sleep_Shiftworker_1TraitTags.Sleep_Sleep_Shiftworker_2TraitTags.Spare_Time_Car_ActivitiesTraitTags.Spare_Time_ExerciseTraitTags.Spare_Time_Garden_ActivitiesTraitTags.Spare_Time_HobbyTraitTags.Spare_Time_Indoor_EntertainmentTraitTags.Spare_Time_Outside_Afternoon_EntertainmentTraitTags.Spare_Time_Outside_Evening_EntertainmentTraitTags.Spare_Time_Weekend_ActivityTraitTags.Special_AlarmTraitTags.Special_Child_CareTraitTags.Special_Christmas_CookingTraitTags.Special_Doctor_VisitTraitTags.Special_Enviromental_ImprovementTraitTags.Special_Food_ShoppingTraitTags.Special_Maid_ServiceTraitTags.Special_NappingTraitTags.Special_Shovel_SnowTraitTags.Special_Sickness_ActivitiesTraitTags.Special_Sickness_Activities_ChildrenTraitTags.Special_Summer_CampTraitTags.Special_Various_small_ActivitiesTraitTags.Technical_Equipment_Cell_PhoneTraitTags.Technical_Equipment_Deep_FreezerTraitTags.Technical_Equipment_FridgeTraitTags.Technical_Equipment_Mini_FridgeTraitTags.Technical_Equipment_Mini_Washing_MachineTraitTags.Web_Mandatory_FoodTraitTags.Web_Mandatory_SleepTraitTags.Web_Mandatory_WorkTraitTags.Web_Optional_Alarm_ClockTraitTags.Web_Optional_EntertainmentTraitTags.Web_Optional_HumidificationTraitTags.Web_Optional_LaundryTraitTags.Web_Optional_SpecialTraitTags.Web_Optional_ToiletTraitTags.Web_Recommended_Additional_FoodTraitTags.Web_Recommended_EntertainmentTraitTags.Web_Recommended_ExerciseTraitTags.Web_Recommended_GardeningTraitTags.Web_Recommended_HobbyTraitTags.Web_Recommended_HouseworkTraitTags.Web_Recommended_Hygiene_ChildrenTraitTags.Web_Recommended_Hygiene_MenTraitTags.Web_Recommended_Hygiene_for_WomenTraitTags.Web_Recommended_Hygine_GeneralTraitTags.Web_Recommended_Outside_Afternoon_EntertainmentTraitTags.Web_Recommended_Outside_Evening_EntertainmentTraitTags.Web_Recommended_SpecialTraitTags.Web_Recommended_Toddler_CareTraitTags.Web_Recommended_Weekend_ActivityTraitTags.Work_Home_OfficeTraitTags.Work_UniversityTraitTags.Work_University_relatedTraitTags.Work_Work_1TraitTags.Work_Work_2TraitTags.Work_Work_in_Shifts_1TraitTags.Work_Work_in_Shifts_2
TransportationDeviceCategoriesTransportationDeviceSetsTransportationDevicesTransportationDevices.BusTransportationDevices.Car_1_22kW_Charging_Power_avg_Speed_30_km_hTransportationDevices.Car_2_22kW_Charging_Power_avg_Speed_30_km_hTransportationDevices.Car_3_22kW_Charging_Power_avg_Speed_60_km_hTransportationDevices.Car_4_22kW_Charging_Power_avg_Speed_60_km_hTransportationDevices.Car_5_gasoline_Fuel_Consumption_5_8_l_avg_Speed_30_km_hTransportationDevices.Car_6_gasoline_Fuel_Consumption_6_2_l_avg_Speed_60_km_hTransportationDevices.Car_7_gasoline_Fuel_Consumption_9_l_avg_Speed_30_km_hTransportationDevices.ElevatorTransportationDevices.Feet
TravelRouteSetsTravelRouteSets.Travel_Route_Set_for_05km_Commuting_DistanceTravelRouteSets.Travel_Route_Set_for_10km_Commuting_DistanceTravelRouteSets.Travel_Route_Set_for_15km_Commuting_DistanceTravelRouteSets.Travel_Route_Set_for_20km_Commuting_DistanceTravelRouteSets.Travel_Route_Set_for_25km_Commuting_DistanceTravelRouteSets.Travel_Route_Set_for_30km_Commuting_Distance
- Python Bindings of LoadProfileGenerator
CalcOptionCalcOption.ActionCarpetPlotCalcOption.ActionEntriesCalcOption.ActionsEachTimestepCalcOption.ActivationFrequenciesCalcOption.ActivationsPerHourCalcOption.AffordanceDefinitionsCalcOption.AffordanceEnergyUseCalcOption.AffordanceTaggingSetsCalcOption.BasicOverviewCalcOption.BodilyActivityStatisticsCalcOption.CalculationFlameChartCalcOption.CriticalViolationsCalcOption.DaylightTimesListCalcOption.DeleteDatFilesCalcOption.DesiresLogfileCalcOption.DetailedDatFilesCalcOption.DeviceActivationsCalcOption.DeviceProfileExternalEntireHouseCalcOption.DeviceProfileExternalIndividualHouseholdsCalcOption.DeviceProfilesHouseCalcOption.DeviceProfilesIndividualHouseholdsCalcOption.DeviceTaggingSetsCalcOption.DurationCurveCalcOption.EnergyStorageFileCalcOption.FlexibilityEventsCalcOption.HouseSumProfilesFromDetailedDatsCalcOption.HouseholdContentsCalcOption.HouseholdPlanCalcOption.HouseholdSumProfilesCsvNoFlexCalcOption.HouseholdSumProfilesFromDetailedDatsCalcOption.JsonDeviceProfilesIndividualHouseholdsCalcOption.JsonHouseSumFilesCalcOption.JsonHouseholdSumFilesCalcOption.JsonHouseholdSumFilesNoFlexCalcOption.LocationCarpetPlotCalcOption.LocationsEntriesCalcOption.LocationsFileCalcOption.LogAllMessagesCalcOption.LogErrorMessagesCalcOption.MakeGraphicsCalcOption.MakePDFCalcOption.OverallDatsCalcOption.OverallSumCalcOption.PersonStatusCalcOption.PolysunImportFilesCalcOption.SumProfileExternalEntireHouseCalcOption.SumProfileExternalIndividualHouseholdsCalcOption.SumProfileExternalIndividualHouseholdsAsJsonCalcOption.TansportationDeviceJsonsCalcOption.TemperatureFileCalcOption.ThoughtsLogfileCalcOption.TimeOfUsePlotCalcOption.TimeProfileFileCalcOption.TotalsPerDeviceCalcOption.TotalsPerLoadtypeCalcOption.TransportationDeviceCarpetPlotCalcOption.TransportationStatisticsCalcOption.VariableLogFileCalcOption.WeekdayProfiles
EnergyIntensityTypeGenderHouseCreationAndCalculationJobHouseCreationAndCalculationJob.CalcSpecHouseCreationAndCalculationJob.DistrictNameHouseCreationAndCalculationJob.HouseHouseCreationAndCalculationJob.HouseDefinitionTypeHouseCreationAndCalculationJob.HouseRefHouseCreationAndCalculationJob.PathToDatabaseHouseCreationAndCalculationJob.ScenarioHouseCreationAndCalculationJob.YearHouseCreationAndCalculationJob.from_dict()HouseCreationAndCalculationJob.from_json()HouseCreationAndCalculationJob.schema()HouseCreationAndCalculationJob.set_CalcSpec()HouseCreationAndCalculationJob.set_DistrictName()HouseCreationAndCalculationJob.set_House()HouseCreationAndCalculationJob.set_HouseDefinitionType()HouseCreationAndCalculationJob.set_HouseRef()HouseCreationAndCalculationJob.set_PathToDatabase()HouseCreationAndCalculationJob.set_Scenario()HouseCreationAndCalculationJob.set_Year()HouseCreationAndCalculationJob.to_dict()HouseCreationAndCalculationJob.to_json()
HouseDataHouseData.HouseGuidHouseData.HouseTypeCodeHouseData.HouseholdsHouseData.NameHouseData.TargetCoolingDemandHouseData.TargetHeatDemandHouseData.from_dict()HouseData.from_json()HouseData.schema()HouseData.set_HouseGuid()HouseData.set_HouseTypeCode()HouseData.set_Households()HouseData.set_Name()HouseData.set_TargetCoolingDemand()HouseData.set_TargetHeatDemand()HouseData.to_dict()HouseData.to_json()
HouseDefinitionTypeHouseReferenceHouseholdDataHouseholdData.ChargingStationSetHouseholdData.HouseholdDataPersonSpecHouseholdData.HouseholdDataSpecificationHouseholdData.HouseholdNameSpecHouseholdData.HouseholdTemplateSpecHouseholdData.NameHouseholdData.TransportationDeviceSetHouseholdData.TransportationDistanceModifiersHouseholdData.TravelRouteSetHouseholdData.UniqueHouseholdIdHouseholdData.from_dict()HouseholdData.from_json()HouseholdData.schema()HouseholdData.set_ChargingStationSet()HouseholdData.set_HouseholdDataPersonSpec()HouseholdData.set_HouseholdDataSpecification()HouseholdData.set_HouseholdNameSpec()HouseholdData.set_HouseholdTemplateSpec()HouseholdData.set_Name()HouseholdData.set_TransportationDeviceSet()HouseholdData.set_TransportationDistanceModifiers()HouseholdData.set_TravelRouteSet()HouseholdData.set_UniqueHouseholdId()HouseholdData.to_dict()HouseholdData.to_json()
HouseholdDataPersonSpecificationHouseholdDataPersonSpecification.HouseholdTagsHouseholdDataPersonSpecification.PersonsHouseholdDataPersonSpecification.from_dict()HouseholdDataPersonSpecification.from_json()HouseholdDataPersonSpecification.schema()HouseholdDataPersonSpecification.set_HouseholdTags()HouseholdDataPersonSpecification.set_Persons()HouseholdDataPersonSpecification.to_dict()HouseholdDataPersonSpecification.to_json()
HouseholdDataSpecificationTypeHouseholdKeyHouseholdKeyEntryHouseholdKeyEntry.HHKeyHouseholdKeyEntry.HouseDescriptionHouseholdKeyEntry.HouseNameHouseholdKeyEntry.HouseholdDescriptionHouseholdKeyEntry.HouseholdNameHouseholdKeyEntry.KeyTypeHouseholdKeyEntry.from_dict()HouseholdKeyEntry.from_json()HouseholdKeyEntry.schema()HouseholdKeyEntry.set_HHKey()HouseholdKeyEntry.set_HouseDescription()HouseholdKeyEntry.set_HouseName()HouseholdKeyEntry.set_HouseholdDescription()HouseholdKeyEntry.set_HouseholdName()HouseholdKeyEntry.set_KeyType()HouseholdKeyEntry.to_dict()HouseholdKeyEntry.to_json()
HouseholdKeyTypeHouseholdNameSpecificationHouseholdTemplateSpecificationHouseholdTemplateSpecification.ForbiddenTraitTagsHouseholdTemplateSpecification.HouseholdTemplateNameHouseholdTemplateSpecification.PersonsHouseholdTemplateSpecification.from_dict()HouseholdTemplateSpecification.from_json()HouseholdTemplateSpecification.schema()HouseholdTemplateSpecification.set_ForbiddenTraitTags()HouseholdTemplateSpecification.set_HouseholdTemplateName()HouseholdTemplateSpecification.set_Persons()HouseholdTemplateSpecification.to_dict()HouseholdTemplateSpecification.to_json()
JsonCalcSpecificationJsonCalcSpecification.CalcOptionsJsonCalcSpecification.CalculationNameJsonCalcSpecification.DefaultForOutputFilesJsonCalcSpecification.DeleteAllButPDFJsonCalcSpecification.DeleteSqliteJsonCalcSpecification.DeviceSelectionJsonCalcSpecification.EnableFlexibilityJsonCalcSpecification.EnableIdlemodeJsonCalcSpecification.EnableTransportationJsonCalcSpecification.EndDateJsonCalcSpecification.EnergyIntensityTypeJsonCalcSpecification.ExternalTimeResolutionJsonCalcSpecification.GeographicLocationJsonCalcSpecification.IgnorePreviousActivitiesWhenNeededJsonCalcSpecification.InternalTimeResolutionJsonCalcSpecification.LoadTypePriorityJsonCalcSpecification.LoadtypesForPostprocessingJsonCalcSpecification.OutputDirectoryJsonCalcSpecification.RandomSeedJsonCalcSpecification.ShowSettlingPeriodJsonCalcSpecification.SkipExistingJsonCalcSpecification.StartDateJsonCalcSpecification.TemperatureProfileJsonCalcSpecification.from_dict()JsonCalcSpecification.from_json()JsonCalcSpecification.schema()JsonCalcSpecification.set_CalcOptions()JsonCalcSpecification.set_CalculationName()JsonCalcSpecification.set_DefaultForOutputFiles()JsonCalcSpecification.set_DeleteAllButPDF()JsonCalcSpecification.set_DeleteSqlite()JsonCalcSpecification.set_DeviceSelection()JsonCalcSpecification.set_EnableFlexibility()JsonCalcSpecification.set_EnableIdlemode()JsonCalcSpecification.set_EnableTransportation()JsonCalcSpecification.set_EndDate()JsonCalcSpecification.set_EnergyIntensityType()JsonCalcSpecification.set_ExternalTimeResolution()JsonCalcSpecification.set_GeographicLocation()JsonCalcSpecification.set_IgnorePreviousActivitiesWhenNeeded()JsonCalcSpecification.set_InternalTimeResolution()JsonCalcSpecification.set_LoadTypePriority()JsonCalcSpecification.set_LoadtypesForPostprocessing()JsonCalcSpecification.set_OutputDirectory()JsonCalcSpecification.set_RandomSeed()JsonCalcSpecification.set_ShowSettlingPeriod()JsonCalcSpecification.set_SkipExisting()JsonCalcSpecification.set_StartDate()JsonCalcSpecification.set_TemperatureProfile()JsonCalcSpecification.to_dict()JsonCalcSpecification.to_json()
JsonDeviceProfilesJsonDeviceProfiles.DeviceProfilesJsonDeviceProfiles.LoadTypeDefinitionJsonDeviceProfiles.LoadTypeNameJsonDeviceProfiles.StartTimeJsonDeviceProfiles.TimeResolutionJsonDeviceProfiles.UnitJsonDeviceProfiles.from_dict()JsonDeviceProfiles.from_json()JsonDeviceProfiles.schema()JsonDeviceProfiles.set_DeviceProfiles()JsonDeviceProfiles.set_LoadTypeDefinition()JsonDeviceProfiles.set_LoadTypeName()JsonDeviceProfiles.set_StartTime()JsonDeviceProfiles.set_TimeResolution()JsonDeviceProfiles.set_Unit()JsonDeviceProfiles.to_dict()JsonDeviceProfiles.to_json()
JsonReferenceJsonSumProfileJsonSumProfile.HouseKeyJsonSumProfile.LoadTypeDefinitionJsonSumProfile.LoadTypeNameJsonSumProfile.NameJsonSumProfile.StartTimeJsonSumProfile.TimeResolutionJsonSumProfile.UnitJsonSumProfile.ValuesJsonSumProfile.from_dict()JsonSumProfile.from_json()JsonSumProfile.schema()JsonSumProfile.set_HouseKey()JsonSumProfile.set_LoadTypeDefinition()JsonSumProfile.set_LoadTypeName()JsonSumProfile.set_Name()JsonSumProfile.set_StartTime()JsonSumProfile.set_TimeResolution()JsonSumProfile.set_Unit()JsonSumProfile.set_Values()JsonSumProfile.to_dict()JsonSumProfile.to_json()
LoadTypeInformationLoadTypeInformation.ConversionFaktorLoadTypeInformation.FileNameLoadTypeInformation.GuidLoadTypeInformation.NameLoadTypeInformation.ShowInChartsLoadTypeInformation.UnitOfPowerLoadTypeInformation.UnitOfSumLoadTypeInformation.from_dict()LoadTypeInformation.from_json()LoadTypeInformation.schema()LoadTypeInformation.set_ConversionFaktor()LoadTypeInformation.set_FileName()LoadTypeInformation.set_Guid()LoadTypeInformation.set_Name()LoadTypeInformation.set_ShowInCharts()LoadTypeInformation.set_UnitOfPower()LoadTypeInformation.set_UnitOfSum()LoadTypeInformation.to_dict()LoadTypeInformation.to_json()
LoadTypePriorityOutputFileDefaultOutputFileDefault.AllOutputFileDefault.ForSettlementCalculationsOutputFileDefault.NoFilesOutputFileDefault.OnlyDeviceProfilesOutputFileDefault.OnlyOverallSumOutputFileDefault.OnlySumsOutputFileDefault.ReasonableOutputFileDefault.ReasonableWithChartsOutputFileDefault.ReasonableWithChartsAndPDF
PersonDataPersonData.AgePersonData.GenderPersonData.LivingPatternTagPersonData.PersonNamePersonData.TransportationPreferencesPersonData.from_dict()PersonData.from_json()PersonData.schema()PersonData.set_Age()PersonData.set_Gender()PersonData.set_LivingPatternTag()PersonData.set_PersonName()PersonData.set_TransportationPreferences()PersonData.to_dict()PersonData.to_json()
PersonLivingTagSingleDeviceProfileSingleDeviceProfile.DeviceTypeSingleDeviceProfile.GuidSingleDeviceProfile.NameSingleDeviceProfile.TagsBySetSingleDeviceProfile.from_dict()SingleDeviceProfile.from_json()SingleDeviceProfile.schema()SingleDeviceProfile.set_DeviceType()SingleDeviceProfile.set_Guid()SingleDeviceProfile.set_Name()SingleDeviceProfile.set_TagsBySet()SingleDeviceProfile.to_dict()SingleDeviceProfile.to_json()
StrGuidTemplatePersonEntryTemplatePersonEntry.AgeTemplatePersonEntry.GenderTemplatePersonEntry.LivingPatternTemplatePersonEntry.NameTemplatePersonEntry.PersonNameTemplatePersonEntry.TemplateNameTemplatePersonEntry.from_dict()TemplatePersonEntry.from_json()TemplatePersonEntry.schema()TemplatePersonEntry.set_Age()TemplatePersonEntry.set_Gender()TemplatePersonEntry.set_LivingPattern()TemplatePersonEntry.set_Name()TemplatePersonEntry.set_PersonName()TemplatePersonEntry.set_TemplateName()TemplatePersonEntry.to_dict()TemplatePersonEntry.to_json()
TransportationDistanceModifierTransportationDistanceModifier.NewDistanceInMetersTransportationDistanceModifier.RouteKeyTransportationDistanceModifier.StepKeyTransportationDistanceModifier.from_dict()TransportationDistanceModifier.from_json()TransportationDistanceModifier.schema()TransportationDistanceModifier.set_NewDistanceInMeters()TransportationDistanceModifier.set_RouteKey()TransportationDistanceModifier.set_StepKey()TransportationDistanceModifier.to_dict()TransportationDistanceModifier.to_json()
TransportationPreferenceTransportationPreference.AngleTransportationPreference.DestinationSiteTransportationPreference.DistanceFromHomeTransportationPreference.TransportationDeviceCategoriesTransportationPreference.WeightsTransportationPreference.from_dict()TransportationPreference.from_json()TransportationPreference.schema()TransportationPreference.set_Angle()TransportationPreference.set_DestinationSite()TransportationPreference.set_DistanceFromHome()TransportationPreference.set_TransportationDeviceCategories()TransportationPreference.set_Weights()TransportationPreference.to_dict()TransportationPreference.to_json()
- Module contents
Submodules
utspclient.client module
Functions for sending calculation requests to the UTSP and retrieving results.
- utspclient.client.build_url(address: str, route: str) str
Helper function to build a URL
- Parameters:
address – server address
route – URL route
- Returns:
the full URL
- utspclient.client.calculate_multiple_requests(address: str, requests: Iterable[str | TimeSeriesRequest], api_key: str = '', raise_exceptions: bool = True, quiet: bool = False, timeout: float = 10) List[ResultDelivery | Exception]
Sends multiple calculation requests to the UTSP and collects the results. The requests can be calculated in parallel.
- Parameters:
address – address of the UTSP server
requests – The request objects to send
api_key – API key for accessing the UTSP, defaults to “”
raise_exceptions – if True, failed requests raise exceptions, otherwhise the exception object is added to the result list; defaults to True
quiet – whether no console outputs should be produced, defaults to False
timeout – the time in seconds to wait between repeated requests to check the calculation status
- Returns:
a list containing the requested result objects; if raise_exceptions was set to False, this list can also contain exceptions
- utspclient.client.decompress_result_data(result: EncodedResultDelivery) ResultDelivery
Decodes and decompresses the result data returned from the UTSP.
- Parameters:
data – encoded and compressed result data
- Returns:
usable result data
- utspclient.client.get_result(reply: RestReply) ResultDelivery | None
Helper function for getting a time series out of a rest reply if it was delivered. Raises an exception if the calculation failed
- Parameters:
reply (RestReply) – the reply from the utsp server to check for a time series
- Raises:
Exception – if the calculation failed
- Returns:
the delivered time series, or None
- Return type:
Optional[TimeSeriesDelivery]
- utspclient.client.is_finished(status: CalculationStatus) bool
Checks whether the request with the specified status is finished (successful or failed) or whether it is still in calculation.
- Parameters:
status (CalculationStatus) – the status of the request
- Returns:
_description_
- Return type:
bool
- utspclient.client.request_time_series_and_wait_for_delivery(address: str, request: str | TimeSeriesRequest, api_key: str = '', quiet: bool = False, timeout: float = 10) ResultDelivery
Requests a single time series from the UTSP server from the specified time series provider.
- Parameters:
address – address of the UTSP server
request – The request object defining the requested time series
api_key – API key for accessing the UTSP, defaults to “”
quiet – whether no console outputs should be produced, defaults to False
timeout – the time in seconds to wait between repeated requests to check the calculation status
- Returns:
The requested result data
- utspclient.client.send_request(url: str, request: str | TimeSeriesRequest, api_key: str = '') RestReply
Sends the request to the utsp and returns the reply
- Parameters:
url (str) – URL of the utsp server endpoint
request (Union[str, TimeSeriesRequest]) – the request to send
api_key (str, optional) – the api key to use, defaults to “”
- Raises:
Exception – if the server reported an error
- Returns:
the reply from the utsp server
- Return type:
- utspclient.client.shutdown(address: str, api_key: str = '')
Shuts down all UTSP workers connected to the server.
- Parameters:
address – address of the UTSP server
api_key (str, optional) – API key for accessing the UTSP, defaults to “”
- utspclient.client.upload_provider_build_context(address: str, api_key: str, path: str, versioned_name: str)
Uploads an image build context for a provider. A build context is a .tar or .tar.gz file containing everything that is necessary for building the provider image. The image will then be built by the UTSP server.
- Parameters:
address – address of the UTSP server to add the provider to
api_key – API key for accessing the UTSP server
path – path of the build context file
versioned_name – versioned name of the provider
utspclient.datastructures module
Common data structures for communication between the UTSP server and the client.
- class utspclient.datastructures.CalculationStatus(value)
Bases:
EnumIndicates the current state of a request
- CALCULATIONFAILED = 4
- CALCULATIONSTARTED = 3
- INCALCULATION = 1
- INDATABASE = 2
- UNKNOWN = 0
- class utspclient.datastructures.EncodedResultDelivery(original_request: ~utspclient.datastructures.TimeSeriesRequest, data: dict[str, str] = <factory>, is_compressed: bool = False)
Bases:
ResultDeliveryBaseContains encoded result data for a singe request. Can be decoded back to a ResultDelivery object.
- data: dict[str, str]
name and content of all result files
- decode_data() ResultDelivery
Decode the base64-encoded data
- classmethod from_dict(kvs: dict | list | str | int | float | bool | None, *, infer_missing=False) A
- classmethod from_json(s: str | bytes | bytearray, *, parse_float=None, parse_int=None, parse_constant=None, infer_missing=False, **kw) A
- is_compressed: bool = False
- classmethod schema(*, infer_missing: bool = False, only=None, exclude=(), many: bool = False, context=None, load_only=(), dump_only=(), partial: bool = False, unknown=None) SchemaF[A]
- to_dict(encode_json=False) Dict[str, dict | list | str | int | float | bool | None]
- to_json(*, skipkeys: bool = False, ensure_ascii: bool = True, check_circular: bool = True, allow_nan: bool = True, indent: str | int | None = None, separators: Tuple[str, str] | None = None, default: Callable | None = None, sort_keys: bool = False, **kw) str
- class utspclient.datastructures.RestReply(result_delivery: EncodedResultDelivery | None = None, status: CalculationStatus = CalculationStatus.UNKNOWN, request_hash: str = '', info: str | None = None)
Bases:
objectReply from the UTSP server to a single request. Contains all available information about the request.
- classmethod from_dict(kvs: dict | list | str | int | float | bool | None, *, infer_missing=False) A
- classmethod from_json(s: str | bytes | bytearray, *, parse_float=None, parse_int=None, parse_constant=None, infer_missing=False, **kw) A
- info: str | None = None
optional information, or an error message if the request failed
- request_hash: str = ''
hash of the original request which this reply belongs to
- result_delivery: EncodedResultDelivery | None = None
compressed result data, if the request finished without an error
- classmethod schema(*, infer_missing: bool = False, only=None, exclude=(), many: bool = False, context=None, load_only=(), dump_only=(), partial: bool = False, unknown=None) SchemaF[A]
- status: CalculationStatus = 0
current status of the request
- to_dict(encode_json=False) Dict[str, dict | list | str | int | float | bool | None]
- to_json(*, skipkeys: bool = False, ensure_ascii: bool = True, check_circular: bool = True, allow_nan: bool = True, indent: str | int | None = None, separators: Tuple[str, str] | None = None, default: Callable | None = None, sort_keys: bool = False, **kw) str
- class utspclient.datastructures.ResultDelivery(original_request: ~utspclient.datastructures.TimeSeriesRequest, data: dict[str, bytes] = <factory>, is_compressed: bool = False)
Bases:
ResultDeliveryBaseContains the results for a singe request. Can compress/decompress the result file contents to reduce size. Should not be serialized to json due to the bytes in the data member. For that purpose, the object can be encoded to a EncodedResultDelivery object first.
- compress_data()
Compresses the data to use less storage
- data: dict[str, bytes]
name and content of all result files
- decompress_data()
Decompresses the data.
- encode_data()
base64-encode the data for conversion to json.
- is_compressed: bool = False
- class utspclient.datastructures.ResultDeliveryBase(original_request: ~utspclient.datastructures.TimeSeriesRequest, data: dict = <factory>)
Bases:
ABCBase class for the results for a singe request.
- data: dict
name and content of all result files
- get_file_count() int
Returns the number of contained files.
- Returns:
number of files
- original_request: TimeSeriesRequest
the original request the results belong to
- size_in_gb() float
Returns the total size of the result data in gigabytes.
- Returns:
size in gigabytes
- class utspclient.datastructures.ResultFileRequirement(value)
Bases:
EnumDetermines whether specified result files are required or optional. Only when a required file is not created by the provider an error is raised.
- OPTIONAL = 1
- REQUIRED = 0
- class utspclient.datastructures.TimeSeriesRequest(simulation_config: str, providername: str, guid: str = '', required_result_files: ~typing.Dict[str, ~utspclient.datastructures.ResultFileRequirement | None] = <factory>, input_files: ~typing.Dict[str, str] = <factory>)
Bases:
objectContains all necessary information for a calculation request. It also functions as an identifier for the request, so sending the same object again will always return the same results.
- classmethod from_dict(kvs: dict | list | str | int | float | bool | None, *, infer_missing=False) A
- classmethod from_json(s: str | bytes | bytearray, *, parse_float=None, parse_int=None, parse_constant=None, infer_missing=False, **kw) A
- get_hash() str
Calculates a hash for this object. This is used to distinguish different requests.
- Returns:
the hash of this object
- Return type:
str
- guid: str = ''
optional unique identifier, can be used to force recalculation of otherwhise identical requests
- input_files: Dict[str, str]
Names and contents of additional input files to be created in the provider container, if required. For internal reasons the ‘bytes’ type cannot be used here, so the file contents are stored base64-encoded.
- providername: str
the provider which shall process the request
- required_result_files: Dict[str, ResultFileRequirement | None]
Desired files created by the provider that are sent back as result. Throws an error if one of these files is not created. If left empty all created files are returned.
- classmethod schema(*, infer_missing: bool = False, only=None, exclude=(), many: bool = False, context=None, load_only=(), dump_only=(), partial: bool = False, unknown=None) SchemaF[A]
- simulation_config: str
provider-specific string defining the requested results
- to_dict(encode_json=False) Dict[str, dict | list | str | int | float | bool | None]
- to_json(*, skipkeys: bool = False, ensure_ascii: bool = True, check_circular: bool = True, allow_nan: bool = True, indent: str | int | None = None, separators: Tuple[str, str] | None = None, default: Callable | None = None, sort_keys: bool = False, **kw) str
utspclient.result_file_filters module
This module defines relevant output files for typical use cases to avoid transmitting and storing unneeded files
- class utspclient.result_file_filters.HiSimFilters
Bases:
object- RESIDENCE_BUILDING = 'Residence_Building.csv'
- class utspclient.result_file_filters.LPGFilters
Bases:
objectProvides result file names for the LPG
- class BodilyActivity
Bases:
objectResult file names for bodily activity
- HIGH = 'Results/BodilyActivityLevel.High.HH1.json'
- LOW = 'Results/BodilyActivityLevel.Low.HH1.json'
- OUTSIDE = 'Results/BodilyActivityLevel.Outside.HH1.json'
- UNKNOWN = 'Results/BodilyActivityLevel.Unknown.HH1.json'
- FLEXIBILITY_EVENTS = 'Reports/FlexibilityEvents.HH1.json'
- static all_car_locations_optional() Dict[str, ResultFileRequirement]
Helper function to get any created car location file.
- static all_car_states_optional() Dict[str, ResultFileRequirement]
Helper function to get any created car state file.
- static all_driving_distances_optional() Dict[str, ResultFileRequirement]
Helper function to get any created driving distance file.
- static car_location(car: JsonReference | str) str
Result file names for car locations
- static car_state(car: JsonReference | str) str
Result file names for car states
- static driving_distance(car: JsonReference | str) str
Result file names for driving distances
- static sum_hh1(load_type: str, json: bool = False, no_flex: bool = False) str
Returns the file name of the sum load profile for the first simulated household, for the specified load type
- static sum_hh1_ext_res(load_type: str, resolution_in_s: int, json: bool = False) str
Returns the file name of the sum load profile for the first simulated household, for the specified load type, in the external resolution. The resolution specified here must match the external resolution specified in the LPG request.