!-Generator IDFEditor 1.38a
!-Option SortedOrder UseSpecialFormat

!-NOTE: All comments with '!-' are ignored by the IDFEditor and are generated automatically.
!-      Use '!' comments if they need to be retained when using the IDFEditor.


!-   ===========  ALL OBJECTS IN CLASS: VERSION ===========

! 1ZoneEvapCooler.idf
!
! Basic file description:  This file models a small one-zone house with a whole-house direct evaporative cooler system.
!                          Because evaporative coolers cannot be controlled with the ZoneControl:Thermostat object,
!                          this file illustrates how an evaporative cooler system can be thermostatically controlled
!                          in a crude manner using the AvailabilityManager objects:
!
!                              AvailabilityManager:LowTemperatureTurnOff
!                              AvailabilityManager:HighTemperatureTurnOn
!
!                          Availability managers are capable of turning on or off the fan for an air system (or the pump
!                          for a plant system) by monitoring temperature conditions at a user-specified system node.
!                          In this model, the availability managers are monitoring the zone outlet air node to act as
!                          a crude thermostatic control for the zone.
!
!                          Keep in mind that availability manager control is "lagged".  This means that the node
!                          conditions from the previous time step are used to make control decisions at the current
!                          time step.
!
!                          There are two ways to use the availability managers for controlling an evaporative cooler:
!
!                              Method 1.  The fan is scheduled to be available at all times, meaning that the system
!                                         is on all the time by default.  This usually results in over-cooling.
!                                         To prevent over-cooling, the LOW TEMPERATURE TURN OFF object is used to
!                                         turn off the system fan when the temperature falls below the setpoint (23 C).
!
!                              Method 2.  The fan is scheduled to be unavailable at all times, meaning that the system
!                                         is off all the time by default.  This usually results in under-cooling.
!                                         To prevent under-cooling, the HIGH TEMPERATURE TURN ON object is used to
!                                         turn on the system fan when the temperature rises above the setpoint (26 C).
!
!                          With either method, all other equipment is scheduled to be always available.  In this file,
!                          for demonstration purposes only, the fan is scheduled to be available from 12 AM-12 PM to
!                          to demonstrate Method 1, and scheduled to be unavailable from 12 PM-12 AM for Method 2.
!
!                          Note that ZoneControl:Thermostat is still used in this model to control the baseboard
!                          heating in the winter, but it does not effect the evaporative cooler system.
!
! Highlights:              Test of AvailabilityManagers for controlling an air system.
!
! Simulation Location/Run: DENVER_STAPLETON_CO_USA_WMO_724690, 2 design days, 1 run period,
!                          Run Control executes two design days (see RUN PERIOD object)
!
! Location:                Denver, CO
!
! Design Days:             DENVER_STAPLETON_CO_USA Annual Heating 99%, MaxDB=-16°C
!                          DENVER_STAPLETON_CO_USA Annual Cooling (DB=>MWB) 1%, MaxDB=32.6°C MWB=15.5°C
!
! Run Period (Weather File): Full Annual Simulation, DENVER_STAPLETON_CO_USA_WMO_724690
!
! Run Control:             No zone or system sizing, design day run control (no weather file simulation)
!
! Building:                Fictional 1 zone building with resistive walls based on 1ZoneUncontrolled example.
!                          No windows.  No internal gains.  No internal mass.  The building is oriented due north.
!
! Floor Area:              232.25 m2
! Number of Stories:       1
Version,6.0;

!-   ===========  ALL OBJECTS IN CLASS: SIMULATIONCONTROL ===========


SimulationControl,
    No,                      !- Do Zone Sizing Calculation
    No,                      !- Do System Sizing Calculation
    No,                      !- Do Plant Sizing Calculation
    Yes,                     !- Run Simulation for Sizing Periods
    Yes;                     !- Run Simulation for Weather File Run Periods


!-   ===========  ALL OBJECTS IN CLASS: BUILDING ===========

