Compare commits
2 Commits
4700cd037a
...
c77c03b759
Author | SHA1 | Date | |
---|---|---|---|
c77c03b759 | |||
de066b25fb |
|
@ -8,8 +8,8 @@
|
|||
</demands>
|
||||
<heating_efficiency>0.85</heating_efficiency>
|
||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">2</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">2</distribution_consumption_variable_flow>
|
||||
<storage>false</storage>
|
||||
</system>
|
||||
<system id="2" type="boiler" fuel_type="electricity">
|
||||
|
@ -20,8 +20,8 @@
|
|||
</demands>
|
||||
<heating_efficiency>1</heating_efficiency>
|
||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">2</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">2</distribution_consumption_variable_flow>
|
||||
<storage>true</storage>
|
||||
</system>
|
||||
<system id="3" type="furnace" fuel_type="gas">
|
||||
|
@ -32,8 +32,8 @@
|
|||
</demands>
|
||||
<heating_efficiency>0.85</heating_efficiency>
|
||||
<distribution_heat_losses units="%">25</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">13</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">13</distribution_consumption_variable_flow>
|
||||
<storage>false</storage>
|
||||
</system>
|
||||
<system id="4" type="furnace" fuel_type="electricity">
|
||||
|
@ -44,8 +44,8 @@
|
|||
</demands>
|
||||
<heating_efficiency>1</heating_efficiency>
|
||||
<distribution_heat_losses units="%">25</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">13</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">13</distribution_consumption_variable_flow>
|
||||
<storage>false</storage>
|
||||
</system>
|
||||
<system id="5" type="baseboard" fuel_type="gas">
|
||||
|
@ -56,8 +56,8 @@
|
|||
</demands>
|
||||
<heating_efficiency>0.85</heating_efficiency>
|
||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">2</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">2</distribution_consumption_variable_flow>
|
||||
<storage>false</storage>
|
||||
</system>
|
||||
<system id="6" type="baseboard" fuel_type="electricity">
|
||||
|
@ -68,8 +68,8 @@
|
|||
</demands>
|
||||
<heating_efficiency>1</heating_efficiency>
|
||||
<distribution_heat_losses units="%">0</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">4</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">4</distribution_consumption_variable_flow>
|
||||
<storage>false</storage>
|
||||
</system>
|
||||
<system id="7" type="cooler" fuel_type="electricity">
|
||||
|
@ -79,8 +79,8 @@
|
|||
</demands>
|
||||
<cooling_efficiency>3.23</cooling_efficiency>
|
||||
<distribution_heat_losses units="%">0</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">4</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">4</distribution_consumption_variable_flow>
|
||||
<storage>false</storage>
|
||||
</system>
|
||||
<system id="8" type="cooler" fuel_type="electricity">
|
||||
|
@ -90,8 +90,8 @@
|
|||
</demands>
|
||||
<cooling_efficiency>3.23</cooling_efficiency>
|
||||
<distribution_heat_losses units="%">10</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">4</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">4</distribution_consumption_variable_flow>
|
||||
<storage>false</storage>
|
||||
</system>
|
||||
<system id="9" type="cooler" fuel_type="electricity">
|
||||
|
@ -101,8 +101,8 @@
|
|||
</demands>
|
||||
<cooling_efficiency>3.23</cooling_efficiency>
|
||||
<distribution_heat_losses units="%">0</distribution_heat_losses>
|
||||
<distribution_consumption_fix_flow units="%">1000000000</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">1000000000</distribution_consumption_variable_flow>
|
||||
<distribution_consumption_fix_flow units="%">4</distribution_consumption_fix_flow>
|
||||
<distribution_consumption_variable_flow units="%">4</distribution_consumption_variable_flow>
|
||||
<storage>false</storage>
|
||||
</system>
|
||||
<system id="10" type="electricity generator" fuel_type="renewable">
|
||||
|
|
|
@ -427,9 +427,9 @@ class Idf:
|
|||
for zone in self._idf.idfobjects["ZONE"]:
|
||||
if zone.Name == f'{zone_name}_infiltration':
|
||||
return
|
||||
schedule = f'Infiltration schedules {thermal_zone.usage_name}'
|
||||
if schedule not in self._idf.idfobjects[self._HOURLY_SCHEDULE]:
|
||||
return
|
||||
schedule = f'Ventilation schedules {thermal_zone.usage_name}'
|
||||
#if schedule not in self._idf.idfobjects[self._HOURLY_SCHEDULE]:
|
||||
# return
|
||||
self._idf.newidfobject(self._INFILTRATION,
|
||||
Name=f'{zone_name}_infiltration',
|
||||
Zone_or_ZoneList_Name=zone_name,
|
||||
|
@ -443,15 +443,15 @@ class Idf:
|
|||
if zone.Name == f'{zone_name}_ventilation':
|
||||
return
|
||||
schedule = f'Ventilation schedules {thermal_zone.usage_name}'
|
||||
if schedule not in self._idf.idfobjects[self._HOURLY_SCHEDULE]:
|
||||
return
|
||||
#if schedule not in self._idf.idfobjects[self._HOURLY_SCHEDULE]:
|
||||
# return
|
||||
# todo: revise ventilation with Pilar
|
||||
self._idf.newidfobject(self._VENTILATION,
|
||||
Name=f'{zone_name}_ventilation',
|
||||
Zone_or_ZoneList_Name=zone_name,
|
||||
Schedule_Name=schedule,
|
||||
Design_Flow_Rate_Calculation_Method='AirChanges/Hour',
|
||||
Flow_Rate_per_Zone_Floor_Area=thermal_zone.mechanical_air_change
|
||||
Air_Changes_per_Hour=thermal_zone.mechanical_air_change
|
||||
)
|
||||
|
||||
def _add_dhw(self, thermal_zone, zone_name):
|
||||
|
@ -510,8 +510,8 @@ class Idf:
|
|||
if building.name in self._target_buildings or building.name in self._adjacent_buildings:
|
||||
_new_schedules = self._create_infiltration_schedules(thermal_zone)
|
||||
self._add_schedules(usage, 'Infiltration', _new_schedules)
|
||||
_new_schedules2 = self._create_ventilation_schedules(thermal_zone)
|
||||
self._add_schedules(usage, 'Ventilation', _new_schedules2)
|
||||
_new_schedules = self._create_ventilation_schedules(thermal_zone)
|
||||
self._add_schedules(usage, 'Ventilation', _new_schedules)
|
||||
self._add_schedules(usage, 'Occupancy', thermal_zone.occupancy.occupancy_schedules)
|
||||
self._add_schedules(usage, 'HVAC AVAIL', thermal_zone.thermal_control.hvac_availability_schedules)
|
||||
self._add_schedules(usage, 'Heating thermostat', thermal_zone.thermal_control.heating_set_point_schedules)
|
||||
|
@ -536,6 +536,7 @@ class Idf:
|
|||
self._add_zone(thermal_zone, building.name)
|
||||
self._add_heating_system(thermal_zone, building.name)
|
||||
self._add_infiltration(thermal_zone, building.name)
|
||||
self._add_ventilation(thermal_zone, building.name)
|
||||
self._add_occupancy(thermal_zone, building.name)
|
||||
self._add_lighting(thermal_zone, building.name)
|
||||
self._add_appliances(thermal_zone, building.name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user