Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

HVACTemplates are used to quickly create an HVAC system for a building with one or more zones. The only inputs required are zone name, specific schedules used to control the HVAC system, and minimal other inputs to describe the desired HVAC system.

To see how HVACTemplates work, review the example files with names starting with HVACTemplate*. I do not think a template exists for ZoneHVAC:LowTemperatureRadiant:ConstantFLow.

The current template expansion program supports the following objects. These are the plant, system, thermostat, and zone templates. Typically, one of each of these is required. The plant type is used when chilled or hot water loops are needed. If there are no plant loops, this template is not used. The system type is used for each HVAC system. The thermostat type is used to populate the zones with a thermostat. And finally, the zone type is used for zone equipment in each zone.

HVACTemplate:Plant:Boiler
HVACTemplate:Plant:Boiler:ObjectReference
HVACTemplate:Plant:ChilledWaterLoop
HVACTemplate:Plant:Chiller
HVACTemplate:Plant:Chiller:ObjectReference
HVACTemplate:Plant:HotWaterLoop
HVACTemplate:Plant:MixedWaterLoop
HVACTemplate:Plant:Tower
HVACTemplate:Plant:Tower:ObjectReference

HVACTemplate:System:ConstantVolume
HVACTemplate:System:DedicatedOutdoorAir
HVACTemplate:System:DualDuct
HVACTemplate:System:PackagedVAV
HVACTemplate:System:Unitary
HVACTemplate:System:UnitaryHeatPump:AirToAir
HVACTemplate:System:UnitarySystem
HVACTemplate:System:VAV
HVACTemplate:System:VRF

HVACTemplate:Thermostat

HVACTemplate:Zone:BaseboardHeat
HVACTemplate:Zone:ConstantVolume
HVACTemplate:Zone:DualDuct
HVACTemplate:Zone:FanCoil
HVACTemplate:Zone:IdealLoadsAirSystem
HVACTemplate:Zone:PTAC
HVACTemplate:Zone:PTHP
HVACTemplate:Zone:Unitary
HVACTemplate:Zone:VAV
HVACTemplate:Zone:VAV:FanPowered
HVACTemplate:Zone:VAV:HeatAndCool
HVACTemplate:Zone:VRF
HVACTemplate:Zone:WaterToAirHeatPump

Many other objects are created when using templates. For example, the HVACTemplate_5ZoneBaseboardHeat.idf file was modified (by removing 4 of the zone baseboard heat templates) to keep only a single zone template for the baseboard. This example system uses 4 template objects.

HVACTemplate:Thermostat,
HVACTemplate:Zone:BaseboardHeat,
HVACTemplate:Plant:HotWaterLoop,
HVACTemplate:Plant:Boiler,

When this simulation is executed, the template objects will be expanded to create all required objects for the HVAC system specified. The expanded system will be saved in the expidf file and can be viewed after the simulation completes. Template objects in the input file will be commented out, and the objects added due to expansion are added at the end of the input file.

The first 4 objects below are the HVACTemplates in the original (modified) file. In the expidf file, these are commented out since they are no longer needed and have been replaced with the required EnergyPlus objects. It is apparent from this example that using templates can save a significant amount of time setting up the HVAC system.

! 
!   HVACTemplate:Thermostat,
!     Heat Only,               !- Name
!     Htg-SetP-Sch,            !- Heating Setpoint Schedule Name
!     ,                        !- Constant Heating Setpoint {C}
!     No-Clg-SetP-Sch,         !- Cooling Setpoint Schedule Name
!     ;                        !- Constant Cooling Setpoint {C}
! 
!   HVACTemplate:Zone:BaseboardHeat,
!     SPACE1-1,                !- Zone Name
!     Heat Only,               !- Template Thermostat Name
!     ,                        !- Zone Heating Sizing Factor
!     HotWater,                !- Baseboard Heating Type
!     ,                        !- Baseboard Heating Availability Schedule Name
!     autosize,                !- Baseboard Heating Capacity {W}
!     ,                        !- Dedicated Outdoor Air System Name
!     Flow/Person,             !- Outdoor Air Method
!     ,                        !- Outdoor Air Flow Rate per Person {m3/s}
!     ,                        !- Outdoor Air Flow Rate per Zone Floor Area {m3/s-m2}
!     ;                        !- Outdoor Air Flow Rate per Zone {m3/s}
! 
!   HVACTemplate:Plant:HotWaterLoop,
!     Hot Water Loop,          !- Name
!     ,                        !- Pump Schedule Name
!     INTERMITTENT,            !- Pump Control Type
!     Default,                 !- Hot Water Plant Operation Scheme Type
!     ,                        !- Hot Water Plant Equipment Operation Schemes Name
!     ,                        !- Hot Water Setpoint Schedule Name
!     82,                      !- Hot Water Design Setpoint {C}
!     ConstantFlow,            !- Hot Water Pump Configuration
!     179352,                  !- Hot Water Pump Rated Head {Pa}
!     OutdoorAirTemperatureReset,  !- Hot Water Setpoint Reset Type
!     82.2,                    !- Hot Water Setpoint at Outdoor Dry-Bulb Low {C}
!     -6.7,                    !- Hot Water Reset Outdoor Dry-Bulb Low {C}
!     65.6,                    !- Hot Water Setpoint at Outdoor Dry-Bulb High {C}
!     10;                      !- Hot Water Reset Outdoor Dry-Bulb High {C}
! 
!   HVACTemplate:Plant:Boiler,
!     Main Boiler,             !- Name
!     HotWaterBoiler,          !- Boiler Type
!     autosize,                !- Capacity {W}
!     0.8,                     !- Efficiency
!     NaturalGas,              !- Fuel Type
!     1,                       !- Priority
!     ;                        !- Sizing Factor

! -------------------------------------------------------------
! New objects created from ExpandObjects
! -------------------------------------------------------------
! 

ScheduleTypeLimits,
  HVACTemplate Any Number;                  !- Name

ThermostatSetpoint:DualSetpoint,
  Heat Only Dual SP Control,                !- Name
  Htg-SetP-Sch,                             !- Heating Setpoint Temperature Schedule Name
  No-Clg-SetP-Sch;                          !- Cooling Setpoint Temperature Schedule Name

Schedule:Compact,
  HVACTemplate-Always 1,                    !- Name
  HVACTemplate Any Number,                  !- Schedule Type Limits Name
  Through: 12/31,                           !- Field 1
  For: AllDays,                             !- Field 2
  Until: 24:00,                             !- Field 3
  1;                                        !- Field 4

Schedule:Compact,
  HVACTemplate-Always 4,                    !- Name
  HVACTemplate Any Number,                  !- Schedule Type Limits Name
  Through: 12/31,                           !- Field 1
  For: AllDays,                             !- Field 2
  Until: 24:00,                             !- Field 3
  4;                                        !- Field 4

ZoneControl:Thermostat,
  SPACE1-1 Thermostat,                      !- Name
  SPACE1-1,                                 !- Zone or ZoneList Name
  HVACTemplate-Always 4,                    !- Control Type Schedule Name
  ThermostatSetpoint:DualSetpoint,          !- Control Object Type
  Heat Only Dual SP Control;                !- Control Name

Sizing:Zone,
  SPACE1-1,                       !- Zone or ZoneList Name
  SupplyAirTemperature,           !- Zone Cooling Design Supply Air Temperature Input Method
  12.5,                           !- Zone Cooling Design Supply Air Temperature {C}
  ,                               !- Zone Cooling Design Supply Air Temperature Difference {delta C}
  SupplyAirTemperature,           !- Zone Heating Design Supply Air Temperature Input Method
  50,                             !- Zone Heating Design Supply Air Temperature {C}
  ,                               !- Zone Heating Design Supply Air Temperature Difference {delta C}
  0.008,                          !- Zone Cooling Design Supply Air Humidity Ratio {kg-H20/kg-air}
  0.008,                          !- Zone Heating Design Supply Air Humidity Ratio {kg-H2O/kg-air}
  ,                               !- Design Specification Outdoor Air Object Name
  ,                               !- Zone Heating Sizing Factor
  ,                               !- Zone Cooling Sizing Factor
  DesignDay,                      !- Cooling Design Air Flow Method
  0,                              !- Cooling Design Air Flow Rate {m3/s}
  ,                               !- Cooling Minimum Air Flow per Zone Floor Area {m3/s-m2}
  ,                               !- Cooling Minimum Air Flow {m3/s}
  0,                              !- Cooling Minimum Air Flow Fraction {}
 DesignDay,                       !- Heating Design Air Flow Method
  0,                              !- Heating Design Air Flow Rate {m3/s}
  ,                               !- Heating Maximum Air Flow per Zone Floor Area {m3/s-m2}
  ,                               !- Heating Maximum Air Flow {m3/s}
  0,                              !- Heating Maximum Air Flow Fraction {}
  ;                               !- Design Specification Zone Air Distribution Object Name

ZoneHVAC:EquipmentConnections,
  SPACE1-1,                                 !- Zone Name
  SPACE1-1 Equipment,                       !- Zone Conditioning Equipment List Name
  ,                                         !- Zone Air Inlet Node or NodeList Name
  ,                                         !- Zone Air Exhaust Node or NodeList Name
  SPACE1-1 Zone Air Node,                   !- Zone Air Node Name
  SPACE1-1 Return Outlet;                   !- Zone Return Air Node Name

ZoneHVAC:EquipmentList,
  SPACE1-1 Equipment,                       !- Name
  ZoneHVAC:Baseboard:RadiantConvective:Water,    !- Zone Equipment Object Type
  SPACE1-1 Baseboard Heat,                  !- Zone Equipment Name
  1,                                        !- Zone Equipment Cooling Sequence
  1;                                        !- Zone Equipment Heating or No-Load Sequence

ZoneHVAC:Baseboard:RadiantConvective:Water,
  SPACE1-1 Baseboard Heat,                  !- Name
  ,                                         !- Availability Schedule Name
  SPACE1-1 Baseboard HW Inlet,              !- Inlet Node Name
  SPACE1-1 Baseboard HW Outlet,             !- Outlet Node Name
  87.78,                                    !- Rated Average Water Temperature {C}
  0.063,                                    !- Rated Water Mass Flow Rate {m3/s}
  HeatingDesignCapacity,                    !- Heating Design Capacity Method
  autosize,                                 !- Heating Design Capacity {W}
  ,                                         !- Heating Design Capacity Per Floor Area {W/m2}
  ,                                         !- Fraction of Autosized Heating Design Capacity
  autosize,                                 !- Maximum Water Flow Rate
  0.001,                                    !- Convergence Tolerance
  0.0,                                      !- Fraction Radiant
  0.0;                                      !- Fraction of Radiant Energy Incident on People

Branch,
  SPACE1-1 Baseboard Heat HW Branch,        !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  ZoneHVAC:Baseboard:RadiantConvective:Water,    !- Component Object Type
  SPACE1-1 Baseboard Heat,                  !- Component Name
  SPACE1-1 Baseboard HW Inlet,              !- Component Inlet Node Name
  SPACE1-1 Baseboard HW Outlet,             !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Boiler:HotWater,
  Main Boiler,                              !- Name
  NaturalGas,                               !- Fuel Type
  autosize,                                 !- Nominal Capacity {W}
  0.8,                                      !- Nominal Thermal Efficiency
  LeavingBoiler,                            !- Efficiency Curve Temperature Evaluation Variable
  Main Boiler Efficiency Curve,             !- Normalized Boiler Efficiency Curve Name
  81,                                       !- Design Boiler Water Outlet Temp {C}
  autosize,                                 !- Max Design Boiler Water Flow Rate {m3/s}
  0.0,                                      !- Minimum Part Load Ratio
  1.1,                                      !- Maximum Part Load Ratio
  1.0,                                      !- Optimum Part Load Ratio
  Main Boiler HW Inlet,                     !- Water Inlet Node Name
  Main Boiler HW Outlet,                    !- Water Outlet Node Name
  100.0,                                    !- Temp Upper Limit Water Outlet {C}
  ConstantFlow,                             !- Boiler Flow Mode
  0,                                        !- Parasitic Electric Load {W}
  1.0;                                      !- Sizing Factor

