Last active
August 29, 2015 14:15
-
-
Save eayoungs/fc6beb94358c440e5fe0 to your computer and use it in GitHub Desktop.
Sublime Text Snippets for EnergyPlus Zone HVAC Template Objects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
!!-- This snippet is based on the object located in Example File: UnitVent5Zone.idf -- | |
! | |
!!Schedule:Compact, | |
!! UnitVentAvailability, !- Name | |
!! Any Number, !- Schedule Type Limits Name | |
!! Through: 12/31, !- Field 1 | |
!! For: AllDays, !- Field 2 | |
!! Until: 24:00,1.0; !- Field 3 | |
!! | |
!!Schedule:Compact, | |
!! UnitVentMinOA, !- Name | |
!! Any Number, !- Schedule Type Limits Name | |
!! Through: 12/31, !- Field 1 | |
!! For: AllDays, !- Field 2 | |
!! Until: 24:00,0.0; !- Field 3 | |
!! | |
!!Schedule:Compact, | |
!! UnitVentMaxOA, !- Name | |
!! Any Number, !- Schedule Type Limits Name | |
!! Through: 12/31, !- Field 1 | |
!! For: AllDays, !- Field 2 | |
!! Until: 24:00,1.0; !- Field 3 | |
! | |
!ZoneHVAC:UnitVentilator, | |
! ${1:Zone}-UnitVent, !- Name | |
! UnitVentAvailability, !- Availability Schedule Name | |
! 0.84, !- Maximum Supply Air Flow Rate {m3/s} | |
! ${2:FixedAmount}, !- Outdoor Air Control Type | |
! 0.168, !- Minimum Outdoor Air Flow Rate {m3/s} | |
! UnitVentMinOA, !- Minimum Outdoor Air Schedule Name | |
! 0.84, !- Maximum Outdoor Air Flow Rate {m3/s} | |
! ${3:UnitVentMaxOA}, !- Maximum Outdoor Air Fraction or Temperature Schedule Name | |
! ${1:Zone}-UnitVentAirInletNode, !- Air Inlet Node Name | |
! ${1:Zone}-UnitVentAirOutletNode, !- Air Outlet Node Name | |
! ${1:Zone}-UnitVentOAInNode, !- Outdoor Air Node Name | |
! ${1:Zone}-UnitVentExhNode, !- Exhaust Air Node Name | |
! ${1:Zone}-UnitVentOAMixerOutletNode, !- Mixed Air Node Name | |
! Fan:ConstantVolume, !- Supply Air Fan Object Type | |
! ${1:Zone}-UnitVentFan, !- Supply Air Fan Name | |
! ${4:Heating}, !- Coil Option | |
! Coil:Heating:Electric, !- Heating Coil Object Type | |
! ${1:Zone}-UnitVentHeatingCoil,!- Heating Coil Name | |
! 0.001${5:;}, !- Heating Convergence Tolerance | |
! ${5:!}$Coil:Cooling:Electric, !- Cooling Coil Object Type | |
! ${5:!}${1:Zone}-UnitVentCoolingCoil,!- Cooling Coil Name | |
! ${5:!}0.001; !- Cooling Convergence Tolerance | |
! | |
!Fan:ConstantVolume, | |
! ${1:Zone}-UnitVentFan, !- Name | |
! UnitVentAvailability, !- Availability Schedule Name | |
! 0.5, !- Fan Efficiency | |
! 75.0, !- Pressure Rise {Pa} | |
! 0.84, !- Maximum Flow Rate {m3/s} | |
! 0.9, !- Motor Efficiency | |
! 1.0, !- Motor In Airstream Fraction | |
! ${1:Zone}-UnitVentOAMixerOutletNode, !- Air Inlet Node Name | |
! ${1:Zone}-UnitVentFanOutletNode; !- Air Outlet Node Name | |
! | |
!Coil:Heating:Electric, | |
! ${1:Zone}-UnitVentHeatingCoil, !- Name | |
! UnitVentAvailability, !- Availability Schedule Name | |
! 1, !- Efficiency | |
! ${6:AutoSize}, !- Nominal Capacity {W} | |
! ${1:Zone}-UnitVentFanOutletNode, !- Air Inlet Node Name | |
! ${1:Zone}-UnitVentAirOutletNode, !- Air Outlet Node Name | |
! ; !- Temperature Setpoint Node Name | |
! | |
!ZoneHVAC:EquipmentConnections, | |
! ${1:Zone}, !- Zone Name | |
! ${1:Zone}-Equipment, !- Zone Conditioning Equipment List Name | |
! ${1:Zone}-UnitVentAirOutletNode, !- Zone Air Inlet Node or NodeList Name | |
! ${1:Zone}-UnitVentAirInletNode, !- Zone Air Exhaust Node or NodeList Name | |
! Node 12, !- Zone Air Node Name | |
! ${1:Zone}-Return_Air_Node; !- Zone Return Air Node Name | |
! | |
!ZoneHVAC:EquipmentList, | |
! ${1:Zone}-Equipment, !- Name | |
! ZoneHVAC:UnitVentilator, !- Zone Equipment 1 Object Type | |
! ${1:Zone}-UnitVent, !- Zone Equipment 1 Name | |
! 1, !- Zone Equipment 1 Cooling Sequence | |
! 1; !- Zone Equipment 1 Heating or No-Load Sequence | |
! | |
!!-- This snippet is based on the object located in Example File: UnitVent5Zone.idf -- | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<!-- <tabTrigger>hello</tabTrigger> --> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
!!-- This snippet is based on the object located in Example File: 5ZoneElectricBaseboard.idf -- | |
! | |
!ZoneHVAC:Baseboard:RadiantConvective:Electric, | |
! ${1:Name}, !- Name | |
! ${2:Avail. Sched. Nm}, !- Availability Schedule Name | |
! autosize, !- Nominal Capacity {W} | |
! 0.97, !- Efficiency | |
! 0.2, !- Fraction Radiant | |
! 0.3, !- Fraction of Radiant Energy Incident on People | |
! ${3:Surf 1 Nm}, !- Surface 1 Name | |
! 0.5; !- Fraction of Radiant Energy to Surface 1 | |
! | |
!Schedule:Compact, | |
! ${2:Avail. Sched. Nm}, !- Name | |
! Fraction, !- Schedule Type Limits Name | |
! Through: 3/31, !- Field 1 | |
! For: Alldays, !- Field 2 | |
! Until: 24:00,1.0, !- Field 3 | |
! Through: 9/30, !- Field 5 | |
! For: Weekdays, !- Field 6 | |
! Until: 7:00,0.0, !- Field 7 | |
! Until: 18:00,1.0, !- Field 9 | |
! Until: 24:00,0.0, !- Field 11 | |
! For: Weekends Holidays CustomDay1 CustomDay2, !- Field 13 | |
! Until: 24:00,0.0, !- Field 14 | |
! For: AllOtherDays, !- Field 16 | |
! Until: 24:00,1.0, !- Field 17 | |
! Through: 12/31, !- Field 19 | |
! For: Alldays, !- Field 20 | |
! Until: 24:00,1.0; !- Field 21 | |
! | |
!!-- This snippet is based on the object located in Example File: 5ZoneElectricBaseboard.idf -- | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<!-- <tabTrigger>hello</tabTrigger> --> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
!!-- This snippet is based on the object located in Example File: UnitHeater.idf -- | |
!!ZoneHVAC:EquipmentConnections, | |
!! ${1:Zone}, !- Zone Name | |
!! ${1:Zone}-Equipment, !- Zone Conditioning Equipment List Name | |
!! ${1:Zone}-Inlets, !- Zone Air Inlet Node or NodeList Name | |
!! ${1:Zone}-Exhausts, !- Zone Air Exhaust Node or NodeList Name | |
!! ${1:Zone}-Node, !- Zone Air Node Name | |
!! ${1:Zone}-OutletNode; !- Zone Return Air Node Name | |
!! | |
!!ZoneHVAC:EquipmentList, | |
!! ${1:Zone}-Equipment, !- Name | |
!! ZoneHVAC:UnitHeater, !- Zone Equipment 1 Object Type | |
!! ${1:Zone}-UnitHeat, !- Zone Equipment 1 Name | |
!! 1, !- Zone Equipment 1 Cooling Sequence | |
!! 1; !- Zone Equipment 1 Heating or No-Load Sequence | |
! | |
!NodeList, | |
! ${1:Zone}-Inlets, !- Name | |
! ${1:Zone}-UnitHeatAirOutletNode; !- Node 1 Name | |
! | |
!NodeList, | |
! ${1:Zone}-Exhausts, !- Name | |
! ${1:Zone}-UnitHeatAirInletNode; !- Node 1 Name | |
! | |
!ZoneHVAC:UnitHeater, | |
! ${1:Zone}-UnitHeat, !- Name | |
! ${2:UnitHeatAvailability}, !- Availability Schedule Name | |
! ${1:Zone}-UnitHeatAirInletNode, !- Air Inlet Node Name | |
! ${1:Zone}-UnitHeatAirOutletNode, !- Air Outlet Node Name | |
! Fan:ConstantVolume, !- Supply Air Fan Object Type | |
! ${1:Zone}-UnitHeatFan, !- Supply Air Fan Name | |
! 0.84, !- Maximum Supply Air Flow Rate {m3/s} | |
! CONTINUOUS, !- Fan Control Type | |
! Coil:Heating:Electric, !- Heating Coil Object Type | |
! ${1:Zone}-UnitHeatHeatingCoil,!- Heating Coil Name | |
! 0.0005, !- Maximum Hot Water or Steam Flow Rate {m3/s} | |
! 0.0, !- Minimum Hot Water or Steam Flow Rate {m3/s} | |
! 0.001; !- Heating Convergence Tolerance | |
! | |
!!Schedule:Compact, | |
!! ${2:UnitHeatAvailability},!- Name | |
!! ANY NUMBER, !- Schedule Type Limits Name | |
!! Through: 12/31, !- Field 1 | |
!! For: Alldays, !- Field 2 | |
!! Until: 24:00,1.00; !- Field 3 | |
! | |
!Fan:ConstantVolume, | |
! ${1:Zone}-UnitHeatFan, !- Name | |
! ${2:UnitHeatAvailability}, !- Availability Schedule Name | |
! 0.5, !- Fan Efficiency | |
! 75.0, !- Pressure Rise {Pa} | |
! 0.84, !- Maximum Flow Rate {m3/s} | |
! 0.9, !- Motor Efficiency | |
! 1.0, !- Motor In Airstream Fraction | |
! ${1:Zone}-UnitHeatAirInletNode, !- Air Inlet Node Name | |
! ${1:Zone}-UnitHeatFanOutletNode; !- Air Outlet Node Name | |
! | |
!Schedule:Compact, | |
! ${4:HtgFanAndCoilAvailSched}, !- Name | |
! FRACTION, !- Schedule Type Limits Name | |
! Through: 3/31, !- Field 1 | |
! For: Alldays, !- Field 2 | |
! Until: 24:00,1.00, !- Field 3 | |
! Through: 9/30, !- Field 5 | |
! For: Weekdays SummerDesignDay, !- Field 6 | |
! Until: 7:00,0.00, !- Field 7 | |
! Until: 17:00,1.00, !- Field 9 | |
! Until: 24:00,0.00, !- Field 11 | |
! For: Sunday Saturday Holiday WinterDesignDay CustomDay1 CustomDay2, !- Field 13 | |
! Until: 24:00,0.00, !- Field 14 | |
! Through: 12/31, !- Field 16 | |
! For: Alldays, !- Field 17 | |
! Until: 24:00,1.00; !- Field 18! | |
! | |
!Coil:Heating:Electric, | |
! ${1:Zone}-UnitHeatHeatingCoil, !- Name | |
! ${3:HtgFanAndCoilAvailSched}, !- Availability Schedule Name | |
! 1, !- Efficiency | |
! ${4:AutoSize}, !- Nominal Capacity {W} | |
! ${1:Zone}-UnitHeatFanOutletNode, !- Air Inlet Node Name | |
! ${1:Zone}-UnitHeatAirOutletNode, !- Air Outlet Node Name | |
! ; !- Temperature Setpoint Node Name | |
! | |
!!-- This snippet is based on the object located in Example File: UnitHeater.idf -- | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<!-- <tabTrigger>hello</tabTrigger> --> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment