Once you have completed instructions found in Installer Setup, you can then use the Rakefile contained at the top level of this repository (Rakefile). First you will run a rake task for copying measures and resource files from the OpenStudio-BEopt) repository into the top-level
resources/measures folder. Then you will run rake task(s) for performing integrity checks on project inputs.
Using the Rakefile¶
rake -T to see the list of possible rake tasks. The
-T is replaced with the chosen task.
$ rake -T rake integrity_check_all # Perform integrity check on inputs... rake integrity_check_resstock_national # Perform integrity check on inputs... rake integrity_check_resstock_multifamily # Perform integrity check on inputs... rake integrity_check_resstock_testing # Perform integrity check on inputs... rake test:all # Run tests for all rake test:regenerate_osms # Run tests for regenerate_osms rake update_measures # update all measures rake update_tariffs # update urdb tariffs
rake integrity_check_resstock_<project_name>, where
<project_name> matches the project you are working with. If no rake task exists for the project you are working with, extend the list of integrity check rake tasks to accommodate your project by copy-pasting and renaming the
integrity_check_resstock_national rake task found in the Rakefile. An example for running a project’s integrity checks is given below:
$ rake integrity_check_resstock_national Checking for issues with project_resstock_national/Location Region... Checking for issues with project_resstock_national/Location EPW... Checking for issues with project_resstock_national/Vintage... Checking for issues with project_resstock_national/Heating Fuel... Checking for issues with project_resstock_national/Usage Level... ...
If the integrity check for a given project fails, you will need to update either your tsv files and/or the
resources/options_lookup.tsv file. See Options Lookup for information about the