Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SurfaceProperty:LocalEnvironment and SurfaceProperty:SurroundingSurfaces: IDD adjustments #9275

Open
3 tasks
jmarrec opened this issue Feb 17, 2022 · 4 comments
Labels
Defect Includes code to repair a defect in EnergyPlus IDDChange Code changes impact the IDD file (cannot be merged after IO freeze)

Comments

@jmarrec
Copy link
Contributor

jmarrec commented Feb 17, 2022

Issue overview

The example file actually references a FenestrationSurface:Detailed object, which is NOT part of the SurfaceNames object list.

SurfaceProperty:LocalEnvironment,
LocEnv:Zn005:Wall002:Win001, !- Name
Zn005:Wall002:Win001, !- Exterior Surface Name
, !- External Shading Fraction Schedule Name
SrdSurfs:Zn005:Wall002:Win001, !- Surrounding Surfaces Object Name
; !- Outdoor Air Node Name

SurfaceProperty:LocalEnvironment
   A2, \field Exterior Surface Name
       \type object-list
-      \object-list SurfaceNames
+    # Either one of these two probably
+     \object-list SurfAndSubSurfNames
+     \object-list AllHeatTranSurfNames
       \note Enter the name of an exterior surface object

SurfaceProperty:SurroundingSurfaces: the Sky view factor and Ground view factors are autocalculated, so they should be marked as such. (At the very least, they should NOT have a default, because blank means it's autocalculated)
https://bigladdersoftware.com/epx/docs/9-6/input-output-reference/group-advanced-surface-concepts.html#surfacePropertysurroundingSurfaces

SurfaceProperty:SurroundingSurfaces,
   N1, \field Sky View Factor
       \minimum 0.0
       \maximum 1.0
-      \default 0.5
+     \autocalculatable 
+     \default autocalculate
       \note optional

   N2, \field Ground View Factor
       \minimum 0.0
       \maximum 1.0
-      \default 0.5
+     \autocalculatable 
+     \default autocalculate
       \note optional

Details

Some additional details for this issue (if relevant):

  • Platform (Operating system, version): all
  • Version of EnergyPlus (if using an intermediate build, include SHA): develop, 923772d

Checklist

Add to this list or remove from it as applicable. This is a simple templated set of guidelines.

  • Defect file added (list location of defect file here)
  • Ticket added to Pivotal for defect (development team task)
  • Pull request created (the pull request will have additional tasks related to reviewing changes that fix this defect)
@jmarrec jmarrec added Defect Includes code to repair a defect in EnergyPlus IDDChange Code changes impact the IDD file (cannot be merged after IO freeze) labels Feb 17, 2022
jmarrec added a commit to NREL/OpenStudio that referenced this issue Feb 17, 2022
jmarrec added a commit to NREL/OpenStudio that referenced this issue Feb 18, 2022
@shorowit
Copy link
Contributor

shorowit commented May 2, 2022

On the first item, this question suggests that the SurfaceProperty:LocalEnvironment object does not apply to has no simulation output effect for a FenestrationSurface:Detailed object. Also related to the last point in @mjwitte's comment here.

@mjwitte
Copy link
Contributor

mjwitte commented May 2, 2022

SurfaceProperty:LocalEnvironment is supposed to apply to fenestration objects, and as noted in this issue, it's an IDD error that makes it appear that this is not allowed. The example file does apply this to a window(s). I guess I haven't confirmed that it actually works for the window. As with most things, and especially with software, trust, but verify.

  1. SurfaceProperty:LocalEnvironment does work for fenestration surfaces. See example files SurfacePropTest_SurfLWR and SolarShadingTest_ExternalFraction.
  2. However, External Shading Fraction Schedule Name only works is ShadowCalculation "Shading Calculation Method" = Scheduled.
  3. And it only works for RunPeriod simulations (not for SizingPeriod:DesignDays, did not test SizingPeriod:WeatherFileDays).

So, not only does the IDD need updates, and notes, there should be a warning if External Shading Fraction Schedule Name is used when the Shadow Calculation Method is not "Schedule". OR better yet, figure out how to overlay this on the other shadow calculation methods, so it can be used to adjust certain surfaces which the main method handles all of the others.

@mjwitte
Copy link
Contributor

mjwitte commented May 2, 2022

Also note that there is no check on the scheduled sunlit fraction. The value can be anything, even if the surface would be in shade due to sun position. Here are some test files 9275-v9.5.zip Sorry they're v9.5 'cause that runs with ep-launch with external schedule files without updating the file paths.
.

@mjwitte
Copy link
Contributor

mjwitte commented May 2, 2022

See also #6935 - that field name change should happen along with these idd changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Defect Includes code to repair a defect in EnergyPlus IDDChange Code changes impact the IDD file (cannot be merged after IO freeze)
Projects
None yet
Development

No branches or pull requests

3 participants