pyidf.simulation_parameters module¶
Data objects in group “Simulation Parameters”
-
class
pyidf.simulation_parameters.Building¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object Building Describes parameters that are used during the simulation of the building. There are necessary correlations between the entries for this object and some entries in the Site:WeatherStation and Site:HeightVariation objects, specifically the Terrain field.
-
loads_convergence_tolerance_value¶ field Loads Convergence Tolerance Value
Loads Convergence Tolerance Value is a fraction of loadDefault value: 0.04value <= 0.5Parameters: value (float) – value for IDD Field Loads Convergence Tolerance Value Raises: ValueError– if value is not a valid valueReturns: the value of loads_convergence_tolerance_value or None if not set Return type: float
-
maximum_number_of_warmup_days¶ field Maximum Number of Warmup Days
EnergyPlus will only use as many warmup days as needed to reach convergence tolerance.This field’s value should NOT be set less than 25.Default value: 25Parameters: value (int) – value for IDD Field Maximum Number of Warmup Days Raises: ValueError– if value is not a valid valueReturns: the value of maximum_number_of_warmup_days or None if not set Return type: int
-
minimum_number_of_warmup_days¶ field Minimum Number of Warmup Days
The minimum number of warmup days that produce enough temperature and flux historyto start EnergyPlus simulation for all reference buildings was suggested to be 6.When this field is greater than the maximum warmup days defined previous fieldthe maximum number of warmup days will be reset to the minimum value entered here.Warmup days will be set to be the value you entered when it is less than the default 6.Default value: 6Parameters: value (int) – value for IDD Field Minimum Number of Warmup Days Raises: ValueError– if value is not a valid valueReturns: the value of minimum_number_of_warmup_days or None if not set Return type: int
-
name¶ field Name
Default value: NONEParameters: value (str) – value for IDD Field Name Raises: ValueError– if value is not a valid valueReturns: the value of name or None if not set Return type: str
-
north_axis¶ field North Axis
degrees from true NorthUnits: degParameters: value (float) – value for IDD Field North Axis Raises: ValueError– if value is not a valid valueReturns: the value of north_axis or None if not set Return type: float
-
solar_distribution¶ field Solar Distribution
MinimalShadowing | FullExterior | FullInteriorAndExterior | FullExteriorWithReflections | FullInteriorAndExteriorWithReflectionsDefault value: FullExteriorParameters: value (str) – value for IDD Field Solar Distribution Raises: ValueError– if value is not a valid valueReturns: the value of solar_distribution or None if not set Return type: str
-
temperature_convergence_tolerance_value¶ field Temperature Convergence Tolerance Value
Units: deltaCDefault value: 0.4value <= 0.5Parameters: value (float) – value for IDD Field Temperature Convergence Tolerance Value Raises: ValueError– if value is not a valid valueReturns: the value of temperature_convergence_tolerance_value or None if not set Return type: float
-
terrain¶ field Terrain
Country=FlatOpenCountry | Suburbs=CountryTownsSuburbs | City=CityCenter | Ocean=body of water (5km) | Urban=Urban-Industrial-ForestDefault value: SuburbsParameters: value (str) – value for IDD Field Terrain Raises: ValueError– if value is not a valid valueReturns: the value of terrain or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.ConvergenceLimits¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object ConvergenceLimits Specifies limits on HVAC system simulation timesteps and iterations. This item is an advanced feature that should be used only with caution.
-
maximum_hvac_iterations¶ field Maximum HVAC Iterations
Default value: 20value >= 1Parameters: value (int) – value for IDD Field Maximum HVAC Iterations Raises: ValueError– if value is not a valid valueReturns: the value of maximum_hvac_iterations or None if not set Return type: int
-
maximum_plant_iterations¶ field Maximum Plant Iterations
Controls the maximum number of plant system solver iterations within a single HVAC iterationSmaller values might decrease runtime but could decrease solution accuracy for complicated plant systemsDefault value: 8value >= 2Parameters: value (int) – value for IDD Field Maximum Plant Iterations Raises: ValueError– if value is not a valid valueReturns: the value of maximum_plant_iterations or None if not set Return type: int
-
minimum_plant_iterations¶ field Minimum Plant Iterations
Controls the minimum number of plant system solver iterations within a single HVAC iterationLarger values will increase runtime but might improve solution accuracy for complicated plant systemsComplex plants include: several interconnected loops, heat recovery, thermal load following generators, etc.Default value: 2value >= 1Parameters: value (int) – value for IDD Field Minimum Plant Iterations Raises: ValueError– if value is not a valid valueReturns: the value of minimum_plant_iterations or None if not set Return type: int
-
minimum_system_timestep¶ field Minimum System Timestep
0 sets the minimum to the zone timestep (ref: Timestep)1 is normal (ratchet down to 1 minute)setting greater than zone timestep (in minutes) will effectively set to zone timestepUnits: minutesvalue <= 60Parameters: value (int) – value for IDD Field Minimum System Timestep Raises: ValueError– if value is not a valid valueReturns: the value of minimum_system_timestep or None if not set Return type: int
-
-
class
pyidf.simulation_parameters.HeatBalanceAlgorithm¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object HeatBalanceAlgorithm Determines which Heat Balance Algorithm will be used ie. CTF (Conduction Transfer Functions), EMPD (Effective Moisture Penetration Depth with Conduction Transfer Functions). Advanced/Research Usage: CondFD (Conduction Finite Difference) Advanced/Research Usage: ConductionFiniteDifferenceSimplified Advanced/Research Usage: HAMT (Combined Heat And Moisture Finite Element)
-
algorithm¶ field Algorithm
Default value: ConductionTransferFunctionParameters: value (str) – value for IDD Field Algorithm Raises: ValueError– if value is not a valid valueReturns: the value of algorithm or None if not set Return type: str
-
maximum_surface_convection_heat_transfer_coefficient_value¶ field Maximum Surface Convection Heat Transfer Coefficient Value
Units: W/m2-KDefault value: 1000.0value >= 1.0Parameters: value (float) – value for IDD Field Maximum Surface Convection Heat Transfer Coefficient Value Raises: ValueError– if value is not a valid valueReturns: the value of maximum_surface_convection_heat_transfer_coefficient_value or None if not set Return type: float
-
minimum_surface_convection_heat_transfer_coefficient_value¶ field Minimum Surface Convection Heat Transfer Coefficient Value
Units: W/m2-KDefault value: 0.1Parameters: value (float) – value for IDD Field Minimum Surface Convection Heat Transfer Coefficient Value Raises: ValueError– if value is not a valid valueReturns: the value of minimum_surface_convection_heat_transfer_coefficient_value or None if not set Return type: float
-
surface_temperature_upper_limit¶ field Surface Temperature Upper Limit
Units: CDefault value: 200.0value >= 200.0Parameters: value (float) – value for IDD Field Surface Temperature Upper Limit Raises: ValueError– if value is not a valid valueReturns: the value of surface_temperature_upper_limit or None if not set Return type: float
-
-
class
pyidf.simulation_parameters.HeatBalanceSettingsConductionFiniteDifference¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object HeatBalanceSettings:ConductionFiniteDifference Determines settings for the Conduction Finite Difference algorithm for surface heat transfer modeling.
-
difference_scheme¶ field Difference Scheme
Default value: FullyImplicitFirstOrderParameters: value (str) – value for IDD Field Difference Scheme Raises: ValueError– if value is not a valid valueReturns: the value of difference_scheme or None if not set Return type: str
-
inside_face_surface_temperature_convergence_criteria¶ field Inside Face Surface Temperature Convergence Criteria
Default value: 0.002value >= 1e-07value <= 0.01Parameters: value (float) – value for IDD Field Inside Face Surface Temperature Convergence Criteria Raises: ValueError– if value is not a valid valueReturns: the value of inside_face_surface_temperature_convergence_criteria or None if not set Return type: float
-
relaxation_factor¶ field Relaxation Factor
Default value: 1.0value >= 0.01value <= 1.0Parameters: value (float) – value for IDD Field Relaxation Factor Raises: ValueError– if value is not a valid valueReturns: the value of relaxation_factor or None if not set Return type: float
-
space_discretization_constant¶ field Space Discretization Constant
increase or decrease number of nodesDefault value: 3.0Parameters: value (float) – value for IDD Field Space Discretization Constant Raises: ValueError– if value is not a valid valueReturns: the value of space_discretization_constant or None if not set Return type: float
-
-
class
pyidf.simulation_parameters.ProgramControl¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object ProgramControl used to support various efforts in time reduction for simulation including threading This object is currently disabled
-
number_of_threads_allowed¶ field Number of Threads Allowed
This is currently used only in the Interior Radiant Exchange module – view factors on # surfacesif value is 0, then maximum number allowed will be used.Parameters: value (int) – value for IDD Field Number of Threads Allowed Raises: ValueError– if value is not a valid valueReturns: the value of number_of_threads_allowed or None if not set Return type: int
-
-
class
pyidf.simulation_parameters.ShadowCalculation¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object ShadowCalculation This object is used to control details of the solar, shading, and daylighting models
-
calculation_frequency¶ field Calculation Frequency
enter number of daysthis field is only used if the previous field is set to AverageOverDaysInFrequency0=Use Default Periodic Calculation|<else> calculate every <value> dayonly really applicable to RunPeriodswarning issued if >31Default value: 20value >= 1Parameters: value (int) – value for IDD Field Calculation Frequency Raises: ValueError– if value is not a valid valueReturns: the value of calculation_frequency or None if not set Return type: int
-
calculation_method¶ field Calculation Method
choose calculation method. note that TimestepFrequency is only needed for certain casesand can increase execution time significantly.Default value: AverageOverDaysInFrequencyParameters: value (str) – value for IDD Field Calculation Method Raises: ValueError– if value is not a valid valueReturns: the value of calculation_method or None if not set Return type: str
-
maximum_figures_in_shadow_overlap_calculations¶ field Maximum Figures in Shadow Overlap Calculations
Number of allowable figures in shadow overlap calculationsDefault value: 15000value >= 200Parameters: value (int) – value for IDD Field Maximum Figures in Shadow Overlap Calculations Raises: ValueError– if value is not a valid valueReturns: the value of maximum_figures_in_shadow_overlap_calculations or None if not set Return type: int
-
polygon_clipping_algorithm¶ field Polygon Clipping Algorithm
Advanced Feature. Internal default is SutherlandHodgmanRefer to InputOutput Reference and Engineering Reference for more informationParameters: value (str) – value for IDD Field Polygon Clipping Algorithm Raises: ValueError– if value is not a valid valueReturns: the value of polygon_clipping_algorithm or None if not set Return type: str
-
sky_diffuse_modeling_algorithm¶ field Sky Diffuse Modeling Algorithm
Advanced Feature. Internal default is SimpleSkyDiffuseModelingIf you have shading elements that change transmittance over theyear, you may wish to choose the detailed method.Refer to InputOutput Reference and Engineering Reference for more informationParameters: value (str) – value for IDD Field Sky Diffuse Modeling Algorithm Raises: ValueError– if value is not a valid valueReturns: the value of sky_diffuse_modeling_algorithm or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.SimulationControl¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object SimulationControl Note that the following 3 fields are related to the Sizing:Zone, Sizing:System, and Sizing:Plant objects. Having these fields set to Yes but no corresponding Sizing object will not cause the sizing to be done. However, having any of these fields set to No, the corresponding Sizing object is ignored. Note also, if you want to do system sizing, you must also do zone sizing in the same run or an error will result.
-
do_hvac_sizing_simulation_for_sizing_periods¶ field Do HVAC Sizing Simulation for Sizing Periods
If Yes, SizingPeriod:* objects are exectuted additional times for advanced sizing.Currently limited to use with coincident plant sizing, see Sizing:Plant objectDefault value: NoParameters: value (str) – value for IDD Field Do HVAC Sizing Simulation for Sizing Periods Raises: ValueError– if value is not a valid valueReturns: the value of do_hvac_sizing_simulation_for_sizing_periods or None if not set Return type: str
-
do_plant_sizing_calculation¶ field Do Plant Sizing Calculation
If Yes, Plant sizing is accomplished from corresponding Sizing:Plant objectsand autosize fields.Default value: NoParameters: value (str) – value for IDD Field Do Plant Sizing Calculation Raises: ValueError– if value is not a valid valueReturns: the value of do_plant_sizing_calculation or None if not set Return type: str
-
do_system_sizing_calculation¶ field Do System Sizing Calculation
If Yes, System sizing is accomplished from corresponding Sizing:System objectsand autosize fields.If Yes, Zone sizing (previous field) must also be Yes.Default value: NoParameters: value (str) – value for IDD Field Do System Sizing Calculation Raises: ValueError– if value is not a valid valueReturns: the value of do_system_sizing_calculation or None if not set Return type: str
-
do_zone_sizing_calculation¶ field Do Zone Sizing Calculation
If Yes, Zone sizing is accomplished from corresponding Sizing:Zone objectsand autosize fields.Default value: NoParameters: value (str) – value for IDD Field Do Zone Sizing Calculation Raises: ValueError– if value is not a valid valueReturns: the value of do_zone_sizing_calculation or None if not set Return type: str
-
maximum_number_of_hvac_sizing_simulation_passes¶ field Maximum Number of HVAC Sizing Simulation Passes
the entire set of SizingPeriod:* objects may be repeated to fine tune size resultsthis input sets a limit on the number of passes that the sizing algorithms can repeate the setDefault value: 1value >= 1Parameters: value (int) – value for IDD Field Maximum Number of HVAC Sizing Simulation Passes Raises: ValueError– if value is not a valid valueReturns: the value of maximum_number_of_hvac_sizing_simulation_passes or None if not set Return type: int
-
run_simulation_for_sizing_periods¶ field Run Simulation for Sizing Periods
If Yes, SizingPeriod:* objects are executed and results from those may be displayed..Default value: YesParameters: value (str) – value for IDD Field Run Simulation for Sizing Periods Raises: ValueError– if value is not a valid valueReturns: the value of run_simulation_for_sizing_periods or None if not set Return type: str
-
run_simulation_for_weather_file_run_periods¶ field Run Simulation for Weather File Run Periods
If Yes, RunPeriod:* objects are executed and results from those may be displayed..Default value: YesParameters: value (str) – value for IDD Field Run Simulation for Weather File Run Periods Raises: ValueError– if value is not a valid valueReturns: the value of run_simulation_for_weather_file_run_periods or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.SurfaceConvectionAlgorithmInside¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object SurfaceConvectionAlgorithm:Inside Default indoor surface heat transfer convection algorithm to be used for all zones
-
algorithm¶ field Algorithm
Simple = constant value natural convection (ASHRAE)TARP = variable natural convection based on temperature difference (ASHRAE, Walton)CeilingDiffuser = ACH-based forced and mixed convection correlationsfor ceiling diffuser configuration with simple natural convection limitAdaptiveConvectionAlgorithm = dynamic selection of convection models based on conditionsDefault value: TARPParameters: value (str) – value for IDD Field Algorithm Raises: ValueError– if value is not a valid valueReturns: the value of algorithm or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.SurfaceConvectionAlgorithmOutside¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object SurfaceConvectionAlgorithm:Outside Default outside surface heat transfer convection algorithm to be used for all zones
-
algorithm¶ field Algorithm
SimpleCombined = Combined radiation and convection coefficient using simple ASHRAE modelTARP = correlation from models developed by ASHRAE, Walton, and Sparrow et. al.MoWiTT = correlation from measurements by Klems and Yazdanian for smooth surfacesDOE-2 = correlation from measurements by Klems and Yazdanian for rough surfacesAdaptiveConvectionAlgorithm = dynamic selection of correlations based on conditionsDefault value: DOE-2Parameters: value (str) – value for IDD Field Algorithm Raises: ValueError– if value is not a valid valueReturns: the value of algorithm or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.Timestep¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object Timestep Specifies the “basic” timestep for the simulation. The value entered here is also known as the Zone Timestep. This is used in the Zone Heat Balance Model calculation as the driving timestep for heat transfer and load calculations.
-
number_of_timesteps_per_hour¶ field Number of Timesteps per Hour
Number in hour: normal validity 4 to 60: 6 suggestedMust be evenly divisible into 60Allowable values include 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, and 60Normal 6 is minimum as lower values may cause inaccuraciesA minimum value of 20 is suggested for both ConductionFiniteDifferenceand CombinedHeatAndMoistureFiniteElement surface heat balance algorithmsA minimum of 12 is suggested for simulations involving a Vegetated Roof (Material:RoofVegetation).Default value: 6value >= 1value <= 60Parameters: value (int) – value for IDD Field Number of Timesteps per Hour Raises: ValueError– if value is not a valid valueReturns: the value of number_of_timesteps_per_hour or None if not set Return type: int
-
-
class
pyidf.simulation_parameters.Version¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object Version Specifies the EnergyPlus version of the IDF file.
-
version_identifier¶ field Version Identifier
Default value: 8.4Parameters: value (str) – value for IDD Field Version Identifier Raises: ValueError– if value is not a valid valueReturns: the value of version_identifier or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.ZoneAirContaminantBalance¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object ZoneAirContaminantBalance Determines which contaminant concentration will be simulates.
-
carbon_dioxide_concentration¶ field Carbon Dioxide Concentration
If Yes, CO2 simulation will be performed.Default value: NoParameters: value (str) – value for IDD Field Carbon Dioxide Concentration Raises: ValueError– if value is not a valid valueReturns: the value of carbon_dioxide_concentration or None if not set Return type: str
-
generic_contaminant_concentration¶ field Generic Contaminant Concentration
If Yes, generic contaminant simulation will be performed.Default value: NoParameters: value (str) – value for IDD Field Generic Contaminant Concentration Raises: ValueError– if value is not a valid valueReturns: the value of generic_contaminant_concentration or None if not set Return type: str
-
outdoor_carbon_dioxide_schedule_name¶ field Outdoor Carbon Dioxide Schedule Name
Schedule values should be in parts per million (ppm)Parameters: value (str) – value for IDD Field Outdoor Carbon Dioxide Schedule Name Raises: ValueError– if value is not a valid valueReturns: the value of outdoor_carbon_dioxide_schedule_name or None if not set Return type: str
-
outdoor_generic_contaminant_schedule_name¶ field Outdoor Generic Contaminant Schedule Name
Schedule values should be generic contaminant concentration in parts permillion (ppm)Parameters: value (str) – value for IDD Field Outdoor Generic Contaminant Schedule Name Raises: ValueError– if value is not a valid valueReturns: the value of outdoor_generic_contaminant_schedule_name or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.ZoneAirHeatBalanceAlgorithm¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object ZoneAirHeatBalanceAlgorithm Determines which algorithm will be used to solve the zone air heat balance.
-
algorithm¶ field Algorithm
Default value: ThirdOrderBackwardDifferenceParameters: value (str) – value for IDD Field Algorithm Raises: ValueError– if value is not a valid valueReturns: the value of algorithm or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.ZoneAirMassFlowConservation¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object ZoneAirMassFlowConservation Enforces the zone air mass flow balance by adjusting zone mixing object and/or infiltration object mass flow rates. If either mixing or infiltration is active, then the zone air mass flow balance calculation will attempt to enforce conservation of mass for each zone.
-
adjust_zone_mixing_for_zone_air_mass_flow_balance¶ field Adjust Zone Mixing For Zone Air Mass Flow Balance
If Yes, Zone mixing object flow rates are adjusted to balance the zone air mass flowand additional infiltration air flow may be added if required in order to balance thezone air mass flow.Default value: NoParameters: value (str) – value for IDD Field Adjust Zone Mixing For Zone Air Mass Flow Balance Raises: ValueError– if value is not a valid valueReturns: the value of adjust_zone_mixing_for_zone_air_mass_flow_balance or None if not set Return type: str
-
infiltration_balancing_method¶ field Infiltration Balancing Method
This input field allows user to choose how zone infiltration flow is treated duringthe zone air mass flow balance calculation.AddInfiltrationFlow may add infiltration to the base flow specified in theinfiltration object to balance the zone air mass flow. The additional infiltrationair mass flow is not self-balanced. The base flow is assumed to be self-balanced.AdjustInfiltrationFlow may adjust the base flow calculated usingthe base flow specified in the infiltration object to balance the zone air mass flow. If itIf no adjustment is required, then the base infiltration is assumed to be self-balanced.None will make no changes to the base infiltration flow.Default value: AddInfiltrationFlowParameters: value (str) – value for IDD Field Infiltration Balancing Method Raises: ValueError– if value is not a valid valueReturns: the value of infiltration_balancing_method or None if not set Return type: str
-
infiltration_balancing_zones¶ field Infiltration Balancing Zones
This input field allows user to choose which zones are included in infiltration balancing.MixingSourceZonesOnly allows infiltration balancing only in zones which as source zones for mixingwhich also have an infiltration object defined.AllZones allows infiltration balancing in any zone which has an infiltration object defined.Default value: MixingSourceZonesOnlyParameters: value (str) – value for IDD Field Infiltration Balancing Zones Raises: ValueError– if value is not a valid valueReturns: the value of infiltration_balancing_zones or None if not set Return type: str
-
-
class
pyidf.simulation_parameters.ZoneCapacitanceMultiplierResearchSpecial¶ Bases:
pyidf.helper.DataObjectCorresponds to IDD object ZoneCapacitanceMultiplier:ResearchSpecial Multiplier altering the relative capacitance of the air compared to an empty zone
-
carbon_dioxide_capacity_multiplier¶ field Carbon Dioxide Capacity Multiplier
Used to alter the capacitance of zone air with respect to zone air carbon dioxide concentrationDefault value: 1.0Parameters: value (float) – value for IDD Field Carbon Dioxide Capacity Multiplier Raises: ValueError– if value is not a valid valueReturns: the value of carbon_dioxide_capacity_multiplier or None if not set Return type: float
-
generic_contaminant_capacity_multiplier¶ field Generic Contaminant Capacity Multiplier
Used to alter the capacitance of zone air with respect to zone air generic contaminant concentrationDefault value: 1.0Parameters: value (float) – value for IDD Field Generic Contaminant Capacity Multiplier Raises: ValueError– if value is not a valid valueReturns: the value of generic_contaminant_capacity_multiplier or None if not set Return type: float
-
humidity_capacity_multiplier¶ field Humidity Capacity Multiplier
Used to alter the capacitance of zone air with respect to moisture or humidity ratioDefault value: 1.0Parameters: value (float) – value for IDD Field Humidity Capacity Multiplier Raises: ValueError– if value is not a valid valueReturns: the value of humidity_capacity_multiplier or None if not set Return type: float
-
temperature_capacity_multiplier¶ field Temperature Capacity Multiplier
Used to alter the capacitance of zone air with respect to heat or temperatureDefault value: 1.0Parameters: value (float) – value for IDD Field Temperature Capacity Multiplier Raises: ValueError– if value is not a valid valueReturns: the value of temperature_capacity_multiplier or None if not set Return type: float
-