erased not needed prints
This commit is contained in:
parent
589f3e7f11
commit
8a41c4f656
|
@ -615,7 +615,6 @@ class Building(CityObject):
|
|||
if len(self._heating_consumption) == 0:
|
||||
for heating_demand_key in self.heating_demand:
|
||||
demand = self.heating_demand[heating_demand_key]
|
||||
print('AAAAAAAAAA', heating_demand_key, demand)
|
||||
consumption_type = cte.HEATING
|
||||
final_energy_consumed = self._calculate_consumption(consumption_type, demand)
|
||||
if final_energy_consumed is None:
|
||||
|
|
|
@ -255,13 +255,10 @@ class InselMonthlyEnergyBalance:
|
|||
parameters = [f'12 % Azimuth {np.rad2deg(surface.azimuth)}, '
|
||||
f'inclination {np.rad2deg(surface.inclination)} (degrees)']
|
||||
|
||||
print(surface.type)
|
||||
if surface.type != 'Ground':
|
||||
if cte.MONTH not in surface.global_irradiance:
|
||||
raise ValueError(f'surface: {surface.name} from building {building.name} has no global irradiance!')
|
||||
print(surface.global_irradiance[cte.HOUR])
|
||||
print(surface.global_irradiance[cte.MONTH])
|
||||
print(surface.global_irradiance[cte.YEAR])
|
||||
|
||||
global_irradiance = surface.global_irradiance[cte.MONTH]
|
||||
for j in range(0, len(global_irradiance)):
|
||||
parameters.append(f'{j + 1} '
|
||||
|
|
Loading…
Reference in New Issue
Block a user