コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RadiantwithDOASAbridged" /> class.
        /// </summary>
        /// <param name="vintage">Text for the vintage of the template system. This will be used to set efficiencies for various pieces of equipment within the system. Further information about these defaults can be found in the version of ASHRAE 90.1 corresponding to the selected vintage. Read-only versions of the standard can be found at: https://www.ashrae.org/technical-resources/standards-and-guidelines/read-only-versions-of-ashrae-standards.</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="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 Rooms. (default to false).</param>
        /// <param name="doasAvailabilitySchedule">An optional On/Off discrete schedule to set when the dedicated outdoor air system (DOAS) shuts off. This will not only prevent any outdoor air from flowing thorough the system but will also shut off the fans, which can result in more energy savings when spaces served by the DOAS are completely unoccupied. If None, the DOAS will be always on..</param>
        /// <param name="equipmentType">Text for the specific type of system equipment from the RadiantwithDOASEquipmentType enumeration..</param>
        /// <param name="proportionalGain">A fractional number for the proportional gain constant. Recommended values are 0.3 or less. (default to 0.3D).</param>
        /// <param name="minimumOperationTime">A number for the minimum number of hours of operation for the radiant system before it shuts off. (default to 1.0D).</param>
        /// <param name="switchOverTime">A number for the minimum number of hours for when the system can switch between heating and cooling. (default to 24.0D).</param>
        /// <param name="radiantFaceType">Text to indicate which faces are thermally active by default. Note that this property has no effect when the rooms to which the HVAC system is assigned have constructions with internal source materials. In this case, those constructions will dictate the thermally active surfaces..</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 RadiantwithDOASAbridged
        (
            string identifier,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           // Required parameters
            string displayName = default, Object userData = default, Vintages vintage = Vintages.ASHRAE_2019, double sensibleHeatRecovery = 0D, double latentHeatRecovery = 0D, bool demandControlledVentilation = false, string doasAvailabilitySchedule = default, RadiantwithDOASEquipmentType equipmentType = RadiantwithDOASEquipmentType.DOAS_Radiant_Chiller_Boiler, double proportionalGain = 0.3D, double minimumOperationTime = 1.0D, double switchOverTime = 24.0D, RadiantFaceTypes radiantFaceType = RadiantFaceTypes.Floor // Optional parameters
        ) : base(identifier: identifier, displayName: displayName, userData: userData)                                                                                                                                                                                                                                                                                                                                                                                                                                                   // BaseClass
        {
            this.Vintage = vintage;
            this.SensibleHeatRecovery        = sensibleHeatRecovery;
            this.LatentHeatRecovery          = latentHeatRecovery;
            this.DemandControlledVentilation = demandControlledVentilation;
            this.DoasAvailabilitySchedule    = doasAvailabilitySchedule;
            this.EquipmentType        = equipmentType;
            this.ProportionalGain     = proportionalGain;
            this.MinimumOperationTime = minimumOperationTime;
            this.SwitchOverTime       = switchOverTime;
            this.RadiantFaceType      = radiantFaceType;

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

            // check if object is valid, only check for inherited class
            if (this.GetType() == typeof(RadiantwithDOASAbridged))
            {
                this.IsValid(throwException: true);
            }
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Radiant" /> class.
        /// </summary>
        /// <param name="vintage">Text for the vintage of the template system. This will be used to set efficiencies for various pieces of equipment within the system. Further information about these defaults can be found in the version of ASHRAE 90.1 corresponding to the selected vintage. Read-only versions of the standard can be found at: https://www.ashrae.org/technical-resources/standards-and-guidelines/read-only-versions-of-ashrae-standards.</param>
        /// <param name="equipmentType">Text for the specific type of system equipment from the RadiantEquipmentType enumeration..</param>
        /// <param name="proportionalGain">A fractional number for the proportional gain constant. Recommended values are 0.3 or less. (default to 0.3D).</param>
        /// <param name="minimumOperationTime">A number for the minimum number of hours of operation for the radiant system before it shuts off. (default to 1.0D).</param>
        /// <param name="switchOverTime">A number for the minimum number of hours for when the system can switch between heating and cooling. (default to 24.0D).</param>
        /// <param name="radiantFaceType">Text to indicate which faces are thermally active by default. Note that this property has no effect when the rooms to which the HVAC system is assigned have constructions with internal source materials. In this case, those constructions will dictate the thermally active surfaces..</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 Radiant
        (
            string identifier,                                                                                                                                                                                                                                                                                                                               // Required parameters
            string displayName = default, Object userData = default, Vintages vintage = Vintages.ASHRAE_2019, RadiantEquipmentType equipmentType = RadiantEquipmentType.Radiant_Chiller_Boiler, double proportionalGain = 0.3D, double minimumOperationTime = 1.0D, double switchOverTime = 24.0D, RadiantFaceTypes radiantFaceType = RadiantFaceTypes.Floor // Optional parameters
        ) : base(identifier: identifier, displayName: displayName, userData: userData)                                                                                                                                                                                                                                                                       // BaseClass
        {
            this.Vintage              = vintage;
            this.EquipmentType        = equipmentType;
            this.ProportionalGain     = proportionalGain;
            this.MinimumOperationTime = minimumOperationTime;
            this.SwitchOverTime       = switchOverTime;
            this.RadiantFaceType      = radiantFaceType;

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

            // check if object is valid, only check for inherited class
            if (this.GetType() == typeof(Radiant))
            {
                this.IsValid(throwException: true);
            }
        }