NREL / EnergyPlus

EnergyPlus™ is a whole building energy simulation program that engineers, architects, and researchers use to model both energy consumption and water use in buildings.
https://energyplus.net
Other
1.12k stars 390 forks source link

Cache Shading Calculations #8924

Open amirroth opened 3 years ago

amirroth commented 3 years ago

Issue overview

Caching shading calculations from one EnergyPlus run to the next is the most obvious and potentially impactful use of caching in EnergyPlus. The ability to import a shading schedule file already exists and recent changes to ScheduleManager have made reading schedule files more efficient. The ability to export a shading schedule file also exists (see comment below by @mjwitte, thanks!). The missing piece is some efficient geometry reduction/hashing scheme that can distinguish whether geometry from the current simulation is identical to geometry used to generate the stored shading schedule file. This is not rocket science. This should get implemented for EnergyPlus 9.7 and possibly even for 9.6 since no IDD changes are involved. Prove me right!

mitchute commented 3 years ago

Tagging this currently unmerged PR here in case it can be leveraged for this task. https://github.com/NREL/EnergyPlus/pull/8728

mjwitte commented 3 years ago

export a shading schedule file (actually maybe this exists also)

Yes, it already exists.

ShadowCalculation, Yes/No, !- Output External Shading Calculation Results