Closed joseph-robertson closed 11 months ago
I have a problem for the test run. The simulation is failed even I only run the Scenario Bills. The error in the run.log is "Runner error :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with Optional not initialized," I did not meet this problem when I run the develop branch. Do I need to do some setup of my computer in order to do a test run?
What "test run" are you referring to?
I have a problem for the test run. The simulation is failed even I only run the Scenario Bills. The error in the run.log is "Runner error :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with Optional not initialized," I did not meet this problem when I run the develop branch. Do I need to do some setup of my computer in order to do a test run?
What "test run" are you referring to?
run the testing_baseline.yml with a small datapoints
I have a problem for the test run. The simulation is failed even I only run the Scenario Bills. The error in the run.log is "Runner error :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with Optional not initialized," I did not meet this problem when I run the develop branch. Do I need to do some setup of my computer in order to do a test run?
What "test run" are you referring to?
run the testing_baseline.yml with a small datapoints
So you are running something like /c/openstudio-3.6.1/bin/openstudio.exe workflow/run_analysis.rb -y project_testing/testing_baseline.yml
? Is the lib
folder deleted before running that command?
I have a problem for the test run. The simulation is failed even I only run the Scenario Bills. The error in the run.log is "Runner error :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with Optional not initialized," I did not meet this problem when I run the develop branch. Do I need to do some setup of my computer in order to do a test run?
What "test run" are you referring to?
run the testing_baseline.yml with a small datapoints
So you are running something like
/c/openstudio-3.6.1/bin/openstudio.exe workflow/run_analysis.rb -y project_testing/testing_baseline.yml
? Is thelib
folder deleted before running that command?
I use the buildstock bath to run locally. running something like buildstock_local testing_baseline.yml
and have the error above. But I don't have any error now when I running something like /c/openstudio-3.6.1/bin/openstudio.exe workflow/run_analysis.rb -y project_testing/testing_baseline.yml
I have a problem for the test run. The simulation is failed even I only run the Scenario Bills. The error in the run.log is "Runner error :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with Optional not initialized," I did not meet this problem when I run the develop branch. Do I need to do some setup of my computer in order to do a test run?
What "test run" are you referring to?
run the testing_baseline.yml with a small datapoints
So you are running something like
/c/openstudio-3.6.1/bin/openstudio.exe workflow/run_analysis.rb -y project_testing/testing_baseline.yml
? Is thelib
folder deleted before running that command?I use the buildstock bath to run locally. running something like
buildstock_local testing_baseline.yml
and have the error above. But I don't have any error now when I running something like/c/openstudio-3.6.1/bin/openstudio.exe workflow/run_analysis.rb -y project_testing/testing_baseline.yml
If you use buildstock_local
, you need to have built your environment with the detailed-bill-calcs branch of buildstockbatch. It has the required workflow generator changes for running this resstock branch.
I run a simulation with three utility bill scenarios (Bills
, Bills2
, Bills3
) as described in the Pull Request Description. In the simulation results file "results-Baseline.csv", there are two values for the fixed charges and marginal rates. It looks like the first value is the for Bill
, not sure the second value is for Bills2
or Bills3
?
How about creating individual columns of fixed charges and marginal rates for each secenarios? like build_existing_model.utility_bills_natural_gas_fixed_charges
, build_existing_model.utility_bills2_natural_gas_fixed_charges
, build_existing_model.utility_bills3_natural_gas_fixed_charges
I run a simulation with three utility bill scenarios (
Bills
,Bills2
,Bills3
) as described in the Pull Request Description. In the simulation results file "results-Baseline.csv", there are two values for the fixed charges and marginal rates. It looks like the first value is the forBill
, not sure the second value is forBills2
orBills3
? How about creating individual columns of fixed charges and marginal rates for each secenarios? likebuild_existing_model.utility_bills_natural_gas_fixed_charges
,build_existing_model.utility_bills2_natural_gas_fixed_charges
,build_existing_model.utility_bills3_natural_gas_fixed_charges
It gets a bit complicated based on all the intricacies of our workflow, but let me try to break it down.
The build_existing_model.utility_bill_natural_gas_fixed_charges
column you reference above is an example for one of many utility bill related arguments. They serve to pass information from the yml file into our OS-HPXML measure arguments. All of these arguments hold comma-separated strings, where each individual element corresponds to one of the bill scenarios. So for example if you look at build_existing_model.utility_bill_scenario_names
you will see "Bills,Bills2,Bills3".
For build_existing_model.utility_bill_natural_gas_fixed_charges
, this means that Bills=1.0, Bills2=8.7, and Bills3=''. Bills3 is empty because the particular sample you are showing represents a county not populated in data/detailed_rates/County.tsv
. That lookup file intentionally does not contain all counties because we want to demonstrate the process of falling back to default rates when information is not present. If you were to simulate a datapoint representing a county found in that lookup, you would see a value populated for the element corresponding to Bills3.
In terms of presenting fixed charges and marginal rates in a more user-friendly way, we probably could do that but it'd be a departure from our normal workflow. It could also greatly increase the size of the results.csv file depending on how many utility bill scenarios are defined. The inputs themselves are already contained in the user-defined lookups, as well as OS-HPXML resource files for default values.
the size of the results.csv file depending on how many utility bill scenarios are defined.
Thanks for the explanation. Yes, the size of the results.csv file will be increased if we add extra columns for different utility bill scenarios. In that way, it may not worth to add extra columns since it is not the simulation results.
Pull Request Description
Closes #988.
Add optional
detailed_filepath
yml argument for pointing to user-specified TSV file of electricity tariff file paths. The TSV file can contain electricity tariff file paths mapped by State, or any other parameter.Test the new optional
detailed_filepath
yml argument in the testing projects, underBills3
(resources/data/detailed_rates/County.csv). The existingBills3
scenario was changed from pointing to resources/data/simple_rates/County.csv.Checklist
Not all may apply:
openstudio tasks.rb update_measures
has been run