Curve:Quadratic,
  Main Boiler Efficiency Curve,             !- Name
  0.97,                                     !- Coefficient1 Constant
  0.0633,                                   !- Coefficient2 x
  -0.0333,                                  !- Coefficient3 x**2
  0.0,                                      !- Minimum Value of x
  1.0;                                      !- Maximum Value of x

Branch,
  Main Boiler HW Branch,                    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Boiler:HotWater,                          !- Component Object Type
  Main Boiler,                              !- Component Name
  Main Boiler HW Inlet,                     !- Component Inlet Node Name
  Main Boiler HW Outlet,                    !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Sizing:Plant,
  Hot Water Loop Hot Water Loop,            !- Plant or Condenser Loop Name
  Heating,                                  !- Loop Type
  82,                                       !- Design loop exit temperature {C}
  11.0;                                     !- Design loop delta T {deltaC}

PlantLoop,
  Hot Water Loop Hot Water Loop,            !- Name
  Water,                                    !- Fluid Type
  ,                                         !- User Defined Fluid Type
  Hot Water Loop Operation,                 !- PlantEquipmentOperationSchemes Name
  Hot Water Loop HW Supply Outlet,          !- Loop Temperature Setpoint Node Name
  100,                                      !- Maximum Loop Temperature {C}
  10,                                       !- Minimum Loop Temperature {C}
  autosize,                                 !- Maximum Loop Volumetric Flow Rate {m3/s}
  0,                                        !- Minimum Loop Volumetric Flow Rate {m3/s}
  autosize,                                 !- volume of the plant loop {m3}
  Hot Water Loop HW Supply Inlet,           !- Plant Side Inlet Node Name
  Hot Water Loop HW Supply Outlet,          !- Plant Side Outlet Node Name
  Hot Water Loop HW Supply Side Branches,   !- Plant Side Branch List Name
  Hot Water Loop HW Supply Side Connectors, !- Plant Side Connector List Name
  Hot Water Loop HW Demand Inlet,           !- Demand Side Inlet Node Name
  Hot Water Loop HW Demand Outlet,          !- Demand Side Outlet Node Name
  Hot Water Loop HW Demand Side Branches,   !- Demand Side Branch List Name
  Hot Water Loop HW Demand Side Connectors, !- Demand Side Connector List Name
  SequentialLoad,                           !- Load Distribution Scheme
  ,                                         !- AvailabilityManagerAssignmentList
  SingleSetpoint;                           !- Plant Loop Demand Calculation Scheme

PlantEquipmentOperationSchemes,
  Hot Water Loop Operation,                 !- Name
  PlantEquipmentOperation:HeatingLoad,      !- Control Scheme Object Type
  Hot Water Loop Operation All Hours,       !- Control Scheme Name
  HVACTemplate-Always 1;                    !- Control Scheme Schedule Name

PlantEquipmentOperation:HeatingLoad,
  Hot Water Loop Operation All Hours,       !- Name
  0,                                        !- Load Range Lower Limit 1 {W}
  1000000000000000,                         !- Load Range Upper Limit 1 {W}
  Hot Water Loop All Equipment;             !- Priority Control 1 Equipment List Name

PlantEquipmentList,
  Hot Water Loop All Equipment,             !- Name
  Boiler:HotWater,                          !- Equipment Object Type
  Main Boiler;                              !- Equipment Name

NodeList,
  Hot Water Loop HW Supply Setpoint Nodes,  !- Name
  Main Boiler HW Outlet,                    !- Node Name
  Hot Water Loop HW Supply Outlet;          !- Node Name

SetpointManager:OutdoorAirReset,
  Hot Water Loop HW Temp Manager,           !- Name
  Temperature,                              !- Control Variable
  82.2,                                     !- Set point at outside low {C}
  -6.7,                                     !- Outside low {C}
  65.6,                                     !- Set point at outside high {C}
  10,                                       !- Outside high {C}
  Hot Water Loop HW Supply Setpoint Nodes;  !- Setpoint Node or NodeList Name

BranchList,
  Hot Water Loop HW Supply Side Branches,   !- Name
  Hot Water Loop HW Supply Inlet Branch,    !- Name
  Main Boiler HW Branch,                    !- Branch Name
  Hot Water Loop HW Supply Bypass Branch,   !- Name
  Hot Water Loop HW Supply Outlet Branch;   !- Name

ConnectorList,
  Hot Water Loop HW Supply Side Connectors, !- Name
  Connector:Splitter,                       !- Connector Object Type
  Hot Water Loop HW Supply Splitter,        !- Connector Name
  Connector:Mixer,                          !- Connector Object Type
  Hot Water Loop HW Supply Mixer;           !- Connector Name

Connector:Splitter,
  Hot Water Loop HW Supply Splitter,        !- Name
  Hot Water Loop HW Supply Inlet Branch,    !- Inlet Branch Name
  Main Boiler HW Branch,                    !- Outlet Branch Name
  Hot Water Loop HW Supply Bypass Branch;   !- Outlet Branch Name

Connector:Mixer,
  Hot Water Loop HW Supply Mixer,           !- Name
  Hot Water Loop HW Supply Outlet Branch,   !- Outlet Branch Name
  Main Boiler HW Branch,                    !- Outlet Branch Name
  Hot Water Loop HW Supply Bypass Branch;   !- Inlet Branch Name

Branch,
  Hot Water Loop HW Supply Bypass Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Supply Side Bypass Pipe, !- Component Name
  Hot Water Loop HW Supply Bypass Inlet,    !- Component Inlet Node Name
  Hot Water Loop HW Supply Bypass Outlet,   !- Component Outlet Node Name
  Bypass;                                   !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Supply Side Bypass Pipe,!- Name
  Hot Water Loop HW Supply Bypass Inlet,    !- Inlet Node Name
  Hot Water Loop HW Supply Bypass Outlet;   !- Outlet Node Name

Pump:ConstantSpeed,
  Hot Water Loop HW Supply Pump,            !- Name
  Hot Water Loop HW Supply Inlet,           !- Inlet Node Name
  Hot Water Loop HW Pump Outlet,            !- Outlet Node Name
  autosize,                                 !- Rated Volumetric Flow Rate {m3/s}
  179352,                                   !- Rated Pump Head {Pa}
  autosize,                                 !- Rated Power Consumption {W}
  0.9,                                      !- Motor Efficiency
  0,                                        !- Fraction of Motor Inefficiencies to Fluid Stream
  INTERMITTENT,                             !- Pump Control Type
  ;                                         !- Pump Flow Rate Schedule Name

Branch,
  Hot Water Loop HW Supply Inlet Branch,    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pump:ConstantSpeed,                       !- Component Object Type
  Hot Water Loop HW Supply Pump,            !- Component Name
  Hot Water Loop HW Supply Inlet,           !- Component Inlet Node Name
  Hot Water Loop HW Pump Outlet,            !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Branch,
  Hot Water Loop HW Supply Outlet Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Supply Outlet Pipe,     !- Component Name
  Hot Water Loop HW Supply Outlet Pipe Inlet, !- Component Inlet Node Name
  Hot Water Loop HW Supply Outlet,          !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Supply Outlet Pipe,     !- Name
  Hot Water Loop HW Supply Outlet Pipe Inlet, !- Inlet Node Name
  Hot Water Loop HW Supply Outlet;          !- Outlet Node Name

BranchList,
  Hot Water Loop HW Demand Side Branches,   !- Name
  Hot Water Loop HW Demand Inlet Branch,    !- Name
  SPACE1-1 Baseboard Heat HW Branch,        !- Name
  Hot Water Loop HW Demand Bypass Branch,   !- Name
  Hot Water Loop HW Demand Outlet Branch;   !- Name

ConnectorList,
  Hot Water Loop HW Demand Side Connectors, !- Name
  Connector:Splitter,                       !- Connector Object Type
  Hot Water Loop HW Demand Splitter,        !- Connector Name
  Connector:Mixer,                          !- Connector Object Type
  Hot Water Loop HW Demand Mixer;           !- Connector Name

Connector:Splitter,
  Hot Water Loop HW Demand Splitter,        !- Name
  Hot Water Loop HW Demand Inlet Branch,    !- Inlet Branch Name
  Hot Water Loop HW Demand Bypass Branch,   !- Outlet Branch Name
  SPACE1-1 Baseboard Heat HW Branch;        !- Name

Connector:Mixer,
  Hot Water Loop HW Demand Mixer,           !- Name
  Hot Water Loop HW Demand Outlet Branch,   !- Outlet Branch Name
  Hot Water Loop HW Demand Bypass Branch,   !- Inlet Branch Name
  SPACE1-1 Baseboard Heat HW Branch;        !- Name

Branch,
  Hot Water Loop HW Demand Inlet Branch,    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Inlet Pipe,      !- Component Name
  Hot Water Loop HW Demand Inlet,           !- Component Inlet Node Name
  Hot Water Loop HW Demand Inlet Pipe Outlet, !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Inlet Pipe,      !- Name
  Hot Water Loop HW Demand Inlet,           !- Inlet Node Name
  Hot Water Loop HW Demand Inlet Pipe Outlet; !- Outlet Node Name

Branch,
  Hot Water Loop HW Demand Bypass Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Side Bypass Pipe, !- Component Name
  Hot Water Loop HW Demand Bypass Inlet,    !- Component Inlet Node Name
  Hot Water Loop HW Demand Bypass Outlet,   !- Component Outlet Node Name
  Bypass;                                   !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Side Bypass Pipe, !- Name
  Hot Water Loop HW Demand Bypass Inlet,    !- Inlet Node Name
  Hot Water Loop HW Demand Bypass Outlet;   !- Outlet Node Name

Branch,
  Hot Water Loop HW Demand Outlet Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Outlet Pipe,     !- Component Name
  Hot Water Loop HW Demand Outlet Pipe Inlet, !- Component Inlet Node Name
  Hot Water Loop HW Demand Outlet,          !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Outlet Pipe,     !- Name
  Hot Water Loop HW Demand Outlet Pipe Inlet, !- Inlet Node Name
  Hot Water Loop HW Demand Outlet;          !- Outlet Node Name

Site:GroundTemperature:BuildingSurface,
  21.5,                                     !- January Ground Temperature
  21.4,                                     !- February Ground Temperature
  21.5,                                     !- March Ground Temperature
  21.5,                                     !- April Ground Temperature
  22.0,                                     !- May Ground Temperature
  22.9,                                     !- June Ground Temperature
  23.0,                                     !- July Ground Temperature
  23.1,                                     !- August Ground Temperature
  23.1,                                     !- September Ground Temperature
  22.2,                                     !- October Ground Temperature
  21.7,                                     !- November Ground Temperature
  21.6;                                     !- December Ground Temperature

HVACTemplates are used to quickly create an HVAC system for a building with one or more zones. The only inputs required are zone name, specific schedules used to control the HVAC system, and minimal other inputs to describe the desired HVAC system.

To see how HVACTemplates work, review the example files with names starting with HVACTemplate*. I do not think a template exists for ZoneHVAC:LowTemperatureRadiant:ConstantFLow.

The current template expansion program supports the following objects. These are the plant, system, thermostat, and zone templates. Typically, one of each of these is required. The plant type is used when chilled or hot water loops are needed. If there are no plant loops, this template is not used. The system type is used for each HVAC system. The thermostat type is used to populate the zones with a thermostat. And finally, the zone type is used for zone equipment in each zone.

HVACTemplate:Plant:Boiler
HVACTemplate:Plant:Boiler:ObjectReference
HVACTemplate:Plant:ChilledWaterLoop
HVACTemplate:Plant:Chiller
HVACTemplate:Plant:Chiller:ObjectReference
HVACTemplate:Plant:HotWaterLoop
HVACTemplate:Plant:MixedWaterLoop
HVACTemplate:Plant:Tower
HVACTemplate:Plant:Tower:ObjectReference

HVACTemplate:System:ConstantVolume
HVACTemplate:System:DedicatedOutdoorAir
HVACTemplate:System:DualDuct
HVACTemplate:System:PackagedVAV
HVACTemplate:System:Unitary
HVACTemplate:System:UnitaryHeatPump:AirToAir
HVACTemplate:System:UnitarySystem
HVACTemplate:System:VAV
HVACTemplate:System:VRF

HVACTemplate:Thermostat

HVACTemplate:Zone:BaseboardHeat
HVACTemplate:Zone:ConstantVolume
HVACTemplate:Zone:DualDuct
HVACTemplate:Zone:FanCoil
HVACTemplate:Zone:IdealLoadsAirSystem
HVACTemplate:Zone:PTAC
HVACTemplate:Zone:PTHP
HVACTemplate:Zone:Unitary
HVACTemplate:Zone:VAV
HVACTemplate:Zone:VAV:FanPowered
HVACTemplate:Zone:VAV:HeatAndCool
HVACTemplate:Zone:VRF
HVACTemplate:Zone:WaterToAirHeatPump

Many other objects are created when using templates. For example, the HVACTemplate_5ZoneBaseboardHeat.idf file was modified (by removing 4 of the zone baseboard heat templates) to keep only a single zone template for the baseboard. This example system uses 4 template objects.

HVACTemplate:Thermostat,
HVACTemplate:Zone:BaseboardHeat,
HVACTemplate:Plant:HotWaterLoop,
HVACTemplate:Plant:Boiler,

When this simulation is executed, the template objects will be expanded to create all required objects for the HVAC system specified. The expanded system will be saved in the expidf file and can be viewed after the simulation completes. Template objects in the input file will be commented out, and the objects added due to expansion are added at the end of the input file.

The first 4 objects below are the HVACTemplates in the original (modified) file. In the expidf file, these are commented out since they are no longer needed and have been replaced with the required EnergyPlus objects. It is apparent from this example that using templates can save a significant amount of time setting up the HVAC system.

! 
!   HVACTemplate:Thermostat,
!     Heat Only,               !- Name
!     Htg-SetP-Sch,            !- Heating Setpoint Schedule Name
!     ,                        !- Constant Heating Setpoint {C}
!     No-Clg-SetP-Sch,         !- Cooling Setpoint Schedule Name
!     ;                        !- Constant Cooling Setpoint {C}
! 
!   HVACTemplate:Zone:BaseboardHeat,
!     SPACE1-1,                !- Zone Name
!     Heat Only,               !- Template Thermostat Name
!     ,                        !- Zone Heating Sizing Factor
!     HotWater,                !- Baseboard Heating Type
!     ,                        !- Baseboard Heating Availability Schedule Name
!     autosize,                !- Baseboard Heating Capacity {W}
!     ,                        !- Dedicated Outdoor Air System Name
!     Flow/Person,             !- Outdoor Air Method
!     ,                        !- Outdoor Air Flow Rate per Person {m3/s}
!     ,                        !- Outdoor Air Flow Rate per Zone Floor Area {m3/s-m2}
!     ;                        !- Outdoor Air Flow Rate per Zone {m3/s}
! 
!   HVACTemplate:Plant:HotWaterLoop,
!     Hot Water Loop,          !- Name
!     ,                        !- Pump Schedule Name
!     INTERMITTENT,            !- Pump Control Type
!     Default,                 !- Hot Water Plant Operation Scheme Type
!     ,                        !- Hot Water Plant Equipment Operation Schemes Name
!     ,                        !- Hot Water Setpoint Schedule Name
!     82,                      !- Hot Water Design Setpoint {C}
!     ConstantFlow,            !- Hot Water Pump Configuration
!     179352,                  !- Hot Water Pump Rated Head {Pa}
!     OutdoorAirTemperatureReset,  !- Hot Water Setpoint Reset Type
!     82.2,                    !- Hot Water Setpoint at Outdoor Dry-Bulb Low {C}
!     -6.7,                    !- Hot Water Reset Outdoor Dry-Bulb Low {C}
!     65.6,                    !- Hot Water Setpoint at Outdoor Dry-Bulb High {C}
!     10;                      !- Hot Water Reset Outdoor Dry-Bulb High {C}
! 
!   HVACTemplate:Plant:Boiler,
!     Main Boiler,             !- Name
!     HotWaterBoiler,          !- Boiler Type
!     autosize,                !- Capacity {W}
!     0.8,                     !- Efficiency
!     NaturalGas,              !- Fuel Type
!     1,                       !- Priority
!     ;                        !- Sizing Factor

! -------------------------------------------------------------
! New objects created from ExpandObjects
! -------------------------------------------------------------
! 

ScheduleTypeLimits,
  HVACTemplate Any Number;                  !- Name

ThermostatSetpoint:DualSetpoint,
  Heat Only Dual SP Control,                !- Name
  Htg-SetP-Sch,                             !- Heating Setpoint Temperature Schedule Name
  No-Clg-SetP-Sch;                          !- Cooling Setpoint Temperature Schedule Name

Schedule:Compact,
  HVACTemplate-Always 1,                    !- Name
  HVACTemplate Any Number,                  !- Schedule Type Limits Name
  Through: 12/31,                           !- Field 1
  For: AllDays,                             !- Field 2
  Until: 24:00,                             !- Field 3
  1;                                        !- Field 4

Schedule:Compact,
  HVACTemplate-Always 4,                    !- Name
  HVACTemplate Any Number,                  !- Schedule Type Limits Name
  Through: 12/31,                           !- Field 1
  For: AllDays,                             !- Field 2
  Until: 24:00,                             !- Field 3
  4;                                        !- Field 4

ZoneControl:Thermostat,
  SPACE1-1 Thermostat,                      !- Name
  SPACE1-1,                                 !- Zone or ZoneList Name
  HVACTemplate-Always 4,                    !- Control Type Schedule Name
  ThermostatSetpoint:DualSetpoint,          !- Control Object Type
  Heat Only Dual SP Control;                !- Control Name

Sizing:Zone,
  SPACE1-1,                  !- Zone or ZoneList Name
  SupplyAirTemperature,      !- Zone Cooling Design Supply Air Temperature Input Method
  12.5,                      !- Zone Cooling Design Supply Air Temperature {C}
  ,                          !- Zone Cooling Design Supply Air Temperature Difference {delta C}
  SupplyAirTemperature,      !- Zone Heating Design Supply Air Temperature Input Method
  50,                        !- Zone Heating Design Supply Air Temperature {C}
  ,                          !- Zone Heating Design Supply Air Temperature Difference {delta C}
  0.008,                     !- Zone Cooling Design Supply Air Humidity Ratio {kg-H20/kg-air}
  0.008,                     !- Zone Heating Design Supply Air Humidity Ratio {kg-H2O/kg-air}
  ,                          !- Design Specification Outdoor Air Object Name
  ,                          !- Zone Heating Sizing Factor
  ,                          !- Zone Cooling Sizing Factor
  DesignDay,                 !- Cooling Design Air Flow Method
  0,                         !- Cooling Design Air Flow Rate {m3/s}
  ,                          !- Cooling Minimum Air Flow per Zone Floor Area {m3/s-m2}
  ,                          !- Cooling Minimum Air Flow {m3/s}
  0,                         !- Cooling Minimum Air Flow Fraction {}
 DesignDay,                  !- Heating Design Air Flow Method
  0,                         !- Heating Design Air Flow Rate {m3/s}
  ,                          !- Heating Maximum Air Flow per Zone Floor Area {m3/s-m2}
  ,                          !- Heating Maximum Air Flow {m3/s}
  0,                         !- Heating Maximum Air Flow Fraction {}
  ;                          !- Design Specification Zone Air Distribution Object Name

ZoneHVAC:EquipmentConnections,
  SPACE1-1,                                 !- Zone Name
  SPACE1-1 Equipment,                       !- Zone Conditioning Equipment List Name
  ,                                         !- Zone Air Inlet Node or NodeList Name
  ,                                         !- Zone Air Exhaust Node or NodeList Name
  SPACE1-1 Zone Air Node,                   !- Zone Air Node Name
  SPACE1-1 Return Outlet;                   !- Zone Return Air Node Name

ZoneHVAC:EquipmentList,
  SPACE1-1 Equipment,                       !- Name
  ZoneHVAC:Baseboard:RadiantConvective:Water,    !- Zone Equipment Object Type
  SPACE1-1 Baseboard Heat,                  !- Zone Equipment Name
  1,                                        !- Zone Equipment Cooling Sequence
  1;                                        !- Zone Equipment Heating or No-Load Sequence

ZoneHVAC:Baseboard:RadiantConvective:Water,
  SPACE1-1 Baseboard Heat,                  !- Name
  ,                                         !- Availability Schedule Name
  SPACE1-1 Baseboard HW Inlet,              !- Inlet Node Name
  SPACE1-1 Baseboard HW Outlet,             !- Outlet Node Name
  87.78,                                    !- Rated Average Water Temperature {C}
  0.063,                                    !- Rated Water Mass Flow Rate {m3/s}
  HeatingDesignCapacity,                    !- Heating Design Capacity Method
  autosize,                                 !- Heating Design Capacity {W}
  ,                                         !- Heating Design Capacity Per Floor Area {W/m2}
  ,                                         !- Fraction of Autosized Heating Design Capacity
  autosize,                                 !- Maximum Water Flow Rate
  0.001,                                    !- Convergence Tolerance
  0.0,                                      !- Fraction Radiant
  0.0;                                      !- Fraction of Radiant Energy Incident on People

Branch,
  SPACE1-1 Baseboard Heat HW Branch,        !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  ZoneHVAC:Baseboard:RadiantConvective:Water,    !- Component Object Type
  SPACE1-1 Baseboard Heat,                  !- Component Name
  SPACE1-1 Baseboard HW Inlet,              !- Component Inlet Node Name
  SPACE1-1 Baseboard HW Outlet,             !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Boiler:HotWater,
  Main Boiler,                              !- Name
  NaturalGas,                               !- Fuel Type
  autosize,                                 !- Nominal Capacity {W}
  0.8,                                      !- Nominal Thermal Efficiency
  LeavingBoiler,                            !- Efficiency Curve Temperature Evaluation Variable
  Main Boiler Efficiency Curve,             !- Normalized Boiler Efficiency Curve Name
  81,                                       !- Design Boiler Water Outlet Temp {C}
  autosize,                                 !- Max Design Boiler Water Flow Rate {m3/s}
  0.0,                                      !- Minimum Part Load Ratio
  1.1,                                      !- Maximum Part Load Ratio
  1.0,                                      !- Optimum Part Load Ratio
  Main Boiler HW Inlet,                     !- Water Inlet Node Name
  Main Boiler HW Outlet,                    !- Water Outlet Node Name
  100.0,                                    !- Temp Upper Limit Water Outlet {C}
  ConstantFlow,                             !- Boiler Flow Mode
  0,                                        !- Parasitic Electric Load {W}
  1.0;                                      !- Sizing Factor

