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
501 stars 191 forks source link

The new (C++ based) OpenStudio workflow fails if weather_file is not defined in the osw #5009

Closed kbenne closed 11 months ago

kbenne commented 11 months ago

The Ruby based workflow-gem would fallback to looking for the weather file location using the OpenStudio Model's Model::weatherFile. The new C++ workflow does not appear to do this, so if weather_file is not defined in the osw the workflow will fail.

See WFG logic here: https://github.com/NREL/OpenStudio-workflow-gem/blob/696306b5b24cd597edc6ab04faa1e618f99db190/lib/openstudio/workflow/jobs/run_initialization.rb#L147

kbenne commented 11 months ago

Update. Actually it looks like the C++ workflow is trying to find the desired weather file from the model, however in cases where a Model Measure is setting the location, it is happening too early.

@DavidGoldwasser FYI. Still running this issue down.