diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..64ab64f --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + 1637260166200 + + + + \ No newline at end of file diff --git a/simplified_radiosity_algorithm.py b/simplified_radiosity_algorithm.py index 6976645..f341283 100644 --- a/simplified_radiosity_algorithm.py +++ b/simplified_radiosity_algorithm.py @@ -108,12 +108,14 @@ class SimplifiedRadiosityAlgorithm: """ for radiation in self.radiation: city_object_name = radiation.columns.values.tolist()[1].split(':')[1] + print(city_object_name) if building_name is not None: if city_object_name != building_name: # todo: in case there is a specific building name defined, then assign values only to that specific building continue building = city.city_object(city_object_name) + print(f'[{building.name}], {city_object_name}') for column in radiation.columns.values: if column == cte.MONTH: continue @@ -136,7 +138,6 @@ class SimplifiedRadiosityAlgorithm: def _create_cli_file(self, key): file = self._city.climate_file - print(file) days_in_month = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] WeatherFactory(key, self._city, file_name=self._weather_file_name).enrich() content = self._city.name + '\n'