Building,
    Bldg,                    !- Name
    0.0,                     !- North Axis {deg}
    Suburbs,                 !- Terrain
    0.05,                    !- Loads Convergence Tolerance Value
    0.05,                    !- Temperature Convergence Tolerance Value {deltaC}
    MinimalShadowing,        !- Solar Distribution
    30;                      !- Maximum Number of Warmup Days


!-   ===========  ALL OBJECTS IN CLASS: SURFACECONVECTIONALGORITHM:INSIDE ===========

SurfaceConvectionAlgorithm:Inside,TARP;

!-   ===========  ALL OBJECTS IN CLASS: SURFACECONVECTIONALGORITHM:OUTSIDE ===========

SurfaceConvectionAlgorithm:Outside,DOE-2;

!-   ===========  ALL OBJECTS IN CLASS: HEATBALANCEALGORITHM ===========

HeatBalanceAlgorithm,ConductionTransferFunction;

!-   ===========  ALL OBJECTS IN CLASS: TIMESTEP ===========

Timestep,6;

!-   ===========  ALL OBJECTS IN CLASS: SITE:LOCATION ===========


Site:Location,
    Shanghai_China,          !- Name
    31.17,                   !- Latitude {deg}
    121.43,                  !- Longitude {deg}
    8,                       !- Time Zone {hr}
    7;                       !- Elevation {m}


!-   ===========  ALL OBJECTS IN CLASS: SIZINGPERIOD:DESIGNDAY ===========

SizingPeriod:DesignDay,
    SHANGHAI Ann Clg .4% Condns WB=>MDB,  !- Name
    32.6,                    !- Maximum Dry-Bulb Temperature {C}
    6.6,                     !- Daily Temperature Range {deltaC}
    28.7,                    !- Humidity Indicating Conditions at Maximum Dry-Bulb
    101241.,                 !- Barometric Pressure {Pa}
    3.7,                     !- Wind Speed {m/s}
    220,                     !- Wind Direction {deg}
    1.00,                    !- Sky Clearness
    0,                       !- Rain Indicator
    0,                       !- Snow Indicator
    21,                      !- Day of Month
    7,                       !- Month
    SummerDesignDay,         !- Day Type
    0,                       !- Daylight Saving Time Indicator
    WetBulb;                 !- Humidity Indicating Type

SizingPeriod:DesignDay,
    SHANGHAI Ann Htg 99.6% Condns DB,  !- Name
    -3,                      !- Maximum Dry-Bulb Temperature {C}
    0.0,                     !- Daily Temperature Range {deltaC}
    -3,                      !- Humidity Indicating Conditions at Maximum Dry-Bulb
    101241.,                 !- Barometric Pressure {Pa}
    2.4,                     !- Wind Speed {m/s}
    290,                     !- Wind Direction {deg}
    0.00,                    !- Sky Clearness
    0,                       !- Rain Indicator
    0,                       !- Snow Indicator
    21,                      !- Day of Month
    1,                       !- Month
    WinterDesignDay,         !- Day Type
    0,                       !- Daylight Saving Time Indicator
    WetBulb;                 !- Humidity Indicating Type


!-   ===========  ALL OBJECTS IN CLASS: RUNPERIOD ===========

RunPeriod,
    ,                        !- Name
    1,                       !- Begin Month
    1,                       !- Begin Day of Month
    12,                      !- End Month
    31,                      !- End Day of Month
    Tuesday,                 !- Day of Week for Start Day
    Yes,                     !- Use Weather File Holidays and Special Days
    Yes,                     !- Use Weather File Daylight Saving Period
    No,                      !- Apply Weekend Holiday Rule
    Yes,                     !- Use Weather File Rain Indicators
    Yes;                     !- Use Weather File Snow Indicators


!-   ===========  ALL OBJECTS IN CLASS: SITE:GROUNDTEMPERATURE:BUILDINGSURFACE ===========

Site:GroundTemperature:BuildingSurface,18.89,18.92,19.02,19.12,19.21,19.23,19.07,19.32,19.09,19.21,19.13,18.96;

!-   ===========  ALL OBJECTS IN CLASS: MATERIAL ===========


