Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="IdealAirSystemAbridged" /> class.
        /// </summary>
        /// <param name="economizerType">Text to indicate the type of air-side economizer used on the ideal air system. Economizers will mix in a greater amount of outdoor air to cool the zone (rather than running the cooling system) when the zone needs cooling and the outdoor air is cooler than the zone..</param>
        /// <param name="demandControlledVentilation">Boolean to note whether demand controlled ventilation should be used on the system, which will vary the amount of ventilation air according to the occupancy schedule of the zone. (default to false).</param>
        /// <param name="sensibleHeatRecovery">A number between 0 and 1 for the effectiveness of sensible heat recovery within the system. (default to 0D).</param>
        /// <param name="latentHeatRecovery">A number between 0 and 1 for the effectiveness of latent heat recovery within the system. (default to 0D).</param>
        /// <param name="heatingAirTemperature">A number for the maximum heating supply air temperature [C]. (default to 50D).</param>
        /// <param name="coolingAirTemperature">A number for the minimum cooling supply air temperature [C]. (default to 13D).</param>
        /// <param name="heatingLimit">A number for the maximum heating capacity in Watts. This can also be an Autosize object to indicate that the capacity should be determined during the EnergyPlus sizing calculation. This can also be a NoLimit object to indicate no upper limit to the heating capacity..</param>
        /// <param name="coolingLimit">A number for the maximum cooling capacity in Watts. This can also be an Autosize object to indicate that the capacity should be determined during the EnergyPlus sizing calculation. This can also be a NoLimit object to indicate no upper limit to the cooling capacity..</param>
        /// <param name="heatingAvailability">An optional identifier of a schedule to set the availability of heating over the course of the simulation..</param>
        /// <param name="coolingAvailability">An optional identifier of a schedule to set the availability of cooling over the course of the simulation..</param>
        /// <param name="identifier">Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be &lt; 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t). (required).</param>
        /// <param name="displayName">Display name of the object with no character restrictions..</param>
        /// <param name="userData">Optional dictionary of user data associated with the object.All keys and values of this dictionary should be of a standard data type to ensure correct serialization of the object (eg. str, float, int, list)..</param>
        public IdealAirSystemAbridged
        (
            string identifier,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Required parameters
            string displayName = default, Object userData = default, EconomizerType economizerType = EconomizerType.DifferentialDryBulb, bool demandControlledVentilation = false, double sensibleHeatRecovery = 0D, double latentHeatRecovery = 0D, double heatingAirTemperature = 50D, double coolingAirTemperature = 13D, AnyOf <Autosize, NoLimit, double> heatingLimit = default, AnyOf <Autosize, NoLimit, double> coolingLimit = default, string heatingAvailability = default, string coolingAvailability = default // Optional parameters
        ) : base(identifier: identifier, displayName: displayName, userData: userData)                                                                                                                                                                                                                                                                                                                                                                                                                                      // BaseClass
        {
            this.EconomizerType = economizerType;
            this.DemandControlledVentilation = demandControlledVentilation;
            this.SensibleHeatRecovery        = sensibleHeatRecovery;
            this.LatentHeatRecovery          = latentHeatRecovery;
            this.HeatingAirTemperature       = heatingAirTemperature;
            this.CoolingAirTemperature       = coolingAirTemperature;
            this.HeatingLimit        = heatingLimit;
            this.CoolingLimit        = coolingLimit;
            this.HeatingAvailability = heatingAvailability;
            this.CoolingAvailability = coolingAvailability;

            // Set non-required readonly properties with defaultValue
            this.Type = "IdealAirSystemAbridged";

            // check if object is valid, only check for inherited class
            if (this.GetType() == typeof(IdealAirSystemAbridged))
            {
                this.IsValid(throwException: true);
            }
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="IdealAirSystemAbridged" /> class.
        /// </summary>
        /// <param name="economizerType">Text to indicate the type of air-side economizer used on the ideal air system. Economizers will mix in a greater amount of outdoor air to cool the zone (rather than running the cooling system) when the zone needs cooling and the outdoor air is cooler than the zone..</param>
        /// <param name="demandControlledVentilation">Boolean to note whether demand controlled ventilation should be used on the system, which will vary the amount of ventilation air according to the occupancy schedule of the zone. (default to false).</param>
        /// <param name="sensibleHeatRecovery">A number between 0 and 1 for the effectiveness of sensible heat recovery within the system. (default to 0D).</param>
        /// <param name="latentHeatRecovery">A number between 0 and 1 for the effectiveness of latent heat recovery within the system. (default to 0D).</param>
        /// <param name="heatingAirTemperature">A number for the maximum heating supply air temperature [C]. (default to 50D).</param>
        /// <param name="coolingAirTemperature">A number for the minimum cooling supply air temperature [C]. (default to 13D).</param>
        /// <param name="heatingLimit">A number for the maximum heating capacity in Watts. This can also be an Autosize object to indicate that the capacity should be determined during the EnergyPlus sizing calculation. This can also be a NoLimit object to indicate no upper limit to the heating capacity..</param>
        /// <param name="coolingLimit">A number for the maximum cooling capacity in Watts. This can also be an Autosize object to indicate that the capacity should be determined during the EnergyPlus sizing calculation. This can also be a NoLimit object to indicate no upper limit to the cooling capacity..</param>
        /// <param name="heatingAvailability">An optional identifier of a schedule to set the availability of heating over the course of the simulation..</param>
        /// <param name="coolingAvailability">An optional identifier of a schedule to set the availability of cooling over the course of the simulation..</param>
        /// <param name="identifier">Text string for a unique object ID. This identifier remains constant as the object is mutated, copied, and serialized to different formats (eg. dict, idf, osm). This identifier is also used to reference the object across a Model. It must be &lt; 100 characters, use only ASCII characters and exclude (, ; ! \\n \\t). (required).</param>
        /// <param name="displayName">Display name of the object with no character restrictions..</param>
        public IdealAirSystemAbridged
        (
            string identifier,                                                                                                                                                                                                                                                                                                                                                                                                                                                                   // Required parameters
            string displayName = default, EconomizerType economizerType = EconomizerType.DifferentialDryBulb, bool demandControlledVentilation = false, double sensibleHeatRecovery = 0D, double latentHeatRecovery = 0D, double heatingAirTemperature = 50D, double coolingAirTemperature = 13D, AnyOf <Autosize, NoLimit, double> heatingLimit = default, AnyOf <Autosize, NoLimit, double> coolingLimit = default, string heatingAvailability = default, string coolingAvailability = default // Optional parameters
        ) : base(identifier: identifier, displayName: displayName)                                                                                                                                                                                                                                                                                                                                                                                                                               // BaseClass
        {
            this.EconomizerType = economizerType;
            this.DemandControlledVentilation = demandControlledVentilation;
            this.SensibleHeatRecovery        = sensibleHeatRecovery;
            this.LatentHeatRecovery          = latentHeatRecovery;
            this.HeatingAirTemperature       = heatingAirTemperature;
            this.CoolingAirTemperature       = coolingAirTemperature;
            this.HeatingLimit        = heatingLimit;
            this.CoolingLimit        = coolingLimit;
            this.HeatingAvailability = heatingAvailability;
            this.CoolingAvailability = coolingAvailability;

            // Set non-required readonly properties with defaultValue
            this.Type = "IdealAirSystemAbridged";
        }