Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

We have a meta_measure.rb helper script you may be interested in. It's not really documented, but the script will:

  1. Help you get your measures and measure arguments in the needed format (call update_args_hash method).
  2. Runs the measures with checks for valid arguments as possible (call run_measure method).
  3. (Optional) Runs the measures in the order specified by a user-defined json file (workflow_json argument to above method). If not provided, it will simply run the measures in the order that you added measures/arguments.
  4. (Optional) Creates a measures.osw that includes all the measures and measure arguments that were run for debugging purposes (osw_out argument to above method).
  5. (Optional) Shows the measures & arguments called for debugging purposes via runner.registerInfo (show_measure_calls to above method).

Here is a simple example of it being used.

We have a meta_measure.rb helper script you may be interested in. It's not really documented, but the script will:

  1. Help you get your measures and measure arguments in the needed format (call update_args_hash method).
  2. Runs the measures with checks for valid arguments as possible (call run_measure method).method once for each measure).
  3. (Optional) Runs the measures in the order specified by a user-defined json file (workflow_json argument to above method). If not provided, it will simply run the measures in the order that you added measures/arguments.
  4. (Optional) Creates a measures.osw that includes all the measures and measure arguments that were run for debugging purposes (osw_out argument to above method).
  5. (Optional) Shows the measures & arguments called for debugging purposes via runner.registerInfo (show_measure_calls to above method).

Here is a simple example of it being used.

We have a meta_measure.rb helper script you may be interested in. It's not really documented, but the script will:

  1. Help you get your measures and measure arguments in the needed format (call update_args_hash method).method once for each measure).
  2. Runs the measures with checks for valid arguments as possible (call run_measure method once for each measure).method).
  3. (Optional) Runs the measures in the order specified by a user-defined json file (workflow_json argument to above method). If not provided, it will simply run the measures in the order that you added measures/arguments.
  4. (Optional) Creates a measures.osw that includes all the measures and measure arguments that were run for debugging purposes (osw_out argument to above method).
  5. (Optional) Shows the measures & arguments called for debugging purposes via runner.registerInfo (show_measure_calls to above method).

Here is a simple example of it being used.

We have a meta_measure.rb helper script you may be interested in. It's not really documented, but the script will:

  1. Help you get your measures and measure arguments in the needed format (call update_args_hash method once for each measure).
  2. Runs the measures with checks for valid arguments as possible (call run_measure method).
  3. (Optional) Runs the measures in the order specified by a user-defined json file (workflow_json argument to above method). If not provided, it will simply run the measures in the order that you added measures/arguments.
  4. (Optional) Creates a measures.osw that includes all the measures and measure arguments that were run for debugging purposes (osw_out argument to above method).
  5. (Optional) Shows the measures & arguments called for debugging purposes via runner.registerInfo (show_measure_calls argument to above method).

Here is a simple example of it being used.

We have a meta_measure.rb helper script you may be interested in. It's not really documented, but the script will:

  1. Help you get your measures and measure arguments in the needed format (call update_args_hash method once for each measure).
  2. Runs the measures with checks for valid arguments as possible (call run_measure method).
  3. (Optional) Runs the measures in the order specified by a user-defined json file (workflow_json argument to above method). If not provided, it will simply run the measures in the order that you added measures/arguments.
  4. (Optional) Creates a measures.osw that includes all the measures and measure arguments that were run for debugging purposes (osw_out argument to above method).
  5. (Optional) Shows the measures & arguments called for debugging purposes via runner.registerInfo (show_measure_calls argument to above method).

Here is a simple example of it being used.

We have a meta_measure.rb helper script you may be interested in. It's not really documented, but the script will:

  1. Help you get your measures and measure arguments in the needed format (call update_args_hash method once for each measure).
  2. Runs the measures with checks for valid arguments as possible (call run_measureapply_measures method).
  3. (Optional) Runs the measures in the order specified by a user-defined json file (workflow_json argument to above method). If not provided, it will simply run the measures in the order that you added measures/arguments.
  4. (Optional) Creates a measures.osw that includes all the measures and measure arguments that were run for debugging purposes (osw_out argument to above method).
  5. (Optional) Shows the measures & arguments called for debugging purposes via runner.registerInfo (show_measure_calls argument to above method).

Here is a simple example of it being used.