Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export OSM #110

Open
macumber opened this issue May 6, 2019 · 0 comments
Open

Export OSM #110

macumber opened this issue May 6, 2019 · 0 comments

Comments

@macumber
Copy link
Contributor

macumber commented May 6, 2019

Add Export button on each datapoint on Run

Button opens dialog modal to select name and directory to export osm to. (ex: nam)

Create directory structure:
Name/
files/
measures/
run/
name.osm
Name/
workflow.osw

Copy seed model to top-level directory. Use the seed model listed on the PAT DA; if none, use project seed.

Copy all measures to measures directory

Copy weather file (and any other files) to files directory. Use the weather file listed on the PAT DA; if none, use project weather file.

Copy results (if any) to run directory

Export workflow.osw. (this is the same structure as data_point.osw on server). Schema: https://github.com/NREL/OpenStudio-workflow-gem/blob/osw/spec/schema/osw.json

This may be slightly different for algorithmic datapoints...may not be able to get results (or will have to download results before exporting)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant