!-Generator IDFEditor 1.38a
!-Option SortedOrder

!-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 ===========

! SolarCollectorFlatPlateWater.idf
!
! Basic file description:
! This input file illustrates a solar domestic hot water system using the SOLAR COLLECTOR:FLAT PLATE and
! SOLAR COLLECTOR PARAMETERS:FLAT PLATE objects.  In order to do effective thermal storage, it is best
! to use a two-tank system with a storage tank and auxiliary water heater.  The storage tank gathers heat
! directly from the solar collectors and stores it for later use.  The storage tank is modeled using a
! WATER HEATER:MIXED object with the Heater Maximum Capacity set to zero.  The auxiliary water heater is
! positioned downstream of the storage tank on the supply side of the main plant loop.  The auxiliary
! water heater is modeled using a WATER HEATER:MIXED object configured as an instantaneous water heater
! to provide additional heat if the storage tank water is not hot enough.  A VALVE:TEMPERING object is
! used as a three-way mixing valve to take advantage of higher storage temperatures, yet still avoid
! scalding temperatures at the faucet.  The plant system is controlled using SYSTEM AVAILABILITY
! MANAGERs.
!
! Run:      1 design day.
! Building: None.
! System:   None.
! Plant:    3 SOLAR COLLECTOR:FLAT PLATEs in parallel on the source side of the storage tank water heater
!           with 1 WATER USE CONNECTIONS object on the use side of the water heater.
!           2 WATER HEATER:MIXED objects serve as storage tank and instantaneous water heater.
!           1 VALVE:TEMPERING object to temper the hot storage water.
Version,
    6.0;                     !- Version Identifier


!-   ===========  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 ===========

!***SIMULATION CONTROL***
Building,
    Solar Collector Flat Plate Water Example,  !- Name
    0.0,                     !- North Axis {deg}
    Suburbs,                 !- Terrain
    0.04,                    !- Loads Convergence Tolerance Value
    0.04,                    !- Temperature Convergence Tolerance Value {deltaC}
    FullInteriorAndExterior, !- Solar Distribution
    25;                      !- Maximum Number of Warmup Days


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

Timestep,
    4;                       !- Number of Timesteps per Hour


!-   ===========  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
    1,                       !- End Month
    7,                       !- 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

RunPeriod,
    ,                        !- Name
    7,                       !- Begin Month
    1,                       !- Begin Day of Month
    7,                       !- End Month
    7,                       !- 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:WATERMAINSTEMPERATURE ===========

Site:WaterMainsTemperature,
    CORRELATION,             !- Calculation Method
    ,                        !- Temperature Schedule Name
    9.69,                    !- Annual Average Outdoor Air Temperature {C}
    28.1;                    !- Maximum Difference In Monthly Average Outdoor Air Temperatures {deltaC}


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

!***SCHEDULES***
ScheduleTypeLimits,
    Any Number;              !- Name

ScheduleTypeLimits,
    Fraction,                !- Name
    0.0,                     !- Lower Limit Value
    1.0,                     !- Upper Limit Value
    CONTINUOUS;              !- Numeric Type


!-   ===========  ALL OBJECTS IN CLASS: SCHEDULE:COMPACT ===========

Schedule:Compact,
    AlwaysOnSchedule,        !- Name
    Fraction,                !- Schedule Type Limits Name
    THROUGH: 12/31,          !- Field 1
    FOR: AllDays,            !- Field 2
    UNTIL: 24:00,            !- Field 3
    1.0;                     !- Field 4

Schedule:Compact,
    Loop Temperature Schedule,  !- Name
    Any Number,              !- Schedule Type Limits Name
    THROUGH: 12/31,          !- Field 1
    FOR: AllDays,            !- Field 2
    UNTIL: 24:00,            !- Field 3
    60.0;                    !- Field 4

Schedule:Compact,
    Hot Water Setpoint Temp Schedule,  !- Name
    Any Number,              !- Schedule Type Limits Name
    THROUGH: 12/31,          !- Field 1
    FOR: AllDays,            !- Field 2
    UNTIL: 24:00,            !- Field 3
    50.0;                    !- Field 4

Schedule:Compact,
    Sinks and Showers Temp Schedule,  !- Name
    Any Number,              !- Schedule Type Limits Name
    THROUGH: 12/31,          !- Field 1
    FOR: AllDays,            !- Field 2
    UNTIL: 24:00,            !- Field 3
    43.3;                    !- Field 4

