@classmethod<EOL><INDENT>def from_design_day_properties(cls, name, day_type, location, analysis_period,<EOL>dry_bulb_max, dry_bulb_range, humidity_type,<EOL>humidity_value, barometric_p, wind_speed, wind_dir,<EOL>sky_model, sky_properties):<DEDENT>
dry_bulb_condition = DryBulbCondition(<EOL>dry_bulb_max, dry_bulb_range)<EOL>humidity_condition = HumidityCondition(<EOL>humidity_type, humidity_value, barometric_p)<EOL>wind_condition = WindCondition(<EOL>wind_speed, wind_dir)<EOL>if sky_model == '<STR_LIT>':<EOL><INDENT>sky_condition = OriginalClearSkyCondition.from_analysis_period(<EOL>analysis_period, sky_properties[<NUM_LIT:0>])<EOL><DEDENT>elif sky_model == '<STR_LIT>':<EOL><INDENT>sky_condition = RevisedClearSkyCondition.from_analysis_period(<EOL>analysis_period, sky_properties[<NUM_LIT:0>], sky_properties[-<NUM_LIT:1>])<EOL><DEDENT>return cls(name, day_type, location, dry_bulb_condition,<EOL>humidity_condition, wind_condition, sky_condition)<EOL>
Create a design day object from various key properties.

        Args:
            name: A text string to set the name of the design day
            day_type: Choose from 'SummerDesignDay', 'WinterDesignDay' or other
                EnergyPlus days
            location: Location for the design day
            analysis_period: Analysis period for the design day
            dry_bulb_max: Maximum dry bulb temperature over the design day (in C).
            dry_bulb_range: Dry bulb range over the design day (in C).
            humidity_type: Type of humidity to use. Choose from
                Wetbulb, Dewpoint, HumidityRatio, Enthalpy
            humidity_value: The value of the condition above.
            barometric_p: Barometric pressure in Pa.
            wind_speed: Wind speed over the design day in m/s.
            wind_dir: Wind direction over the design day in degrees.
            sky_model: Type of solar model to use.  Choose from
                ASHRAEClearSky, ASHRAETau
            sky_properties: A list of properties describing the sky above.
                For ASHRAEClearSky this is a single value for clearness
                For ASHRAETau, this is the tau_beam and tau_diffuse