NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
499 stars 190 forks source link

Wrap ZoneInfiltration:FlowCoefficient object #4246

Closed shorowit closed 3 years ago

shorowit commented 3 years ago

Enhancement Request

The E+ ZoneInfiltration:FlowCoefficient object is not available in the OS SDK, but the other two ZoneInfiltration objects (ZoneInfiltration:DesignFlowRate and ZoneInfiltration:EffectiveLeakageArea) are. As the FlowCoefficient model (ASHRAE Enhanced) is an improvement over the EffectiveLeakageArea model (ASHRAE Basic), it should really be provided as an option.

jmarrec commented 3 years ago

Proposed OpenStudio.idd

OS:SpaceInfiltration:FlowCoefficient,
       \min-fields 9
       \memo  Infiltration is specified as flow coefficient, schedule fraction, stack and wind coefficients, and
       \memo  is a function of temperature difference and wind speed:
       \memo  Infiltration=FSchedule * SQRT( (c * Cs*|(Tzone-Todb)|**n)**2 + (c* Cw*(s * WindSpd)**2n)**2 )
  A1, \field Handle
       \type handle
       \required-field
  A2 , \field Name
       \required-field
       \type alpha
       \reference SpaceInfiltrationNames
       \reference SpaceItemNames
       \reference SpaceLoadNames
  A3, \field Space or SpaceType Name
       \type object-list
       \object-list SpaceAndSpaceTypeNames
  A4 , \field Schedule Name
       \required-field
       \type object-list
       \object-list ScheduleNames
  N1 , \field Flow Coefficient
       \note "c" in Equation
       \minimum> 0
       \type real
       \required-field
  N2 , \field Stack Coefficient
       \note "Cs" in Equation
       \minimum> 0
       \type real
       \required-field
  N3 , \field Pressure Exponent
       \note "n" in Equation
       \minimum> 0
       \type real
       \required-field
  N4 , \field Wind Coefficient
       \note "Cw" in Equation
       \minimum> 0
       \type real
       \required-field
  N5 ; \field Shelter Factor
       \note "s" in Equation
       \minimum> 0
       \type real
       \required-field

E+ IDD:

Click to Expand Energy+.IDD for this object ``` ZoneInfiltration:FlowCoefficient, \min-fields 8 \memo Infiltration is specified as flow coefficient, schedule fraction, stack and wind coefficients, and \memo is a function of temperature difference and wind speed: \memo Infiltration=FSchedule * SQRT( (c * Cs*|(Tzone-Todb)|**n)**2 + (c* Cw*(s * WindSpd)**2n)**2 ) A1 , \field Name \required-field \type alpha A2 , \field Zone Name \required-field \type object-list \object-list ZoneNames A3 , \field Schedule Name \required-field \type object-list \object-list ScheduleNames N1 , \field Flow Coefficient \note "c" in Equation \minimum> 0 \type real \required-field N2 , \field Stack Coefficient \note "Cs" in Equation \minimum> 0 \type real \required-field N3 , \field Pressure Exponent \note "n" in Equation \minimum> 0 \type real \default 0.67 N4 , \field Wind Coefficient \note "Cw" in Equation \minimum> 0 \type real \required-field N5 ; \field Shelter Factor \note "s" in Equation \minimum> 0 \type real \required-field ```
jmarrec commented 3 years ago

diff between E+ and Proposed OS IDD

--- ep  2021-03-17 15:07:41.842218234 +0100
+++ os  2021-03-17 15:07:51.854397557 +0100
@@ -1,16 +1,21 @@
-ZoneInfiltration:FlowCoefficient,
+OS:SpaceInfiltration:FlowCoefficient,
-       \min-fields 8
+       \min-fields 9
        \memo  Infiltration is specified as flow coefficient, schedule fraction, stack and wind coefficients, and
        \memo  is a function of temperature difference and wind speed:
        \memo  Infiltration=FSchedule * SQRT( (c * Cs*|(Tzone-Todb)|**n)**2 + (c* Cw*(s * WindSpd)**2n)**2 )
+  A1, \field Handle
+      \type handle
+      \required-field
-  A1 , \field Name
+  A2 , \field Name
        \required-field
        \type alpha
+       \reference SpaceInfiltrationNames
+       \reference SpaceItemNames
+       \reference SpaceLoadNames
-  A2 , \field Zone Name
+  A3, \field Space or SpaceType Name
        \type object-list
-       \object-list ZoneNames
+       \object-list SpaceAndSpaceTypeNames
-  A3 , \field Schedule Name
+  A4 , \field Schedule Name
        \required-field
        \type object-list
        \object-list ScheduleNames
@@ -28,7 +33,7 @@
        \note "n" in Equation
        \minimum> 0
        \type real
-       \default 0.67
+       \required-field
   N4 , \field Wind Coefficient
        \note "Cw" in Equation
        \minimum> 0