Schedule:Compact,
    Washers Temp Schedule,   !- Name
    Any Number,              !- Schedule Type Limits Name
    THROUGH: 12/31,          !- Field 1
    FOR: AllDays,            !- Field 2
    UNTIL: 24:00,            !- Field 3
    50.0;                    !- Field 4

Schedule:Compact,
    Ambient Temp Schedule,   !- Name
    Any Number,              !- Schedule Type Limits Name
    THROUGH: 12/31,          !- Field 1
    FOR: AllDays,            !- Field 2
    UNTIL: 24:00,            !- Field 3
    22.0;                    !- Field 4

Schedule:Compact,
    Sinks,                   !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: AllDays,            !- Field 2
    Until: 7:00,             !- Field 3
    0.0,                     !- Field 4
    Until: 8:00,             !- Field 5
    0.3,                     !- Field 6
    Until: 9:00,             !- Field 7
    0.7,                     !- Field 8
    Until: 11:00,            !- Field 9
    0.0,                     !- Field 10
    Until: 12:00,            !- Field 11
    0.1,                     !- Field 12
    Until: 13:00,            !- Field 13
    0.3,                     !- Field 14
    Until: 17:00,            !- Field 15
    0.0,                     !- Field 16
    Until: 18:00,            !- Field 17
    0.2,                     !- Field 18
    Until: 19:00,            !- Field 19
    0.5,                     !- Field 20
    Until: 20:00,            !- Field 21
    0.2,                     !- Field 22
    Until: 24:00,            !- Field 23
    0.0;                     !- Field 24

Schedule:Compact,
    Showers,                 !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: AllDays,            !- Field 2
    Until: 7:00,             !- Field 3
    0.0,                     !- Field 4
    Until: 7:30,             !- Field 5
    0.2,                     !- Field 6
    Until: 8:00,             !- Field 7
    0.8,                     !- Field 8
    Until: 8:30,             !- Field 9
    0.1,                     !- Field 10
    Until: 19:00,            !- Field 11
    0.0,                     !- Field 12
    Until: 19:30,            !- Field 13
    0.3,                     !- Field 14
    Until: 24:00,            !- Field 15
    0.0;                     !- Field 16

Schedule:Compact,
    Clotheswasher,           !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: Weekends SummerDesignDay WinterDesignDay,  !- Field 2
    Until: 10:00,            !- Field 3
    0.0,                     !- Field 4
    Until: 11:00,            !- Field 5
    1.0,                     !- Field 6
    Until: 24:00,            !- Field 7
    0.0,                     !- Field 8
    For: AllOtherDays,       !- Field 9
    Until: 24:00,            !- Field 10
    0.0;                     !- Field 11

Schedule:Compact,
    Dishwasher,              !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: AllDays,            !- Field 2
    Until: 20:00,            !- Field 3
    0.0,                     !- Field 4
    Until: 20:30,            !- Field 5
    1.0,                     !- Field 6
    Until: 24:00,            !- Field 7
    0.0;                     !- Field 8


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

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


!-   ===========  ALL OBJECTS IN CLASS: SHADING:SITE:DETAILED ===========

!***SURFACES***
Shading:Site:Detailed,
    Collector Surface 1,     !- Name
    ,                        !- Transmittance Schedule Name
    4,                       !- Number of Vertices
    0.0,                     !- Vertex 1 X-coordinate {m}
    1.718,                   !- Vertex 1 Y-coordinate {m}
    1.718,                   !- Vertex 1 Z-coordinate {m}
    0.0,                     !- Vertex 2 X-coordinate {m}
    0,                       !- Vertex 2 Y-coordinate {m}
    0,                       !- Vertex 2 Z-coordinate {m}
    1.220,                   !- Vertex 3 X-coordinate {m}
    0,                       !- Vertex 3 Y-coordinate {m}
    0,                       !- Vertex 3 Z-coordinate {m}
    1.220,                   !- Vertex 4 X-coordinate {m}
    1.718,                   !- Vertex 4 Y-coordinate {m}
    1.718;                   !- Vertex 4 Z-coordinate {m}

