/// <summary>
        /// Initializes a new instance of the <see cref="ModelEnergyProperties" /> class.
        /// </summary>
        /// <param name="constructionSets">List of all unique ConstructionSets in the Model..</param>
        /// <param name="constructions">A list of all unique constructions in the model. This includes constructions across all Faces, Apertures, Doors, Shades, Room ConstructionSets, and the global_construction_set..</param>
        /// <param name="materials">A list of all unique materials in the model. This includes materials needed to make the Model constructions..</param>
        /// <param name="hvacs">List of all unique HVAC systems in the Model..</param>
        /// <param name="shws">List of all unique Service Hot Water (SHW) systems in the Model..</param>
        /// <param name="programTypes">List of all unique ProgramTypes in the Model..</param>
        /// <param name="schedules">A list of all unique schedules in the model. This includes schedules across all HVAC systems, ProgramTypes, Rooms, and Shades..</param>
        /// <param name="scheduleTypeLimits">A list of all unique ScheduleTypeLimits in the model. This all ScheduleTypeLimits needed to make the Model schedules..</param>
        /// <param name="ventilationSimulationControl">An optional parameter to define the global parameters for a ventilation cooling..</param>
        public ModelEnergyProperties
        (
            // Required parameters
            List <AnyOf <ConstructionSetAbridged, ConstructionSet> > constructionSets = default, List <AnyOf <OpaqueConstructionAbridged, WindowConstructionAbridged, WindowConstructionShadeAbridged, AirBoundaryConstructionAbridged, OpaqueConstruction, WindowConstruction, WindowConstructionShade, WindowConstructionDynamicAbridged, WindowConstructionDynamic, AirBoundaryConstruction, ShadeConstruction> > constructions = default, List <AnyOf <EnergyMaterial, EnergyMaterialNoMass, EnergyMaterialVegetation, EnergyWindowMaterialGlazing, EnergyWindowMaterialSimpleGlazSys, EnergyWindowMaterialGas, EnergyWindowMaterialGasMixture, EnergyWindowMaterialGasCustom, EnergyWindowMaterialBlind, EnergyWindowMaterialShade> > materials = default, List <AnyOf <IdealAirSystemAbridged, VAV, PVAV, PSZ, PTAC, ForcedAirFurnace, FCUwithDOASAbridged, WSHPwithDOASAbridged, VRFwithDOASAbridged, RadiantwithDOASAbridged, FCU, WSHP, VRF, Baseboard, EvaporativeCooler, Residential, WindowAC, GasUnitHeater, Radiant> > hvacs = default, List <SHWSystem> shws = default, List <AnyOf <ProgramTypeAbridged, ProgramType> > programTypes = default, List <AnyOf <ScheduleRulesetAbridged, ScheduleFixedIntervalAbridged, ScheduleRuleset, ScheduleFixedInterval> > schedules = default, List <ScheduleTypeLimit> scheduleTypeLimits = default, VentilationSimulationControl ventilationSimulationControl = default // Optional parameters
        ) : base()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             // BaseClass
        {
            this.ConstructionSets             = constructionSets;
            this.Constructions                = constructions;
            this.Materials                    = materials;
            this.Hvacs                        = hvacs;
            this.Shws                         = shws;
            this.ProgramTypes                 = programTypes;
            this.Schedules                    = schedules;
            this.ScheduleTypeLimits           = scheduleTypeLimits;
            this.VentilationSimulationControl = ventilationSimulationControl;

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

            // check if object is valid, only check for inherited class
            if (this.GetType() == typeof(ModelEnergyProperties))
            {
                this.IsValid(throwException: true);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ModelEnergyProperties" /> class.
        /// </summary>
        /// <param name="constructionSets">List of all unique ConstructionSets in the Model..</param>
        /// <param name="constructions">A list of all unique constructions in the model. This includes constructions across all Faces, Apertures, Doors, Shades, Room ConstructionSets, and the global_construction_set..</param>
        /// <param name="materials">A list of all unique materials in the model. This includes materials needed to make the Model constructions..</param>
        /// <param name="hvacs">List of all unique HVAC systems in the Model..</param>
        /// <param name="programTypes">List of all unique ProgramTypes in the Model..</param>
        /// <param name="schedules">A list of all unique schedules in the model. This includes schedules across all HVAC systems, ProgramTypes, Rooms, and Shades..</param>
        /// <param name="scheduleTypeLimits">A list of all unique ScheduleTypeLimits in the model. This all ScheduleTypeLimits needed to make the Model schedules..</param>
        /// <param name="ventilationSimulationControl">An optional parameter to define the global parameters for a ventilation cooling..</param>
        public ModelEnergyProperties
        (
            // Required parameters
            List <AnyOf <ConstructionSetAbridged, ConstructionSet> > constructionSets = default, List <AnyOf <OpaqueConstructionAbridged, WindowConstructionAbridged, WindowConstructionShadeAbridged, AirBoundaryConstructionAbridged, OpaqueConstruction, WindowConstruction, WindowConstructionShade, AirBoundaryConstruction, ShadeConstruction> > constructions = default, List <AnyOf <EnergyMaterial, EnergyMaterialNoMass, EnergyWindowMaterialGas, EnergyWindowMaterialGasCustom, EnergyWindowMaterialGasMixture, EnergyWindowMaterialSimpleGlazSys, EnergyWindowMaterialBlind, EnergyWindowMaterialGlazing, EnergyWindowMaterialShade> > materials = default, List <AnyOf <IdealAirSystemAbridged, VAV, PVAV, PSZ, PTAC, ForcedAirFurnace, FCUwithDOAS, WSHPwithDOAS, VRFwithDOAS, FCU, WSHP, VRF, Baseboard, EvaporativeCooler, Residential, WindowAC, GasUnitHeater> > hvacs = default, List <AnyOf <ProgramTypeAbridged, ProgramType> > programTypes = default, List <AnyOf <ScheduleRulesetAbridged, ScheduleFixedIntervalAbridged, ScheduleRuleset, ScheduleFixedInterval> > schedules = default, List <ScheduleTypeLimit> scheduleTypeLimits = default, VentilationSimulationControl ventilationSimulationControl = default // Optional parameters
        ) : base()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // BaseClass
        {
            this.ConstructionSets             = constructionSets;
            this.Constructions                = constructions;
            this.Materials                    = materials;
            this.Hvacs                        = hvacs;
            this.ProgramTypes                 = programTypes;
            this.Schedules                    = schedules;
            this.ScheduleTypeLimits           = scheduleTypeLimits;
            this.VentilationSimulationControl = ventilationSimulationControl;

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