Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

Running Daylight Simulation Using Only OpenStudio Measures

asked 2022-08-02 14:07:40 -0500

Ammar De's avatar

updated 2022-11-10 22:41:56 -0500

To perform a daylight simulation analysis in OpenStudio application, the workflow mentioned in the OpenStudio website requires modeling daylight elements in SketchUp. My understanding is that the Radiance measure will not run unless there is at least a daylight sensor and an illuminance map (some posts mentioned even a glare sensor is needed) for a particular thermal zone, is that accurate?

1- Is there any other workflow to model sensors and illuminance maps without needing to use SketchUp? Maybe through measures? I already checked the BCL and found that there is the "Add Daylight Sensor at the Center of Spaces with a Specified Space Type Assigned" measure but nothing for adding illuminance maps.

Any thoughts would be appreciated.

Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2023-02-04 23:11:02 -0500

Ammar De's avatar

Since there is no answer, I will attempt to answer my question based on what we have tried.

Currently, it seems that the BCL doesn't include a measure specifically for illuminance maps which is essential to run the Radiance Daylighting Measure.

Yes, it is possible to run daylight analysis using Radiance without the need for SketchUp to specifically add daylight elements. One can write a new measure that will add daylight sensors and illuminance maps to the zones in the model.

edit flag offensive delete link more
0

answered 2023-01-18 18:32:30 -0500

Redline's avatar

updated 2023-01-19 09:38:23 -0500

Not really an answer to the Original Post. But I have the same exact Question/Issue .

And I wonder if those two measures are supported in a gbXML workflow, rather than via Sketchup?

I don't use Sketchup and am setting up Geometry from imported gbXML.

I've run the Openstudio measures in this order

  1. Add Daylight Sensor at the Center of Spaces with a Specified Space Type Assigned ( I assign them to every space that is of Office-OpenOffice) and this measure seems to complete and adds sensors to all spaces of this type.)

  2. Radiance Daylighting Measure

Running the second Measure it fails with this error:

Info: epw2wea "C:\Users\Alistair\AppData\Local\Temp\osmodel-1674087925-1\resources\files\GBR_Birmingham.035340_IWEC.epw" wx\in.wea
[13:29:37.875656 ERROR] Found error in state 'os_measures' with message [":/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with message Runner error :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with No such file or directory @ rb_sysopen - numeric/merged_space.map, eval:443:in `initialize'
  eval:443:in `open'
  eval:443:in `open'
C:/Users/Alistair/AppData/Local/Temp/osmodel-1674087925-1/resources/measures/RadianceMeasure/measure.rb:2449:in `run'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:517:in `apply_measure'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:114:in `block in apply_measures'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `apply_measures'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_os_measures.rb:70:in `perform'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run'
  :/openstudio_cli.rb:1173:in `execute'
  :/openstudio_cli.rb:803:in `execute'
  :/openstudio_cli.rb:1972:in `<main>'
    eval:    188:in `eval'
    eval:    188:in `require_embedded_absolute'
    eval:    173:in `block in require_embedded'
    eval:    167:in `each'
    eval:    167:in `require_embedded'
    eval:    126:in `require'
    eval:    3:in `<main>' in :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:545:in `rescue in apply_measure'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:505:in `apply_measure'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:114:in `block in apply_measures'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:67:in `apply_measures'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_os_measures.rb:70:in `perform'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3 ...
(more)
edit flag offensive delete link more

Comments

@Redline since this is a very similar question (why am I getting this error using the Radiance measure) and not an answer to the original question here, can you please create a new post instead? You can "edit" your answer, copy the text, and paste that into the body of the new post. You can also link to this post, letting others know that they are related.

Aaron Boranian's avatar Aaron Boranian  ( 2023-01-19 09:43:07 -0500 )edit

I guess but it is really the same question. eg is there a workflow not using Sketchup that allows those measures to be used and daylighting simulation via Radiance. There is a measure to place daylight sensors, but none to place an illuminance map. So currently there is no workflow other than via Sketchup?

Redline's avatar Redline  ( 2023-02-09 17:06:28 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2022-08-02 14:07:40 -0500

Seen: 313 times

Last updated: Feb 05 '23