Curve:Quadratic,
  Main Boiler Efficiency Curve,             !- Name
  0.97,                                     !- Coefficient1 Constant
  0.0633,                                   !- Coefficient2 x
  -0.0333,                                  !- Coefficient3 x**2
  0.0,                                      !- Minimum Value of x
  1.0;                                      !- Maximum Value of x

Branch,
  Main Boiler HW Branch,                    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Boiler:HotWater,                          !- Component Object Type
  Main Boiler,                              !- Component Name
  Main Boiler HW Inlet,                     !- Component Inlet Node Name
  Main Boiler HW Outlet,                    !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Sizing:Plant,
  Hot Water Loop Hot Water Loop,            !- Plant or Condenser Loop Name
  Heating,                                  !- Loop Type
  82,                                       !- Design loop exit temperature {C}
  11.0;                                     !- Design loop delta T {deltaC}

PlantLoop,
  Hot Water Loop Hot Water Loop,            !- Name
  Water,                                    !- Fluid Type
  ,                                         !- User Defined Fluid Type
  Hot Water Loop Operation,                 !- PlantEquipmentOperationSchemes Name
  Hot Water Loop HW Supply Outlet,          !- Loop Temperature Setpoint Node Name
  100,                                      !- Maximum Loop Temperature {C}
  10,                                       !- Minimum Loop Temperature {C}
  autosize,                                 !- Maximum Loop Volumetric Flow Rate {m3/s}
  0,                                        !- Minimum Loop Volumetric Flow Rate {m3/s}
  autosize,                                 !- volume of the plant loop {m3}
  Hot Water Loop HW Supply Inlet,           !- Plant Side Inlet Node Name
  Hot Water Loop HW Supply Outlet,          !- Plant Side Outlet Node Name
  Hot Water Loop HW Supply Side Branches,   !- Plant Side Branch List Name
  Hot Water Loop HW Supply Side Connectors, !- Plant Side Connector List Name
  Hot Water Loop HW Demand Inlet,           !- Demand Side Inlet Node Name
  Hot Water Loop HW Demand Outlet,          !- Demand Side Outlet Node Name
  Hot Water Loop HW Demand Side Branches,   !- Demand Side Branch List Name
  Hot Water Loop HW Demand Side Connectors, !- Demand Side Connector List Name
  SequentialLoad,                           !- Load Distribution Scheme
  ,                                         !- AvailabilityManagerAssignmentList
  SingleSetpoint;                           !- Plant Loop Demand Calculation Scheme

PlantEquipmentOperationSchemes,
  Hot Water Loop Operation,                 !- Name
  PlantEquipmentOperation:HeatingLoad,      !- Control Scheme Object Type
  Hot Water Loop Operation All Hours,       !- Control Scheme Name
  HVACTemplate-Always 1;                    !- Control Scheme Schedule Name

PlantEquipmentOperation:HeatingLoad,
  Hot Water Loop Operation All Hours,       !- Name
  0,                                        !- Load Range Lower Limit 1 {W}
  1000000000000000,                         !- Load Range Upper Limit 1 {W}
  Hot Water Loop All Equipment;             !- Priority Control 1 Equipment List Name

PlantEquipmentList,
  Hot Water Loop All Equipment,             !- Name
  Boiler:HotWater,                          !- Equipment Object Type
  Main Boiler;                              !- Equipment Name

NodeList,
  Hot Water Loop HW Supply Setpoint Nodes,  !- Name
  Main Boiler HW Outlet,                    !- Node Name
  Hot Water Loop HW Supply Outlet;          !- Node Name

SetpointManager:OutdoorAirReset,
  Hot Water Loop HW Temp Manager,           !- Name
  Temperature,                              !- Control Variable
  82.2,                                     !- Set point at outside low {C}
  -6.7,                                     !- Outside low {C}
  65.6,                                     !- Set point at outside high {C}
  10,                                       !- Outside high {C}
  Hot Water Loop HW Supply Setpoint Nodes;  !- Setpoint Node or NodeList Name

BranchList,
  Hot Water Loop HW Supply Side Branches,   !- Name
  Hot Water Loop HW Supply Inlet Branch,    !- Name
  Main Boiler HW Branch,                    !- Branch Name
  Hot Water Loop HW Supply Bypass Branch,   !- Name
  Hot Water Loop HW Supply Outlet Branch;   !- Name

ConnectorList,
  Hot Water Loop HW Supply Side Connectors, !- Name
  Connector:Splitter,                       !- Connector Object Type
  Hot Water Loop HW Supply Splitter,        !- Connector Name
  Connector:Mixer,                          !- Connector Object Type
  Hot Water Loop HW Supply Mixer;           !- Connector Name

Connector:Splitter,
  Hot Water Loop HW Supply Splitter,        !- Name
  Hot Water Loop HW Supply Inlet Branch,    !- Inlet Branch Name
  Main Boiler HW Branch,                    !- Outlet Branch Name
  Hot Water Loop HW Supply Bypass Branch;   !- Outlet Branch Name

Connector:Mixer,
  Hot Water Loop HW Supply Mixer,           !- Name
  Hot Water Loop HW Supply Outlet Branch,   !- Outlet Branch Name
  Main Boiler HW Branch,                    !- Outlet Branch Name
  Hot Water Loop HW Supply Bypass Branch;   !- Inlet Branch Name

Branch,
  Hot Water Loop HW Supply Bypass Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Supply Side Bypass Pipe, !- Component Name
  Hot Water Loop HW Supply Bypass Inlet,    !- Component Inlet Node Name
  Hot Water Loop HW Supply Bypass Outlet,   !- Component Outlet Node Name
  Bypass;                                   !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Supply Side Bypass Pipe,!- Name
  Hot Water Loop HW Supply Bypass Inlet,    !- Inlet Node Name
  Hot Water Loop HW Supply Bypass Outlet;   !- Outlet Node Name

Pump:ConstantSpeed,
  Hot Water Loop HW Supply Pump,            !- Name
  Hot Water Loop HW Supply Inlet,           !- Inlet Node Name
  Hot Water Loop HW Pump Outlet,            !- Outlet Node Name
  autosize,                                 !- Rated Volumetric Flow Rate {m3/s}
  179352,                                   !- Rated Pump Head {Pa}
  autosize,                                 !- Rated Power Consumption {W}
  0.9,                                      !- Motor Efficiency
  0,                                        !- Fraction of Motor Inefficiencies to Fluid Stream
  INTERMITTENT,                             !- Pump Control Type
  ;                                         !- Pump Flow Rate Schedule Name

Branch,
  Hot Water Loop HW Supply Inlet Branch,    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pump:ConstantSpeed,                       !- Component Object Type
  Hot Water Loop HW Supply Pump,            !- Component Name
  Hot Water Loop HW Supply Inlet,           !- Component Inlet Node Name
  Hot Water Loop HW Pump Outlet,            !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Branch,
  Hot Water Loop HW Supply Outlet Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Supply Outlet Pipe,     !- Component Name
  Hot Water Loop HW Supply Outlet Pipe Inlet, !- Component Inlet Node Name
  Hot Water Loop HW Supply Outlet,          !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Supply Outlet Pipe,     !- Name
  Hot Water Loop HW Supply Outlet Pipe Inlet, !- Inlet Node Name
  Hot Water Loop HW Supply Outlet;          !- Outlet Node Name

BranchList,
  Hot Water Loop HW Demand Side Branches,   !- Name
  Hot Water Loop HW Demand Inlet Branch,    !- Name
  SPACE1-1 Baseboard Heat HW Branch,        !- Name
  Hot Water Loop HW Demand Bypass Branch,   !- Name
  Hot Water Loop HW Demand Outlet Branch;   !- Name

ConnectorList,
  Hot Water Loop HW Demand Side Connectors, !- Name
  Connector:Splitter,                       !- Connector Object Type
  Hot Water Loop HW Demand Splitter,        !- Connector Name
  Connector:Mixer,                          !- Connector Object Type
  Hot Water Loop HW Demand Mixer;           !- Connector Name

Connector:Splitter,
  Hot Water Loop HW Demand Splitter,        !- Name
  Hot Water Loop HW Demand Inlet Branch,    !- Inlet Branch Name
  Hot Water Loop HW Demand Bypass Branch,   !- Outlet Branch Name
  SPACE1-1 Baseboard Heat HW Branch;        !- Name

Connector:Mixer,
  Hot Water Loop HW Demand Mixer,           !- Name
  Hot Water Loop HW Demand Outlet Branch,   !- Outlet Branch Name
  Hot Water Loop HW Demand Bypass Branch,   !- Inlet Branch Name
  SPACE1-1 Baseboard Heat HW Branch;        !- Name

Branch,
  Hot Water Loop HW Demand Inlet Branch,    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Inlet Pipe,      !- Component Name
  Hot Water Loop HW Demand Inlet,           !- Component Inlet Node Name
  Hot Water Loop HW Demand Inlet Pipe Outlet, !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Inlet Pipe,      !- Name
  Hot Water Loop HW Demand Inlet,           !- Inlet Node Name
  Hot Water Loop HW Demand Inlet Pipe Outlet; !- Outlet Node Name

Branch,
  Hot Water Loop HW Demand Bypass Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Side Bypass Pipe, !- Component Name
  Hot Water Loop HW Demand Bypass Inlet,    !- Component Inlet Node Name
  Hot Water Loop HW Demand Bypass Outlet,   !- Component Outlet Node Name
  Bypass;                                   !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Side Bypass Pipe, !- Name
  Hot Water Loop HW Demand Bypass Inlet,    !- Inlet Node Name
  Hot Water Loop HW Demand Bypass Outlet;   !- Outlet Node Name

Branch,
  Hot Water Loop HW Demand Outlet Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Outlet Pipe,     !- Component Name
  Hot Water Loop HW Demand Outlet Pipe Inlet, !- Component Inlet Node Name
  Hot Water Loop HW Demand Outlet,          !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Outlet Pipe,     !- Name
  Hot Water Loop HW Demand Outlet Pipe Inlet, !- Inlet Node Name
  Hot Water Loop HW Demand Outlet;          !- Outlet Node Name

Site:GroundTemperature:BuildingSurface,
  21.5,                                     !- January Ground Temperature
  21.4,                                     !- February Ground Temperature
  21.5,                                     !- March Ground Temperature
  21.5,                                     !- April Ground Temperature
  22.0,                                     !- May Ground Temperature
  22.9,                                     !- June Ground Temperature
  23.0,                                     !- July Ground Temperature
  23.1,                                     !- August Ground Temperature
  23.1,                                     !- September Ground Temperature
  22.2,                                     !- October Ground Temperature
  21.7,                                     !- November Ground Temperature
  21.6;                                     !- December Ground Temperature

HVACTemplates are used to quickly create an HVAC system for a building with one or more zones. The only inputs required are zone name, specific schedules used to control the HVAC system, and minimal other inputs to describe the desired HVAC system.