Material,
    C5 - 4 IN HW CONCRETE,   !- Name
    MediumRough,             !- Roughness
    0.1014984,               !- Thickness {m}
    1.729577,                !- Conductivity {W/m-K}
    2242.585,                !- Density {kg/m3}
    836.8000,                !- Specific Heat {J/kg-K}
    0.9000000,               !- Thermal Absorptance
    0.6500000,               !- Solar Absorptance
    0.6500000;               !- Visible Absorptance


!-   ===========  ALL OBJECTS IN CLASS: MATERIAL:NOMASS ===========

Material:NoMass,
    R13LAYER,                !- Name
    Rough,                   !- Roughness
    2.290965,                !- Thermal Resistance {m2-K/W}
    0.9000000,               !- Thermal Absorptance
    0.7500000,               !- Solar Absorptance
    0.7500000;               !- Visible Absorptance

Material:NoMass,
    R31LAYER,                !- Name
    Rough,                   !- Roughness
    5.456,                   !- Thermal Resistance {m2-K/W}
    0.9000000,               !- Thermal Absorptance
    0.7500000,               !- Solar Absorptance
    0.7500000;               !- Visible Absorptance


!-   ===========  ALL OBJECTS IN CLASS: CONSTRUCTION ===========

Construction,
    R13WALL,                 !- Name
    R13LAYER;                !- Outside Layer

Construction,
    FLOOR,                   !- Name
    C5 - 4 IN HW CONCRETE;   !- Outside Layer

Construction,
    ROOF31,                  !- Name
    R31LAYER;                !- Outside Layer


!-   ===========  ALL OBJECTS IN CLASS: GLOBALGEOMETRYRULES ===========

GlobalGeometryRules,
    UpperLeftCorner,         !- Starting Vertex Position
    CounterClockWise,        !- Vertex Entry Direction
    World;                   !- Coordinate System


!-   ===========  ALL OBJECTS IN CLASS: ZONE ===========

Zone,
    Main Zone,               !- Name
    0,                       !- Direction of Relative North {deg}
    0, 0, 0,                            !- X,Y,Z  {m}
    1,                       !- Type
    1,                       !- Multiplier
    autocalculate,           !- Ceiling Height {m}
    autocalculate;           !- Volume {m3}


!-   ===========  ALL OBJECTS IN CLASS: BUILDINGSURFACE:DETAILED ===========

BuildingSurface:Detailed,
    Zn001:Wall001,           !- Name
    Wall,                    !- Surface Type
    R13WALL,                 !- Construction Name
    Main Zone,               !- Zone Name
    Outdoors,                !- Outside Boundary Condition
    ,                        !- Outside Boundary Condition Object
    SunExposed,              !- Sun Exposure
    WindExposed,             !- Wind Exposure
    0.5000000,               !- View Factor to Ground
    4,                       !- Number of Vertices
    0, 0, 4.572000,                     !- X,Y,Z  1 {m}
    0, 0, 0,                            !- X,Y,Z  2 {m}
    15.24000, 0, 0,                     !- X,Y,Z  3 {m}
    15.24000, 0, 4.572000;              !- X,Y,Z  4 {m}

BuildingSurface:Detailed,
    Zn001:Wall002,           !- Name
    Wall,                    !- Surface Type
    R13WALL,                 !- Construction Name
    Main Zone,               !- Zone Name
    Outdoors,                !- Outside Boundary Condition
    ,                        !- Outside Boundary Condition Object
    SunExposed,              !- Sun Exposure
    WindExposed,             !- Wind Exposure
    0.5000000,               !- View Factor to Ground
    4,                       !- Number of Vertices
    15.24000, 0, 4.572000,              !- X,Y,Z  1 {m}
    15.24000, 0, 0,                     !- X,Y,Z  2 {m}
    15.24000, 15.24000, 0,              !- X,Y,Z  3 {m}
    15.24000, 15.24000, 4.572000;       !- X,Y,Z  4 {m}

