All of the OpenStudio workflows failed to execute

Hi Chris and others!

I am struggling with the DF Run URBANopt tool. The “All of the OpenStudio workflows failed to execute” Error keeps appearing. To try and solve it I re-installed all my LB components, openstudio and URBANopt, to make them all match within the compatibility matrix. Ladybug 1.7.0, OpenStudio 3.6.1, Openstudio App 1.6.0, URBANopt CLI 0.10.0, Rhino 7.0

Also, I ran the “LB versioner”. Both did not work. I still get the same error message.

I hope someone can help me out!

Hi @BcBod ,

Sorry for the late response. I realized that I forgot to update the Compatibility Matrix with the LBT 1.8.0 release but I just did it now. You are supposed to use URBANopt CLI 0.11.1 with LBT 1.8.0:

Also, your screenshot has components from both LBT 1.7 and LBT 1.8 on it. I recommend running the LB Sync Grasshopper File component to make sure that everything on your canvas is synced with your installation.

If doing those changes does not fix it, please upload the log file that is mentioned in the component error message. That should let me know what failed on your machine.

Hi Chris,

I’m having this issue with Ladybug 1.10.0. I have updated everything according to the compatibility matrix and made sure all components are synced but it persists. I had UrbanOpt 1.1.0 installed but it said dragonfly required 1.2.0. When I updated UrbanOpt, I got the “All of the OpenStudio workflows failed to execute” error, and there are no log files as the subfolders in the simulation directory are empty.

Hi @yimika ,

Do you have a sample file that recreates this issue?

We recently made a change in the URBANopt workflow so that more data from the dragonfly models can be translated to the OSMs used in the URBANopt simulation. The URBANopt team also made some big changes with version 1.2 so that Ruby gems don’t have to be re-downloaded each time that you create a new project folder. It’s possible that there may be a bug that resulted from one of these changes.

Here’s the sample file:

Mission_samplefile.gh (379.3 KB)

Thanks, @yimika .

I can see that it appears to be a bug in one of the Ruby gems of URBANopt 1.2. This is the failure message from URBANopt CLI:

Let me see if I can figure out what is going on and then I’ll report it to the URBANopt developers. I’ll also see if I can implement a workaround for the bug.

FYI, I did a validation of your model and you probably want to move the geometry to be closer to the Rhino XY plane so that your buildings aren’t experiencing wind speeds in the stratosphere in the E+ simulation:

@yimika ,

I figured out what the issue is - it’s the courtyard building:

It seems that the URBANopt GeoJSON Gem does not support using GeoJSON MultiPolygon for building footprints with holes/courtyards. The URBANopt gem currently seems to be written with the expectation that everything is a Polygon without any holes. From the URBANopt source code here, it seems like they had the intention of supporting MultiPolygon:

… but it seems like they never got the methods of the gem to work with MultiPolygons as far as I can tell. In any event, I opened an issue here so that they can add support for this:

… and I added a workaround to Dragonfly for the time being so you can simulate your model:

I verified that the fix works for your model:

… and the fix/workaround is should be available via the LB Versioner in an hour.

Also, you can disregard my comment about your building being in the stratosphere. When I saw that your GeoJSON was the size of a Canadian province, I realized you were working in mm and not m.

Thanks for reporting!

Thank you so much @chris !