To see how HVACTemplates work, review the example files with names starting with HVACTemplate*. I do not think a template exists for ZoneHVAC:LowTemperatureRadiant:ConstantFLow.

The current template expansion program supports the following objects. These are the plant, system, thermostat, and zone templates. Typically, one of each of these is required. The plant type is used when chilled or hot water loops are needed. If there are no plant loops, this template is not used. The system type is used for each HVAC system. The thermostat type is used to populate the zones with a thermostat. And finally, the zone type is used for zone equipment in each zone.

HVACTemplate:Plant:Boiler
HVACTemplate:Plant:Boiler:ObjectReference
HVACTemplate:Plant:ChilledWaterLoop
HVACTemplate:Plant:Chiller
HVACTemplate:Plant:Chiller:ObjectReference
HVACTemplate:Plant:HotWaterLoop
HVACTemplate:Plant:MixedWaterLoop
HVACTemplate:Plant:Tower
HVACTemplate:Plant:Tower:ObjectReference

HVACTemplate:System:ConstantVolume
HVACTemplate:System:DedicatedOutdoorAir
HVACTemplate:System:DualDuct
HVACTemplate:System:PackagedVAV
HVACTemplate:System:Unitary
HVACTemplate:System:UnitaryHeatPump:AirToAir
HVACTemplate:System:UnitarySystem
HVACTemplate:System:VAV
HVACTemplate:System:VRF

HVACTemplate:Thermostat

HVACTemplate:Zone:BaseboardHeat
HVACTemplate:Zone:ConstantVolume
HVACTemplate:Zone:DualDuct
HVACTemplate:Zone:FanCoil
HVACTemplate:Zone:IdealLoadsAirSystem
HVACTemplate:Zone:PTAC
HVACTemplate:Zone:PTHP
HVACTemplate:Zone:Unitary
HVACTemplate:Zone:VAV
HVACTemplate:Zone:VAV:FanPowered
HVACTemplate:Zone:VAV:HeatAndCool
HVACTemplate:Zone:VRF
HVACTemplate:Zone:WaterToAirHeatPump

Many other objects are created when using templates. For example, the HVACTemplate_5ZoneBaseboardHeat.idf file was modified (by removing 4 of the zone baseboard heat templates) to keep only a single zone template for the baseboard. This example system uses 4 template objects.

HVACTemplate:Thermostat,
HVACTemplate:Zone:BaseboardHeat,
HVACTemplate:Plant:HotWaterLoop,
HVACTemplate:Plant:Boiler,

When this simulation is executed, the template objects will be expanded to create all required objects for the HVAC system specified. The expanded system will be saved in the expidf file and can be viewed after the simulation completes. Template objects in the input file will be commented out, and the objects added due to expansion are added at the end of the input file.

The first 4 objects below are the HVACTemplates in the original (modified) file. In the expidf file, these are commented out since they are no longer needed and have been replaced with the required EnergyPlus objects. It is apparent from this example that using templates can save a significant amount of time setting up the HVAC system.

! 
!   HVACTemplate:Thermostat,
!     Heat Only,               !- Name
!     Htg-SetP-Sch,            !- Heating Setpoint Schedule Name
!     ,                        !- Constant Heating Setpoint {C}
!     No-Clg-SetP-Sch,         !- Cooling Setpoint Schedule Name
!     ;                        !- Constant Cooling Setpoint {C}
! 
!   HVACTemplate:Zone:BaseboardHeat,
!     SPACE1-1,                !- Zone Name
!     Heat Only,               !- Template Thermostat Name
!     ,                        !- Zone Heating Sizing Factor
!     HotWater,                !- Baseboard Heating Type
!     ,                        !- Baseboard Heating Availability Schedule Name
!     autosize,                !- Baseboard Heating Capacity {W}
!     ,                        !- Dedicated Outdoor Air System Name
!     Flow/Person,             !- Outdoor Air Method
!     ,                        !- Outdoor Air Flow Rate per Person {m3/s}
!     ,                        !- Outdoor Air Flow Rate per Zone Floor Area {m3/s-m2}
!     ;                        !- Outdoor Air Flow Rate per Zone {m3/s}
! 
!   HVACTemplate:Plant:HotWaterLoop,
!     Hot Water Loop,          !- Name
!     ,                        !- Pump Schedule Name
!     INTERMITTENT,            !- Pump Control Type
!     Default,                 !- Hot Water Plant Operation Scheme Type
!     ,                        !- Hot Water Plant Equipment Operation Schemes Name
!     ,                        !- Hot Water Setpoint Schedule Name
!     82,                      !- Hot Water Design Setpoint {C}
!     ConstantFlow,            !- Hot Water Pump Configuration
!     179352,                  !- Hot Water Pump Rated Head {Pa}
!     OutdoorAirTemperatureReset,  !- Hot Water Setpoint Reset Type
!     82.2,                    !- Hot Water Setpoint at Outdoor Dry-Bulb Low {C}
!     -6.7,                    !- Hot Water Reset Outdoor Dry-Bulb Low {C}
!     65.6,                    !- Hot Water Setpoint at Outdoor Dry-Bulb High {C}
!     10;                      !- Hot Water Reset Outdoor Dry-Bulb High {C}
! 
!   HVACTemplate:Plant:Boiler,
!     Main Boiler,             !- Name
!     HotWaterBoiler,          !- Boiler Type
!     autosize,                !- Capacity {W}
!     0.8,                     !- Efficiency
!     NaturalGas,              !- Fuel Type
!     1,                       !- Priority
!     ;                        !- Sizing Factor

! -------------------------------------------------------------
! New objects created from ExpandObjects
! -------------------------------------------------------------
! 

ScheduleTypeLimits,
  HVACTemplate Any Number;                  !- Name

ThermostatSetpoint:DualSetpoint,
  Heat Only Dual SP Control,                !- Name
  Htg-SetP-Sch,                             !- Heating Setpoint Temperature Schedule Name
  No-Clg-SetP-Sch;                          !- Cooling Setpoint Temperature Schedule Name

Schedule:Compact,
  HVACTemplate-Always 1,                    !- Name
  HVACTemplate Any Number,                  !- Schedule Type Limits Name
  Through: 12/31,                           !- Field 1
  For: AllDays,                             !- Field 2
  Until: 24:00,                             !- Field 3
  1;                                        !- Field 4

Schedule:Compact,
  HVACTemplate-Always 4,                    !- Name
  HVACTemplate Any Number,                  !- Schedule Type Limits Name
  Through: 12/31,                           !- Field 1
  For: AllDays,                             !- Field 2
  Until: 24:00,                             !- Field 3
  4;                                        !- Field 4

ZoneControl:Thermostat,
  SPACE1-1 Thermostat,                      !- Name
  SPACE1-1,                                 !- Zone or ZoneList Name
  HVACTemplate-Always 4,                    !- Control Type Schedule Name
  ThermostatSetpoint:DualSetpoint,          !- Control Object Type
  Heat Only Dual SP Control;                !- Control Name

Sizing:Zone,
  SPACE1-1,                 !- Zone or ZoneList Name
  SupplyAirTemperature,     !- Zone Cooling Design Supply Air Temperature Input Method
  12.5,                     !- Zone Cooling Design Supply Air Temperature {C}
  ,                         !- Zone Cooling Design Supply Air Temperature Difference {delta C}
  SupplyAirTemperature,     !- Zone Heating Design Supply Air Temperature Input Method
  50,                       !- Zone Heating Design Supply Air Temperature {C}
  ,                         !- Zone Heating Design Supply Air Temperature Difference {delta C}
  0.008,                    !- Zone Cooling Design Supply Air Humidity Ratio {kg-H20/kg-air}
  0.008,                    !- Zone Heating Design Supply Air Humidity Ratio {kg-H2O/kg-air}
  ,                         !- Design Specification Outdoor Air Object Name
  ,                         !- Zone Heating Sizing Factor
  ,                         !- Zone Cooling Sizing Factor
  DesignDay,                !- Cooling Design Air Flow Method
  0,                        !- Cooling Design Air Flow Rate {m3/s}
  ,                         !- Cooling Minimum Air Flow per Zone Floor Area {m3/s-m2}
  ,                         !- Cooling Minimum Air Flow {m3/s}
  0,                        !- Cooling Minimum Air Flow Fraction {}
 DesignDay,                 !- Heating Design Air Flow Method
  0,                        !- Heating Design Air Flow Rate {m3/s}
  ,                         !- Heating Maximum Air Flow per Zone Floor Area {m3/s-m2}
  ,                         !- Heating Maximum Air Flow {m3/s}
  0,                        !- Heating Maximum Air Flow Fraction {}
  ;                         !- Design Specification Zone Air Distribution Object Name

ZoneHVAC:EquipmentConnections,
  SPACE1-1,                                 !- Zone Name
  SPACE1-1 Equipment,                       !- Zone Conditioning Equipment List Name
  ,                                         !- Zone Air Inlet Node or NodeList Name
  ,                                         !- Zone Air Exhaust Node or NodeList Name
  SPACE1-1 Zone Air Node,                   !- Zone Air Node Name
  SPACE1-1 Return Outlet;                   !- Zone Return Air Node Name

ZoneHVAC:EquipmentList,
  SPACE1-1 Equipment,                       !- Name
  ZoneHVAC:Baseboard:RadiantConvective:Water,    !- Zone Equipment Object Type
  SPACE1-1 Baseboard Heat,                  !- Zone Equipment Name
  1,                                        !- Zone Equipment Cooling Sequence
  1;                                        !- Zone Equipment Heating or No-Load Sequence

ZoneHVAC:Baseboard:RadiantConvective:Water,
  SPACE1-1 Baseboard Heat,                  !- Name
  ,                                         !- Availability Schedule Name
  SPACE1-1 Baseboard HW Inlet,              !- Inlet Node Name
  SPACE1-1 Baseboard HW Outlet,             !- Outlet Node Name
  87.78,                                    !- Rated Average Water Temperature {C}
  0.063,                                    !- Rated Water Mass Flow Rate {m3/s}
  HeatingDesignCapacity,                    !- Heating Design Capacity Method
  autosize,                                 !- Heating Design Capacity {W}
  ,                                         !- Heating Design Capacity Per Floor Area {W/m2}
  ,                                         !- Fraction of Autosized Heating Design Capacity
  autosize,                                 !- Maximum Water Flow Rate
  0.001,                                    !- Convergence Tolerance
  0.0,                                      !- Fraction Radiant
  0.0;                                      !- Fraction of Radiant Energy Incident on People

Branch,
  SPACE1-1 Baseboard Heat HW Branch,        !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  ZoneHVAC:Baseboard:RadiantConvective:Water,    !- Component Object Type
  SPACE1-1 Baseboard Heat,                  !- Component Name
  SPACE1-1 Baseboard HW Inlet,              !- Component Inlet Node Name
  SPACE1-1 Baseboard HW Outlet,             !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Boiler:HotWater,
  Main Boiler,                            !- Name
  NaturalGas,                             !- Fuel Type
  autosize,                               !- Nominal Capacity {W}
  0.8,                                    !- Nominal Thermal Efficiency
  LeavingBoiler,                          !- Efficiency Curve Temperature Evaluation Variable
  Main Boiler Efficiency Curve,           !- Normalized Boiler Efficiency Curve Name
  81,                                     !- Design Boiler Water Outlet Temp {C}
  autosize,                               !- Max Design Boiler Water Flow Rate {m3/s}
  0.0,                                    !- Minimum Part Load Ratio
  1.1,                                    !- Maximum Part Load Ratio
  1.0,                                    !- Optimum Part Load Ratio
  Main Boiler HW Inlet,                   !- Water Inlet Node Name
  Main Boiler HW Outlet,                  !- Water Outlet Node Name
  100.0,                                  !- Temp Upper Limit Water Outlet {C}
  ConstantFlow,                           !- Boiler Flow Mode
  0,                                      !- Parasitic Electric Load {W}
  1.0;                                    !- Sizing Factor

Curve:Quadratic,
  Main Boiler Efficiency Curve,             !- Name
  0.97,                                     !- Coefficient1 Constant
  0.0633,                                   !- Coefficient2 x
  -0.0333,                                  !- Coefficient3 x**2
  0.0,                                      !- Minimum Value of x
  1.0;                                      !- Maximum Value of x

Branch,
  Main Boiler HW Branch,                    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Boiler:HotWater,                          !- Component Object Type
  Main Boiler,                              !- Component Name
  Main Boiler HW Inlet,                     !- Component Inlet Node Name
  Main Boiler HW Outlet,                    !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Sizing:Plant,
  Hot Water Loop Hot Water Loop,            !- Plant or Condenser Loop Name
  Heating,                                  !- Loop Type
  82,                                       !- Design loop exit temperature {C}
  11.0;                                     !- Design loop delta T {deltaC}

PlantLoop,
  Hot Water Loop Hot Water Loop,            !- Name
  Water,                                    !- Fluid Type
  ,                                         !- User Defined Fluid Type
  Hot Water Loop Operation,                 !- PlantEquipmentOperationSchemes Name
  Hot Water Loop HW Supply Outlet,          !- Loop Temperature Setpoint Node Name
  100,                                      !- Maximum Loop Temperature {C}
  10,                                       !- Minimum Loop Temperature {C}
  autosize,                                 !- Maximum Loop Volumetric Flow Rate {m3/s}
  0,                                        !- Minimum Loop Volumetric Flow Rate {m3/s}
  autosize,                                 !- volume of the plant loop {m3}
  Hot Water Loop HW Supply Inlet,           !- Plant Side Inlet Node Name
  Hot Water Loop HW Supply Outlet,          !- Plant Side Outlet Node Name
  Hot Water Loop HW Supply Side Branches,   !- Plant Side Branch List Name
  Hot Water Loop HW Supply Side Connectors, !- Plant Side Connector List Name
  Hot Water Loop HW Demand Inlet,           !- Demand Side Inlet Node Name
  Hot Water Loop HW Demand Outlet,          !- Demand Side Outlet Node Name
  Hot Water Loop HW Demand Side Branches,   !- Demand Side Branch List Name
  Hot Water Loop HW Demand Side Connectors, !- Demand Side Connector List Name
  SequentialLoad,                           !- Load Distribution Scheme
  ,                                         !- AvailabilityManagerAssignmentList
  SingleSetpoint;                           !- Plant Loop Demand Calculation Scheme

PlantEquipmentOperationSchemes,
  Hot Water Loop Operation,                 !- Name
  PlantEquipmentOperation:HeatingLoad,      !- Control Scheme Object Type
  Hot Water Loop Operation All Hours,       !- Control Scheme Name
  HVACTemplate-Always 1;                    !- Control Scheme Schedule Name

PlantEquipmentOperation:HeatingLoad,
  Hot Water Loop Operation All Hours,       !- Name
  0,                                        !- Load Range Lower Limit 1 {W}
  1000000000000000,                         !- Load Range Upper Limit 1 {W}
  Hot Water Loop All Equipment;             !- Priority Control 1 Equipment List Name

PlantEquipmentList,
  Hot Water Loop All Equipment,             !- Name
  Boiler:HotWater,                          !- Equipment Object Type
  Main Boiler;                              !- Equipment Name

NodeList,
  Hot Water Loop HW Supply Setpoint Nodes,  !- Name
  Main Boiler HW Outlet,                    !- Node Name
  Hot Water Loop HW Supply Outlet;          !- Node Name

SetpointManager:OutdoorAirReset,
  Hot Water Loop HW Temp Manager,           !- Name
  Temperature,                              !- Control Variable
  82.2,                                     !- Set point at outside low {C}
  -6.7,                                     !- Outside low {C}
  65.6,                                     !- Set point at outside high {C}
  10,                                       !- Outside high {C}
  Hot Water Loop HW Supply Setpoint Nodes;  !- Setpoint Node or NodeList Name

BranchList,
  Hot Water Loop HW Supply Side Branches,   !- Name
  Hot Water Loop HW Supply Inlet Branch,    !- Name
  Main Boiler HW Branch,                    !- Branch Name
  Hot Water Loop HW Supply Bypass Branch,   !- Name
  Hot Water Loop HW Supply Outlet Branch;   !- Name

ConnectorList,
  Hot Water Loop HW Supply Side Connectors, !- Name
  Connector:Splitter,                       !- Connector Object Type
  Hot Water Loop HW Supply Splitter,        !- Connector Name
  Connector:Mixer,                          !- Connector Object Type
  Hot Water Loop HW Supply Mixer;           !- Connector Name

Connector:Splitter,
  Hot Water Loop HW Supply Splitter,        !- Name
  Hot Water Loop HW Supply Inlet Branch,    !- Inlet Branch Name
  Main Boiler HW Branch,                    !- Outlet Branch Name
  Hot Water Loop HW Supply Bypass Branch;   !- Outlet Branch Name

Connector:Mixer,
  Hot Water Loop HW Supply Mixer,           !- Name
  Hot Water Loop HW Supply Outlet Branch,   !- Outlet Branch Name
  Main Boiler HW Branch,                    !- Outlet Branch Name
  Hot Water Loop HW Supply Bypass Branch;   !- Inlet Branch Name

Branch,
  Hot Water Loop HW Supply Bypass Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Supply Side Bypass Pipe, !- Component Name
  Hot Water Loop HW Supply Bypass Inlet,    !- Component Inlet Node Name
  Hot Water Loop HW Supply Bypass Outlet,   !- Component Outlet Node Name
  Bypass;                                   !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Supply Side Bypass Pipe,!- Name
  Hot Water Loop HW Supply Bypass Inlet,    !- Inlet Node Name
  Hot Water Loop HW Supply Bypass Outlet;   !- Outlet Node Name

Pump:ConstantSpeed,
  Hot Water Loop HW Supply Pump,          !- Name
  Hot Water Loop HW Supply Inlet,         !- Inlet Node Name
  Hot Water Loop HW Pump Outlet,          !- Outlet Node Name
  autosize,                               !- Rated Volumetric Flow Rate {m3/s}
  179352,                                 !- Rated Pump Head {Pa}
  autosize,                               !- Rated Power Consumption {W}
  0.9,                                    !- Motor Efficiency
  0,                                      !- Fraction of Motor Inefficiencies to Fluid Stream
  INTERMITTENT,                           !- Pump Control Type
  ;                                       !- Pump Flow Rate Schedule Name

Branch,
  Hot Water Loop HW Supply Inlet Branch,    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pump:ConstantSpeed,                       !- Component Object Type
  Hot Water Loop HW Supply Pump,            !- Component Name
  Hot Water Loop HW Supply Inlet,           !- Component Inlet Node Name
  Hot Water Loop HW Pump Outlet,            !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Branch,
  Hot Water Loop HW Supply Outlet Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Supply Outlet Pipe,     !- Component Name
  Hot Water Loop HW Supply Outlet Pipe Inlet, !- Component Inlet Node Name
  Hot Water Loop HW Supply Outlet,          !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Supply Outlet Pipe,     !- Name
  Hot Water Loop HW Supply Outlet Pipe Inlet, !- Inlet Node Name
  Hot Water Loop HW Supply Outlet;          !- Outlet Node Name

BranchList,
  Hot Water Loop HW Demand Side Branches,   !- Name
  Hot Water Loop HW Demand Inlet Branch,    !- Name
  SPACE1-1 Baseboard Heat HW Branch,        !- Name
  Hot Water Loop HW Demand Bypass Branch,   !- Name
  Hot Water Loop HW Demand Outlet Branch;   !- Name

ConnectorList,
  Hot Water Loop HW Demand Side Connectors, !- Name
  Connector:Splitter,                       !- Connector Object Type
  Hot Water Loop HW Demand Splitter,        !- Connector Name
  Connector:Mixer,                          !- Connector Object Type
  Hot Water Loop HW Demand Mixer;           !- Connector Name

Connector:Splitter,
  Hot Water Loop HW Demand Splitter,        !- Name
  Hot Water Loop HW Demand Inlet Branch,    !- Inlet Branch Name
  Hot Water Loop HW Demand Bypass Branch,   !- Outlet Branch Name
  SPACE1-1 Baseboard Heat HW Branch;        !- Name

Connector:Mixer,
  Hot Water Loop HW Demand Mixer,           !- Name
  Hot Water Loop HW Demand Outlet Branch,   !- Outlet Branch Name
  Hot Water Loop HW Demand Bypass Branch,   !- Inlet Branch Name
  SPACE1-1 Baseboard Heat HW Branch;        !- Name

Branch,
  Hot Water Loop HW Demand Inlet Branch,    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Inlet Pipe,      !- Component Name
  Hot Water Loop HW Demand Inlet,           !- Component Inlet Node Name
  Hot Water Loop HW Demand Inlet Pipe Outlet, !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Inlet Pipe,      !- Name
  Hot Water Loop HW Demand Inlet,           !- Inlet Node Name
  Hot Water Loop HW Demand Inlet Pipe Outlet; !- Outlet Node Name

Branch,
  Hot Water Loop HW Demand Bypass Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Side Bypass Pipe, !- Component Name
  Hot Water Loop HW Demand Bypass Inlet,    !- Component Inlet Node Name
  Hot Water Loop HW Demand Bypass Outlet,   !- Component Outlet Node Name
  Bypass;                                   !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Side Bypass Pipe, !- Name
  Hot Water Loop HW Demand Bypass Inlet,    !- Inlet Node Name
  Hot Water Loop HW Demand Bypass Outlet;   !- Outlet Node Name

Branch,
  Hot Water Loop HW Demand Outlet Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Outlet Pipe,     !- Component Name
  Hot Water Loop HW Demand Outlet Pipe Inlet, !- Component Inlet Node Name
  Hot Water Loop HW Demand Outlet,          !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Outlet Pipe,     !- Name
  Hot Water Loop HW Demand Outlet Pipe Inlet, !- Inlet Node Name
  Hot Water Loop HW Demand Outlet;          !- Outlet Node Name

Site:GroundTemperature:BuildingSurface,
  21.5,                                     !- January Ground Temperature
  21.4,                                     !- February Ground Temperature
  21.5,                                     !- March Ground Temperature
  21.5,                                     !- April Ground Temperature
  22.0,                                     !- May Ground Temperature
  22.9,                                     !- June Ground Temperature
  23.0,                                     !- July Ground Temperature
  23.1,                                     !- August Ground Temperature
  23.1,                                     !- September Ground Temperature
  22.2,                                     !- October Ground Temperature
  21.7,                                     !- November Ground Temperature
  21.6;                                     !- December Ground Temperature

HVACTemplates are used to quickly create an HVAC system for a building with one or more zones. The only inputs required are zone name, specific schedules used to control the HVAC system, and minimal other inputs to describe the desired HVAC system.

To see how HVACTemplates work, review the example files with names starting with HVACTemplate*. I do not think a template exists for ZoneHVAC:LowTemperatureRadiant:ConstantFLow.

The current template expansion program supports the following objects. These are the plant, system, thermostat, and zone templates. Typically, one of each of these is required. The plant type is used when chilled or hot water loops are needed. If there are no plant loops, this template is not used. The system type is used for each HVAC system. system configured as air loop equipment. The thermostat type is used to populate the zones with a thermostat. And finally, the zone type is used for zone equipment in each zone.

HVACTemplate:Plant:Boiler
HVACTemplate:Plant:Boiler:ObjectReference
HVACTemplate:Plant:ChilledWaterLoop
HVACTemplate:Plant:Chiller
HVACTemplate:Plant:Chiller:ObjectReference
HVACTemplate:Plant:HotWaterLoop
HVACTemplate:Plant:MixedWaterLoop
HVACTemplate:Plant:Tower
HVACTemplate:Plant:Tower:ObjectReference

HVACTemplate:System:ConstantVolume
HVACTemplate:System:DedicatedOutdoorAir
HVACTemplate:System:DualDuct
HVACTemplate:System:PackagedVAV
HVACTemplate:System:Unitary
HVACTemplate:System:UnitaryHeatPump:AirToAir
HVACTemplate:System:UnitarySystem
HVACTemplate:System:VAV
HVACTemplate:System:VRF

HVACTemplate:Thermostat

HVACTemplate:Zone:BaseboardHeat
HVACTemplate:Zone:ConstantVolume
HVACTemplate:Zone:DualDuct
HVACTemplate:Zone:FanCoil
HVACTemplate:Zone:IdealLoadsAirSystem
HVACTemplate:Zone:PTAC
HVACTemplate:Zone:PTHP
HVACTemplate:Zone:Unitary
HVACTemplate:Zone:VAV
HVACTemplate:Zone:VAV:FanPowered
HVACTemplate:Zone:VAV:HeatAndCool
HVACTemplate:Zone:VRF
HVACTemplate:Zone:WaterToAirHeatPump

Many other objects are created when using templates. For example, the HVACTemplate_5ZoneBaseboardHeat.idf file was modified (by removing 4 of the zone baseboard heat templates) to keep only a single zone template for the baseboard. This example system uses 4 template objects.

HVACTemplate:Thermostat,
HVACTemplate:Zone:BaseboardHeat,
HVACTemplate:Plant:HotWaterLoop,
HVACTemplate:Plant:Boiler,

When this simulation is executed, the template objects will be expanded to create all required objects for the HVAC system specified. The expanded system will be saved in the expidf file and can be viewed after the simulation completes. Template objects in the input file will be commented out, and the objects added due to expansion are added at the end of the input file.

The first 4 objects below are the HVACTemplates in the original (modified) file. In the expidf file, these are commented out since they are no longer needed and have been replaced with the required EnergyPlus objects. It is apparent from this example that using templates can save a significant amount of time setting up the HVAC system.

! 
!   HVACTemplate:Thermostat,
!     Heat Only,               !- Name
!     Htg-SetP-Sch,            !- Heating Setpoint Schedule Name
!     ,                        !- Constant Heating Setpoint {C}
!     No-Clg-SetP-Sch,         !- Cooling Setpoint Schedule Name
!     ;                        !- Constant Cooling Setpoint {C}
! 
!   HVACTemplate:Zone:BaseboardHeat,
!     SPACE1-1,                !- Zone Name
!     Heat Only,               !- Template Thermostat Name
!     ,                        !- Zone Heating Sizing Factor
!     HotWater,                !- Baseboard Heating Type
!     ,                        !- Baseboard Heating Availability Schedule Name
!     autosize,                !- Baseboard Heating Capacity {W}
!     ,                        !- Dedicated Outdoor Air System Name
!     Flow/Person,             !- Outdoor Air Method
!     ,                        !- Outdoor Air Flow Rate per Person {m3/s}
!     ,                        !- Outdoor Air Flow Rate per Zone Floor Area {m3/s-m2}
!     ;                        !- Outdoor Air Flow Rate per Zone {m3/s}
! 
!   HVACTemplate:Plant:HotWaterLoop,
!     Hot Water Loop,          !- Name
!     ,                        !- Pump Schedule Name
!     INTERMITTENT,            !- Pump Control Type
!     Default,                 !- Hot Water Plant Operation Scheme Type
!     ,                        !- Hot Water Plant Equipment Operation Schemes Name
!     ,                        !- Hot Water Setpoint Schedule Name
!     82,                      !- Hot Water Design Setpoint {C}
!     ConstantFlow,            !- Hot Water Pump Configuration
!     179352,                  !- Hot Water Pump Rated Head {Pa}
!     OutdoorAirTemperatureReset,  !- Hot Water Setpoint Reset Type
!     82.2,                    !- Hot Water Setpoint at Outdoor Dry-Bulb Low {C}
!     -6.7,                    !- Hot Water Reset Outdoor Dry-Bulb Low {C}
!     65.6,                    !- Hot Water Setpoint at Outdoor Dry-Bulb High {C}
!     10;                      !- Hot Water Reset Outdoor Dry-Bulb High {C}
! 
!   HVACTemplate:Plant:Boiler,
!     Main Boiler,             !- Name
!     HotWaterBoiler,          !- Boiler Type
!     autosize,                !- Capacity {W}
!     0.8,                     !- Efficiency
!     NaturalGas,              !- Fuel Type
!     1,                       !- Priority
!     ;                        !- Sizing Factor

! -------------------------------------------------------------
! New objects created from ExpandObjects
! -------------------------------------------------------------
! 

ScheduleTypeLimits,
  HVACTemplate Any Number;                  !- Name

ThermostatSetpoint:DualSetpoint,
  Heat Only Dual SP Control,                !- Name
  Htg-SetP-Sch,                             !- Heating Setpoint Temperature Schedule Name
  No-Clg-SetP-Sch;                          !- Cooling Setpoint Temperature Schedule Name

Schedule:Compact,
  HVACTemplate-Always 1,                    !- Name
  HVACTemplate Any Number,                  !- Schedule Type Limits Name
  Through: 12/31,                           !- Field 1
  For: AllDays,                             !- Field 2
  Until: 24:00,                             !- Field 3
  1;                                        !- Field 4

Schedule:Compact,
  HVACTemplate-Always 4,                    !- Name
  HVACTemplate Any Number,                  !- Schedule Type Limits Name
  Through: 12/31,                           !- Field 1
  For: AllDays,                             !- Field 2
  Until: 24:00,                             !- Field 3
  4;                                        !- Field 4

ZoneControl:Thermostat,
  SPACE1-1 Thermostat,                      !- Name
  SPACE1-1,                                 !- Zone or ZoneList Name
  HVACTemplate-Always 4,                    !- Control Type Schedule Name
  ThermostatSetpoint:DualSetpoint,          !- Control Object Type
  Heat Only Dual SP Control;                !- Control Name

Sizing:Zone,
  SPACE1-1,                 !- Zone or ZoneList Name
  SupplyAirTemperature,     !- Zone Cooling Design Supply Air Temperature Input Method
  12.5,                     !- Zone Cooling Design Supply Air Temperature {C}
  ,                         !- Zone Cooling Design Supply Air Temperature Difference {delta C}
  SupplyAirTemperature,     !- Zone Heating Design Supply Air Temperature Input Method
  50,                       !- Zone Heating Design Supply Air Temperature {C}
  ,                         !- Zone Heating Design Supply Air Temperature Difference {delta C}
  0.008,                    !- Zone Cooling Design Supply Air Humidity Ratio {kg-H20/kg-air}
  0.008,                    !- Zone Heating Design Supply Air Humidity Ratio {kg-H2O/kg-air}
  ,                         !- Design Specification Outdoor Air Object Name
  ,                         !- Zone Heating Sizing Factor
  ,                         !- Zone Cooling Sizing Factor
  DesignDay,                !- Cooling Design Air Flow Method
  0,                        !- Cooling Design Air Flow Rate {m3/s}
  ,                         !- Cooling Minimum Air Flow per Zone Floor Area {m3/s-m2}
  ,                         !- Cooling Minimum Air Flow {m3/s}
  0,                        !- Cooling Minimum Air Flow Fraction {}
 DesignDay,                 !- Heating Design Air Flow Method
  0,                        !- Heating Design Air Flow Rate {m3/s}
  ,                         !- Heating Maximum Air Flow per Zone Floor Area {m3/s-m2}
  ,                         !- Heating Maximum Air Flow {m3/s}
  0,                        !- Heating Maximum Air Flow Fraction {}
  ;                         !- Design Specification Zone Air Distribution Object Name

ZoneHVAC:EquipmentConnections,
  SPACE1-1,                                 !- Zone Name
  SPACE1-1 Equipment,                       !- Zone Conditioning Equipment List Name
  ,                                         !- Zone Air Inlet Node or NodeList Name
  ,                                         !- Zone Air Exhaust Node or NodeList Name
  SPACE1-1 Zone Air Node,                   !- Zone Air Node Name
  SPACE1-1 Return Outlet;                   !- Zone Return Air Node Name

ZoneHVAC:EquipmentList,
  SPACE1-1 Equipment,                       !- Name
  ZoneHVAC:Baseboard:RadiantConvective:Water,    !- Zone Equipment Object Type
  SPACE1-1 Baseboard Heat,                  !- Zone Equipment Name
  1,                                        !- Zone Equipment Cooling Sequence
  1;                                        !- Zone Equipment Heating or No-Load Sequence

ZoneHVAC:Baseboard:RadiantConvective:Water,
  SPACE1-1 Baseboard Heat,                  !- Name
  ,                                         !- Availability Schedule Name
  SPACE1-1 Baseboard HW Inlet,              !- Inlet Node Name
  SPACE1-1 Baseboard HW Outlet,             !- Outlet Node Name
  87.78,                                    !- Rated Average Water Temperature {C}
  0.063,                                    !- Rated Water Mass Flow Rate {m3/s}
  HeatingDesignCapacity,                    !- Heating Design Capacity Method
  autosize,                                 !- Heating Design Capacity {W}
  ,                                         !- Heating Design Capacity Per Floor Area {W/m2}
  ,                                         !- Fraction of Autosized Heating Design Capacity
  autosize,                                 !- Maximum Water Flow Rate
  0.001,                                    !- Convergence Tolerance
  0.0,                                      !- Fraction Radiant
  0.0;                                      !- Fraction of Radiant Energy Incident on People

Branch,
  SPACE1-1 Baseboard Heat HW Branch,        !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  ZoneHVAC:Baseboard:RadiantConvective:Water,    !- Component Object Type
  SPACE1-1 Baseboard Heat,                  !- Component Name
  SPACE1-1 Baseboard HW Inlet,              !- Component Inlet Node Name
  SPACE1-1 Baseboard HW Outlet,             !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Boiler:HotWater,
  Main Boiler,                           !- Name
  NaturalGas,                            !- Fuel Type
  autosize,                              !- Nominal Capacity {W}
  0.8,                                   !- Nominal Thermal Efficiency
  LeavingBoiler,                         !- Efficiency Curve Temperature Evaluation Variable
  Main Boiler Efficiency Curve,          !- Normalized Boiler Efficiency Curve Name
  81,                                    !- Design Boiler Water Outlet Temp {C}
  autosize,                              !- Max Design Boiler Water Flow Rate {m3/s}
  0.0,                                   !- Minimum Part Load Ratio
  1.1,                                   !- Maximum Part Load Ratio
  1.0,                                   !- Optimum Part Load Ratio
  Main Boiler HW Inlet,                  !- Water Inlet Node Name
  Main Boiler HW Outlet,                 !- Water Outlet Node Name
  100.0,                                 !- Temp Upper Limit Water Outlet {C}
  ConstantFlow,                          !- Boiler Flow Mode
  0,                                     !- Parasitic Electric Load {W}
  1.0;                                   !- Sizing Factor

