NREL / SystemsAnalysisReports

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

This project provides output reports for Revit Systems Analysis.

Available Scripts

For testing, you can create some simulated data by running the following command.

node ./scripts/generateJSON.js

Move the created data.json file into the /src folder. After doing so be sure to return the data.json in /src to the snippet below before doing a build:

{
    "design_psychrometrics": {}, "system_load_summarys": {}, "zone_load_summarys": {}
}

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production using Webpack 4 to the build folder.
It bundles React in production mode and optimizes the build for the best performance.

The build is minified. the data.json file is included in the bundle.js.

This build can be run statically without the need for any web server.

unit conversions

Unit conversions use the library convert-units.

Building the measure

This step hasn't been automated yet, but after running npm run build:

It should also be noted that any push to master currently triggers a push to develop on gbxml-to-openstudio.