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

ladybug-tools / dragonfly-energy / 285
82%

Build:
DEFAULT BRANCH: master
Ran 25 May 2020 09:48PM UTC
Jobs 4
Files 14
Run time 2min
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

pending completion
285

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%)

1.56 hits per line

Jobs
ID Job ID Ran Files Coverage
2 285.2 25 May 2020 09:48PM UTC 0
77.99
Travis Job 285.2
3 285.3 25 May 2020 09:48PM UTC 0
77.99
Travis Job 285.3
4 285.4 25 May 2020 09:50PM UTC 0
0.0
Travis Job 285.4
5 285.5 25 May 2020 09:51PM UTC 0
0.0
Travis Job 285.5
Source Files on build 285
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #285
  • 30984eae on github
  • Prev Build on master (#283)
  • Next Build on master (#289)
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