Curve:Quadratic,
  Main Boiler Efficiency Curve,             !- Name
  0.97,                                     !- Coefficient1 Constant
  0.0633,                                   !- Coefficient2 x
  -0.0333,                                  !- Coefficient3 x**2
  0.0,                                      !- Minimum Value of x
  1.0;                                      !- Maximum Value of x

Branch,
  Main Boiler HW Branch,                    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Boiler:HotWater,                          !- Component Object Type
  Main Boiler,                              !- Component Name
  Main Boiler HW Inlet,                     !- Component Inlet Node Name
  Main Boiler HW Outlet,                    !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Sizing:Plant,
  Hot Water Loop Hot Water Loop,            !- Plant or Condenser Loop Name
  Heating,                                  !- Loop Type
  82,                                       !- Design loop exit temperature {C}
  11.0;                                     !- Design loop delta T {deltaC}

PlantLoop,
  Hot Water Loop Hot Water Loop,            !- Name
  Water,                                    !- Fluid Type
  ,                                         !- User Defined Fluid Type
  Hot Water Loop Operation,                 !- PlantEquipmentOperationSchemes Name
  Hot Water Loop HW Supply Outlet,          !- Loop Temperature Setpoint Node Name
  100,                                      !- Maximum Loop Temperature {C}
  10,                                       !- Minimum Loop Temperature {C}
  autosize,                                 !- Maximum Loop Volumetric Flow Rate {m3/s}
  0,                                        !- Minimum Loop Volumetric Flow Rate {m3/s}
  autosize,                                 !- volume of the plant loop {m3}
  Hot Water Loop HW Supply Inlet,           !- Plant Side Inlet Node Name
  Hot Water Loop HW Supply Outlet,          !- Plant Side Outlet Node Name
  Hot Water Loop HW Supply Side Branches,   !- Plant Side Branch List Name
  Hot Water Loop HW Supply Side Connectors, !- Plant Side Connector List Name
  Hot Water Loop HW Demand Inlet,           !- Demand Side Inlet Node Name
  Hot Water Loop HW Demand Outlet,          !- Demand Side Outlet Node Name
  Hot Water Loop HW Demand Side Branches,   !- Demand Side Branch List Name
  Hot Water Loop HW Demand Side Connectors, !- Demand Side Connector List Name
  SequentialLoad,                           !- Load Distribution Scheme
  ,                                         !- AvailabilityManagerAssignmentList
  SingleSetpoint;                           !- Plant Loop Demand Calculation Scheme

PlantEquipmentOperationSchemes,
  Hot Water Loop Operation,                 !- Name
  PlantEquipmentOperation:HeatingLoad,      !- Control Scheme Object Type
  Hot Water Loop Operation All Hours,       !- Control Scheme Name
  HVACTemplate-Always 1;                    !- Control Scheme Schedule Name

PlantEquipmentOperation:HeatingLoad,
  Hot Water Loop Operation All Hours,       !- Name
  0,                                        !- Load Range Lower Limit 1 {W}
  1000000000000000,                         !- Load Range Upper Limit 1 {W}
  Hot Water Loop All Equipment;             !- Priority Control 1 Equipment List Name

PlantEquipmentList,
  Hot Water Loop All Equipment,             !- Name
  Boiler:HotWater,                          !- Equipment Object Type
  Main Boiler;                              !- Equipment Name

NodeList,
  Hot Water Loop HW Supply Setpoint Nodes,  !- Name
  Main Boiler HW Outlet,                    !- Node Name
  Hot Water Loop HW Supply Outlet;          !- Node Name

SetpointManager:OutdoorAirReset,
  Hot Water Loop HW Temp Manager,           !- Name
  Temperature,                              !- Control Variable
  82.2,                                     !- Set point at outside low {C}
  -6.7,                                     !- Outside low {C}
  65.6,                                     !- Set point at outside high {C}
  10,                                       !- Outside high {C}
  Hot Water Loop HW Supply Setpoint Nodes;  !- Setpoint Node or NodeList Name

BranchList,
  Hot Water Loop HW Supply Side Branches,   !- Name
  Hot Water Loop HW Supply Inlet Branch,    !- Name
  Main Boiler HW Branch,                    !- Branch Name
  Hot Water Loop HW Supply Bypass Branch,   !- Name
  Hot Water Loop HW Supply Outlet Branch;   !- Name

ConnectorList,
  Hot Water Loop HW Supply Side Connectors, !- Name
  Connector:Splitter,                       !- Connector Object Type
  Hot Water Loop HW Supply Splitter,        !- Connector Name
  Connector:Mixer,                          !- Connector Object Type
  Hot Water Loop HW Supply Mixer;           !- Connector Name

Connector:Splitter,
  Hot Water Loop HW Supply Splitter,        !- Name
  Hot Water Loop HW Supply Inlet Branch,    !- Inlet Branch Name
  Main Boiler HW Branch,                    !- Outlet Branch Name
  Hot Water Loop HW Supply Bypass Branch;   !- Outlet Branch Name

Connector:Mixer,
  Hot Water Loop HW Supply Mixer,           !- Name
  Hot Water Loop HW Supply Outlet Branch,   !- Outlet Branch Name
  Main Boiler HW Branch,                    !- Outlet Branch Name
  Hot Water Loop HW Supply Bypass Branch;   !- Inlet Branch Name

Branch,
  Hot Water Loop HW Supply Bypass Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Supply Side Bypass Pipe, !- Component Name
  Hot Water Loop HW Supply Bypass Inlet,    !- Component Inlet Node Name
  Hot Water Loop HW Supply Bypass Outlet,   !- Component Outlet Node Name
  Bypass;                                   !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Supply Side Bypass Pipe,!- Name
  Hot Water Loop HW Supply Bypass Inlet,    !- Inlet Node Name
  Hot Water Loop HW Supply Bypass Outlet;   !- Outlet Node Name

Pump:ConstantSpeed,
  Hot Water Loop HW Supply Pump,         !- Name
  Hot Water Loop HW Supply Inlet,        !- Inlet Node Name
  Hot Water Loop HW Pump Outlet,         !- Outlet Node Name
  autosize,                              !- Rated Volumetric Flow Rate {m3/s}
  179352,                                !- Rated Pump Head {Pa}
  autosize,                              !- Rated Power Consumption {W}
  0.9,                                   !- Motor Efficiency
  0,                                     !- Fraction of Motor Inefficiencies to Fluid Stream
  INTERMITTENT,                          !- Pump Control Type
  ;                                      !- Pump Flow Rate Schedule Name

Branch,
  Hot Water Loop HW Supply Inlet Branch,    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pump:ConstantSpeed,                       !- Component Object Type
  Hot Water Loop HW Supply Pump,            !- Component Name
  Hot Water Loop HW Supply Inlet,           !- Component Inlet Node Name
  Hot Water Loop HW Pump Outlet,            !- Component Outlet Node Name
  Active;                                   !- Component Branch Control Type

Branch,
  Hot Water Loop HW Supply Outlet Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Supply Outlet Pipe,     !- Component Name
  Hot Water Loop HW Supply Outlet Pipe Inlet, !- Component Inlet Node Name
  Hot Water Loop HW Supply Outlet,          !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Supply Outlet Pipe,     !- Name
  Hot Water Loop HW Supply Outlet Pipe Inlet, !- Inlet Node Name
  Hot Water Loop HW Supply Outlet;          !- Outlet Node Name

BranchList,
  Hot Water Loop HW Demand Side Branches,   !- Name
  Hot Water Loop HW Demand Inlet Branch,    !- Name
  SPACE1-1 Baseboard Heat HW Branch,        !- Name
  Hot Water Loop HW Demand Bypass Branch,   !- Name
  Hot Water Loop HW Demand Outlet Branch;   !- Name

ConnectorList,
  Hot Water Loop HW Demand Side Connectors, !- Name
  Connector:Splitter,                       !- Connector Object Type
  Hot Water Loop HW Demand Splitter,        !- Connector Name
  Connector:Mixer,                          !- Connector Object Type
  Hot Water Loop HW Demand Mixer;           !- Connector Name

Connector:Splitter,
  Hot Water Loop HW Demand Splitter,        !- Name
  Hot Water Loop HW Demand Inlet Branch,    !- Inlet Branch Name
  Hot Water Loop HW Demand Bypass Branch,   !- Outlet Branch Name
  SPACE1-1 Baseboard Heat HW Branch;        !- Name

Connector:Mixer,
  Hot Water Loop HW Demand Mixer,           !- Name
  Hot Water Loop HW Demand Outlet Branch,   !- Outlet Branch Name
  Hot Water Loop HW Demand Bypass Branch,   !- Inlet Branch Name
  SPACE1-1 Baseboard Heat HW Branch;        !- Name

Branch,
  Hot Water Loop HW Demand Inlet Branch,    !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Inlet Pipe,      !- Component Name
  Hot Water Loop HW Demand Inlet,           !- Component Inlet Node Name
  Hot Water Loop HW Demand Inlet Pipe Outlet, !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Inlet Pipe,      !- Name
  Hot Water Loop HW Demand Inlet,           !- Inlet Node Name
  Hot Water Loop HW Demand Inlet Pipe Outlet; !- Outlet Node Name

Branch,
  Hot Water Loop HW Demand Bypass Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Side Bypass Pipe, !- Component Name
  Hot Water Loop HW Demand Bypass Inlet,    !- Component Inlet Node Name
  Hot Water Loop HW Demand Bypass Outlet,   !- Component Outlet Node Name
  Bypass;                                   !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Side Bypass Pipe, !- Name
  Hot Water Loop HW Demand Bypass Inlet,    !- Inlet Node Name
  Hot Water Loop HW Demand Bypass Outlet;   !- Outlet Node Name

Branch,
  Hot Water Loop HW Demand Outlet Branch,   !- Name
  ,                                         !- Maximum Flow Rate {m3/s}
  ,                                         !- Pressure Drop Curve Name
  Pipe:Adiabatic,                           !- Component Object Type
  Hot Water Loop HW Demand Outlet Pipe,     !- Component Name
  Hot Water Loop HW Demand Outlet Pipe Inlet, !- Component Inlet Node Name
  Hot Water Loop HW Demand Outlet,          !- Component Outlet Node Name
  Passive;                                  !- Component Branch Control Type

Pipe:Adiabatic,
  Hot Water Loop HW Demand Outlet Pipe,     !- Name
  Hot Water Loop HW Demand Outlet Pipe Inlet, !- Inlet Node Name
  Hot Water Loop HW Demand Outlet;          !- Outlet Node Name

Site:GroundTemperature:BuildingSurface,
  21.5,                                     !- January Ground Temperature
  21.4,                                     !- February Ground Temperature
  21.5,                                     !- March Ground Temperature
  21.5,                                     !- April Ground Temperature
  22.0,                                     !- May Ground Temperature
  22.9,                                     !- June Ground Temperature
  23.0,                                     !- July Ground Temperature
  23.1,                                     !- August Ground Temperature
  23.1,                                     !- September Ground Temperature
  22.2,                                     !- October Ground Temperature
  21.7,                                     !- November Ground Temperature
  21.6;                                     !- December Ground Temperature