BuildingSurface:Detailed,
    Zn001:Wall003,           !- Name
    Wall,                    !- Surface Type
    R13WALL,                 !- Construction Name
    Main Zone,               !- Zone Name
    Outdoors,                !- Outside Boundary Condition
    ,                        !- Outside Boundary Condition Object
    SunExposed,              !- Sun Exposure
    WindExposed,             !- Wind Exposure
    0.5000000,               !- View Factor to Ground
    4,                       !- Number of Vertices
    15.24000, 15.24000, 4.572000,       !- X,Y,Z  1 {m}
    15.24000, 15.24000, 0,              !- X,Y,Z  2 {m}
    0, 15.24000, 0,                     !- X,Y,Z  3 {m}
    0, 15.24000, 4.572000;              !- X,Y,Z  4 {m}

BuildingSurface:Detailed,
    Zn001:Wall004,           !- Name
    Wall,                    !- Surface Type
    R13WALL,                 !- Construction Name
    Main Zone,               !- Zone Name
    Outdoors,                !- Outside Boundary Condition
    ,                        !- Outside Boundary Condition Object
    SunExposed,              !- Sun Exposure
    WindExposed,             !- Wind Exposure
    0.5000000,               !- View Factor to Ground
    4,                       !- Number of Vertices
    0, 15.24000, 4.572000,              !- X,Y,Z  1 {m}
    0, 15.24000, 0,                     !- X,Y,Z  2 {m}
    0, 0, 0,                            !- X,Y,Z  3 {m}
    0, 0, 4.572000;                     !- X,Y,Z  4 {m}

BuildingSurface:Detailed,
    Zn001:Flr001,            !- Name
    Floor,                   !- Surface Type
    FLOOR,                   !- Construction Name
    Main Zone,               !- Zone Name
    Surface,                 !- Outside Boundary Condition
    Zn001:Flr001,            !- Outside Boundary Condition Object
    NoSun,                   !- Sun Exposure
    NoWind,                  !- Wind Exposure
    1.000000,                !- View Factor to Ground
    4,                       !- Number of Vertices
    15.24000, 0.000000, 0.0,            !- X,Y,Z  1 {m}
    0.000000, 0.000000, 0.0,            !- X,Y,Z  2 {m}
    0.000000, 15.24000, 0.0,            !- X,Y,Z  3 {m}
    15.24000, 15.24000, 0.0;            !- X,Y,Z  4 {m}

BuildingSurface:Detailed,
    Zn001:Roof001,           !- Name
    Roof,                    !- Surface Type
    ROOF31,                  !- Construction Name
    Main Zone,               !- Zone Name
    Outdoors,                !- Outside Boundary Condition
    ,                        !- Outside Boundary Condition Object
    SunExposed,              !- Sun Exposure
    WindExposed,             !- Wind Exposure
    0,                       !- View Factor to Ground
    4,                       !- Number of Vertices
    0.000000, 15.24000, 4.572,          !- X,Y,Z  1 {m}
    0.000000, 0.000000, 4.572,          !- X,Y,Z  2 {m}
    15.24000, 0.000000, 4.572,          !- X,Y,Z  3 {m}
    15.24000, 15.24000, 4.572;          !- X,Y,Z  4 {m}


!-   ===========  ALL OBJECTS IN CLASS: ZONEINFILTRATION:DESIGNFLOWRATE ===========

ZoneInfiltration:DesignFlowRate,
    Main Zone Infiltration,  !- Name
    Main Zone,               !- Zone or ZoneList Name
    System Availability Schedule,  !- Schedule Name
    Flow/Zone,               !- Design Flow Rate Calculation Method
    0.02,                    !- Design Flow Rate {m3/s}
    ,                        !- Flow per Zone Floor Area {m3/s-m2}
    ,                        !- Flow per Exterior Surface Area {m3/s-m2}
    ,                        !- Air Changes per Hour
    1.0000,                  !- Constant Term Coefficient
    0.0000,                  !- Temperature Term Coefficient
    0.0000,                  !- Velocity Term Coefficient
    0.0000;                  !- Velocity Squared Term Coefficient
