• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ladybug-tools / dragonfly-energy / 285 / 2
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 25 May 2020 09:48PM UTC
Files 14
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 May 2020 09:47PM UTC coverage: 77.987% (+0.04%) from 77.945%
285.2

push

travis-ci

chriswmackey
feat(urbanopt): Refactor the running of URBANopt export and simulation

This commit completely refactors the (previously very hacky) way that we were running the URBANopt CLI.

Now, the dragonfly Model object has a writer to convert the model into an URBANopt geoJSON and linked honeybee model JSONs for each building. This is much cleaner than specifying .osm files in the URBANopt geoJSON since these .osms would have to be generated separately from this single writer method, making broken references a likely scenario in several Grasshopper workflows.

After this writer method is run, we generate our own base workflow.osw that includes the energy-model-measure to translate the honeybee JSONs to OpenStudio models as part of the URBANopt run. This has the added benefit that we can include additional measures in this workflow after the model creation, allowing the user to include any measures they want with any input arguments they want.

So this will allow SOM to import the "Create ypical Building" measure to Grasshopper, specify which HVAC system they want the buildings in the urban area to have, and include the measure in the URBANopt run.

While the tests are all done here, I cannot merge this PR in until I update the components in dragonfly-grasshopper.

705 of 904 relevant lines covered (77.99%)

0.78 hits per line

Source Files on job 285.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 250
  • Travis Job 285.2
  • 30984eae on github
  • Prev Job for on master (#283.2)
  • Next Job for on master (#289.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc