Skip to content

Commit

Permalink
modif building air temp analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rieck committed Dec 20, 2024
1 parent 1c7adc8 commit f7f7fd7
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions hisim/postprocessing/scenario_evaluation/result_data_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ def get_indoor_air_temperatures_of_building(
list_building_temp_deviation_below_set_heating_in_celsius_hour,
list_building_temp_deviation_above_set_cooling_in_celsius_hour,
)
raise ValueError("Lists with temperatures could not be generated. Something went wrong here.")

def get_list_of_all_relevant_folders_or_files(self, result_path: str, folder_or_filename: str) -> List[str]:
"""Get a list of all folders or files which you want to analyze."""
Expand Down Expand Up @@ -413,7 +414,7 @@ def generate_pandas_dataframe_with_building_temperatures(
list_building_temp_deviation_above_set_cooling_in_celsius_hour: List,
) -> None:
"""Generate the result dataframe with building temperatures."""
dict_with_no_duplicates = dict.fromkeys(dict_with_all_data, {})
dict_with_no_duplicates: Dict = dict.fromkeys(dict_with_all_data, {})

# get rows with unique house indices
list_with_unique_house_indices = []
Expand Down Expand Up @@ -788,20 +789,20 @@ def go_through_all_result_data_folders_and_collect_file_paths_according_to_param
list_with_result_data_folders: List[str],
default_config_dict: Dict[str, Any],
parameter_key: Optional[str],
) -> tuple[List[Any], List[Any], List[Any]]:
) -> Tuple[List[Any], List[Any], List[Any], List[Any], List[Any], List[Any], List[Any], List[Any], List[Any], List[Any], List[Any]]:
"""Order result files according to different parameters."""

list_with_module_configs: List = []
list_with_csv_files: List = []
list_with_parameter_key_values: List = []
list_building_set_heating_temperature_in_celsius = []
list_building_set_cooling_temperature_in_celsius = []
list_building_min_indoor_temperature_in_celsius = []
list_building_max_indoor_temperature_in_celsius = []
list_building_diff_min_indoor_and_set_heating_temperature_in_celsius = []
list_building_diff_max_indoor_and_set_cooling_temperature_in_celsius = []
list_building_temp_deviation_below_set_heating_in_celsius_hour = []
list_building_temp_deviation_above_set_cooling_in_celsius_hour = []
list_building_set_heating_temperature_in_celsius: List = []
list_building_set_cooling_temperature_in_celsius: List = []
list_building_min_indoor_temperature_in_celsius: List = []
list_building_max_indoor_temperature_in_celsius: List = []
list_building_diff_min_indoor_and_set_heating_temperature_in_celsius: List = []
list_building_diff_max_indoor_and_set_cooling_temperature_in_celsius: List = []
list_building_temp_deviation_below_set_heating_in_celsius_hour: List = []
list_building_temp_deviation_above_set_cooling_in_celsius_hour: List = []

for folder in list_with_result_data_folders: # type: ignore
if parameter_key is None:
Expand Down

0 comments on commit f7f7fd7

Please sign in to comment.