The previous sections primarily addressed the simulation of the building envelope without a system, providing insight into how to structure the YAML input for Trano. In this section, we will focus on simulating a building equipped with a heating system. This example involves a three-zone building with an ideal heating setup.
Below is a description of the YAML configuration file for a building with a heating system. The key distinction between this configuration and previous ones is the incorporation of a heating system in one of the building's spaces. The relevant YAML code snippet is as follows:
The emissions field indicates that the space is connected to an emission system. The variant field specifies the type of radiator—in this case, an ideal radiator. The control settings for the radiator are detailed within the control field, which includes parameters such as setpoints and schedules, as well as the heating power of the ideal radiator.
Input configuration file
The described building is a multi-room structure featuring distinct spaces, including a smaller room (SPACE:001) and two larger, similarly sized rooms (SPACE:002 and SPACE:003). The external walls are constructed using multiple layers of materials with varying thermal properties, suggesting good insulation. It includes windows made from high-performance glazing with low thermal conductivity and air-filled spaces to enhance energy efficiency. The building has a nominal heating system using radiators, which is controlled to maintain specific temperature settings. Overall, this configuration indicates a well-insulated, energy-efficient building designed for comfort.
material:-id:MATERIAL:001thermal_conductivity:0.045density:2100.0specific_heat_capacity:900.0-id:MATERIAL:002thermal_conductivity:0.04density:1950.0specific_heat_capacity:950.0-id:MATERIAL:003thermal_conductivity:0.038density:2050.0specific_heat_capacity:920.0constructions:-id:CONSTRUCTION:001layers:-material:MATERIAL:001thickness:0.12-material:MATERIAL:002thickness:0.08-material:MATERIAL:003thickness:0.1glass_material:-density:2500.0id:GLASS:001longwave_emissivity:0.82shortwave_emissivity:0.65specific_heat_capacity:860.0thermal_conductivity:1.1gas:-density:1.18id:AIR:001longwave_emissivity:0.0shortwave_emissivity:0.0specific_heat_capacity:1005.0thermal_conductivity:0.026glazings:-id:INS2AR2020:001layers:-glass:GLASS:001thickness:0.005-gas:AIR:001thickness:0.014-glass:GLASS:001thickness:0.005spaces:-parameters:floor_area:80.0# Smaller roomaverage_room_height:2.5id:SPACE:001external_boundaries:external_walls:-surface:90.0azimuth:180.0tilt:wallconstruction:CONSTRUCTION:001-surface:70.0azimuth:90.0tilt:wallconstruction:CONSTRUCTION:001-surface:160.0azimuth:270.0tilt:wallconstruction:CONSTRUCTION:001floor_on_grounds:-surface:80.0construction:CONSTRUCTION:001windows:-surface:1.5azimuth:180.0tilt:wallconstruction:INS2AR2020:001width:1.5height:1.0-parameters:floor_area:120.0# Larger room with different shapeaverage_room_height:2.7id:SPACE:002external_boundaries:external_walls:-surface:120.0azimuth:180.0tilt:wallconstruction:CONSTRUCTION:001-surface:100.0azimuth:90.0tilt:wallconstruction:CONSTRUCTION:001-surface:220.0azimuth:0.0tilt:wallconstruction:CONSTRUCTION:001floor_on_grounds:-surface:120.0construction:CONSTRUCTION:001windows:-surface:2.0azimuth:180.0tilt:wallconstruction:INS2AR2020:001width:2.0height:1.2-parameters:floor_area:120.0# Larger room with different shapeaverage_room_height:2.7id:SPACE:003external_boundaries:external_walls:-surface:120.0azimuth:180.0tilt:wallconstruction:CONSTRUCTION:001-surface:100.0azimuth:90.0tilt:wallconstruction:CONSTRUCTION:001-surface:220.0azimuth:0.0tilt:wallconstruction:CONSTRUCTION:001floor_on_grounds:-surface:120.0construction:CONSTRUCTION:001windows:-surface:2.0azimuth:180.0tilt:wallconstruction:INS2AR2020:001width:2.0height:1.2emissions:-radiator:id:RADIATOR:001variant:idealparameters:nominal_heating_power_positive_for_heating:2500control:emission_control:id:EMISSION_CONTROL:001parameters:schedule:3600*{10, 20}temperature_heating_setpoint:295.15temperature_heating_setback:291.15internal_walls:-space_1:SPACE:002space_2:SPACE:001construction:CONSTRUCTION:001surface:18.0
Code
This code snippet demonstrates how to simulate a multizone house using Trano. It leverages the same code as the previous tutorial, making it straightforward to implement.
This code snippet is used to simulate a model defined in a YAML configuration file. It utilizes a simulation library to specify parameters such as time range and tolerances for the simulation process.