Shading:Site:Detailed,
    Collector Surface 2,     !- Name
    ,                        !- Transmittance Schedule Name
    4,                       !- Number of Vertices
    1.300,                   !- Vertex 1 X-coordinate {m}
    1.718,                   !- Vertex 1 Y-coordinate {m}
    1.718,                   !- Vertex 1 Z-coordinate {m}
    1.300,                   !- Vertex 2 X-coordinate {m}
    0,                       !- Vertex 2 Y-coordinate {m}
    0,                       !- Vertex 2 Z-coordinate {m}
    2.520,                   !- Vertex 3 X-coordinate {m}
    0,                       !- Vertex 3 Y-coordinate {m}
    0,                       !- Vertex 3 Z-coordinate {m}
    2.520,                   !- Vertex 4 X-coordinate {m}
    1.718,                   !- Vertex 4 Y-coordinate {m}
    1.718;                   !- Vertex 4 Z-coordinate {m}

Shading:Site:Detailed,
    Collector Surface 3,     !- Name
    ,                        !- Transmittance Schedule Name
    4,                       !- Number of Vertices
    2.600,                   !- Vertex 1 X-coordinate {m}
    1.718,                   !- Vertex 1 Y-coordinate {m}
    1.718,                   !- Vertex 1 Z-coordinate {m}
    2.600,                   !- Vertex 2 X-coordinate {m}
    0,                       !- Vertex 2 Y-coordinate {m}
    0,                       !- Vertex 2 Z-coordinate {m}
    3.820,                   !- Vertex 3 X-coordinate {m}
    0,                       !- Vertex 3 Y-coordinate {m}
    0,                       !- Vertex 3 Z-coordinate {m}
    3.820,                   !- Vertex 4 X-coordinate {m}
    1.718,                   !- Vertex 4 Y-coordinate {m}
    1.718;                   !- Vertex 4 Z-coordinate {m}

Shading:Site:Detailed,
    Collector Surface 4,     !- Name
    ,                        !- Transmittance Schedule Name
    4,                       !- Number of Vertices
    3.900,                   !- Vertex 1 X-coordinate {m}
    1.718,                   !- Vertex 1 Y-coordinate {m}
    1.718,                   !- Vertex 1 Z-coordinate {m}
    3.900,                   !- Vertex 2 X-coordinate {m}
    0,                       !- Vertex 2 Y-coordinate {m}
    0,                       !- Vertex 2 Z-coordinate {m}
    5.120,                   !- Vertex 3 X-coordinate {m}
    0,                       !- Vertex 3 Y-coordinate {m}
    0,                       !- Vertex 3 Z-coordinate {m}
    5.120,                   !- Vertex 4 X-coordinate {m}
    1.718,                   !- Vertex 4 Y-coordinate {m}
    1.718;                   !- Vertex 4 Z-coordinate {m}

Shading:Site:Detailed,
    Collector Surface 5,     !- Name
    ,                        !- Transmittance Schedule Name
    4,                       !- Number of Vertices
    5.200,                   !- Vertex 1 X-coordinate {m}
    1.718,                   !- Vertex 1 Y-coordinate {m}
    1.718,                   !- Vertex 1 Z-coordinate {m}
    5.200,                   !- Vertex 2 X-coordinate {m}
    0,                       !- Vertex 2 Y-coordinate {m}
    0,                       !- Vertex 2 Z-coordinate {m}
    6.420,                   !- Vertex 3 X-coordinate {m}
    0,                       !- Vertex 3 Y-coordinate {m}
    0,                       !- Vertex 3 Z-coordinate {m}
    6.420,                   !- Vertex 4 X-coordinate {m}
    1.718,                   !- Vertex 4 Y-coordinate {m}
    1.718;                   !- Vertex 4 Z-coordinate {m}

Shading:Site:Detailed,
    Collector Surface 6,     !- Name
    ,                        !- Transmittance Schedule Name
    4,                       !- Number of Vertices
    6.500,                   !- Vertex 1 X-coordinate {m}
    1.718,                   !- Vertex 1 Y-coordinate {m}
    1.718,                   !- Vertex 1 Z-coordinate {m}
    6.500,                   !- Vertex 2 X-coordinate {m}
    0,                       !- Vertex 2 Y-coordinate {m}
    0,                       !- Vertex 2 Z-coordinate {m}
    7.720,                   !- Vertex 3 X-coordinate {m}
    0,                       !- Vertex 3 Y-coordinate {m}
    0,                       !- Vertex 3 Z-coordinate {m}
    7.720,                   !- Vertex 4 X-coordinate {m}
    1.718,                   !- Vertex 4 Y-coordinate {m}
    1.718;                   !- Vertex 4 Z-coordinate {m}

