openstudio-analysis 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/openstudio/analysis/server_api.rb +59 -62
- data/lib/openstudio/analysis/translator/excel.rb +186 -189
- data/lib/openstudio/analysis/version.rb +1 -1
- data/lib/openstudio/helpers/string.rb +4 -5
- data/spec/files/analysis/medium_office.json +192 -192
- data/spec/files/analysis/medium_office.zip +0 -0
- data/spec/files/export/analysis/Kats model v2.json +16 -16
- data/spec/files/export/analysis/Kats model v2.zip +0 -0
- data/spec/files/export/analysis/discrete_dynamic_seed.json +16 -16
- data/spec/files/export/analysis/discrete_dynamic_seed.zip +0 -0
- data/spec/files/export/analysis/discrete_seed.json +91 -91
- data/spec/files/export/analysis/discrete_seed.zip +0 -0
- data/spec/files/export/analysis/output_vars.json +83 -83
- data/spec/files/export/analysis/output_vars.zip +0 -0
- data/spec/files/export/analysis/small_seed.json +83 -83
- data/spec/files/export/analysis/small_seed.zip +0 -0
- data/spec/files/measures/IncreaseInsulationRValueForRoofs/measure.rb +372 -375
- data/spec/openstudio/analysis/server_api_spec.rb +6 -6
- data/spec/openstudio/analysis/translator/excel_spec.rb +182 -188
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.65.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.66.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.67.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.23.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.24.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.25.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.7.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.8.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.9.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.65.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.66.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.67.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.31.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.32.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.33.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.37.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.38.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.39.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.17.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.18.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.19.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.14.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.15.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.16.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.65.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.66.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.67.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.14.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.15.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.16.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.0.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.1.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.0.xml +32 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.1.xml +32 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.2.xml +32 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.65.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.66.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.67.xml +7 -0
- data/spec/spec_helper.rb +1 -3
- metadata +127 -19
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.337173" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:50:45-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.279483">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
</system-out>
|
|
7
|
+
<system-err>
|
|
8
|
+
</system-err>
|
|
9
|
+
</testsuite>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.345768" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:55:45-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.28831">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
</system-out>
|
|
7
|
+
<system-err>
|
|
8
|
+
</system-err>
|
|
9
|
+
</testsuite>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.1.10" tests="2" time="0.357909" failures="0" errors="0" skipped="0" timestamp="2014-04-28T23:21:45-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should process" time="0.283926">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should have new setting variables" time="0.000296">
|
|
6
|
+
</testcase>
|
|
7
|
+
<system-out>
|
|
8
|
+
{"spreadsheet_version"=>"0.1.10", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster", "server_instance_type"=>"m2.xlarge", "worker_instance_type"=>"m2.2xlarge", "worker_nodes"=>1.0}
|
|
9
|
+
{"analysis_name"=>"LHS Example Project", "measure_directory"=>"../files/measures", "export_directory"=>"../files/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow.rb"}
|
|
10
|
+
</system-out>
|
|
11
|
+
<system-err>
|
|
12
|
+
</system-err>
|
|
13
|
+
</testsuite>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.1.10" tests="2" time="0.333956" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:50:48-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should process" time="0.267366">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should have new setting variables" time="0.000177">
|
|
6
|
+
</testcase>
|
|
7
|
+
<system-out>
|
|
8
|
+
{"spreadsheet_version"=>"0.1.10", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster", "server_instance_type"=>"m2.xlarge", "worker_instance_type"=>"m2.2xlarge", "worker_nodes"=>1.0}
|
|
9
|
+
{"analysis_name"=>"LHS Example Project", "measure_directory"=>"../files/measures", "export_directory"=>"../files/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow.rb"}
|
|
10
|
+
</system-out>
|
|
11
|
+
<system-err>
|
|
12
|
+
</system-err>
|
|
13
|
+
</testsuite>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.1.10" tests="2" time="0.335165" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:55:49-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should process" time="0.280546">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should have new setting variables" time="0.000263">
|
|
6
|
+
</testcase>
|
|
7
|
+
<system-out>
|
|
8
|
+
{"spreadsheet_version"=>"0.1.10", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster", "server_instance_type"=>"m2.xlarge", "worker_instance_type"=>"m2.2xlarge", "worker_nodes"=>1.0}
|
|
9
|
+
{"analysis_name"=>"LHS Example Project", "measure_directory"=>"../files/measures", "export_directory"=>"../files/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow.rb"}
|
|
10
|
+
</system-out>
|
|
11
|
+
<system-err>
|
|
12
|
+
</system-err>
|
|
13
|
+
</testsuite>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple" tests="4" time="0.354382" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:50:49-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should process" time="0.273397">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have new setting variables" time="0.000216">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have the new measure directory column" time="0.000133">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should write a json" time="0.014369">
|
|
10
|
+
</testcase>
|
|
11
|
+
<system-out>
|
|
12
|
+
{"spreadsheet_version"=>"0.2.0", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster", "server_instance_type"=>"m2.2xlarge", "worker_instance_type"=>"cc2.8xlarge", "worker_nodes"=>2.0}
|
|
13
|
+
{"analysis_name"=>"simple_test", "measure_directory"=>"../../spec/files/measures", "export_directory"=>"../../spec/files/export/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow_monthly.rb"}
|
|
14
|
+
Analysis name is simple_test
|
|
15
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
16
|
+
</system-out>
|
|
17
|
+
<system-err>
|
|
18
|
+
</system-err>
|
|
19
|
+
</testsuite>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple" tests="4" time="0.373486" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:55:50-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should process" time="0.286782">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have new setting variables" time="0.000237">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have the new measure directory column" time="0.00018">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should write a json" time="0.013477">
|
|
10
|
+
</testcase>
|
|
11
|
+
<system-out>
|
|
12
|
+
{"spreadsheet_version"=>"0.2.0", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster", "server_instance_type"=>"m2.2xlarge", "worker_instance_type"=>"cc2.8xlarge", "worker_nodes"=>2.0}
|
|
13
|
+
{"analysis_name"=>"simple_test", "measure_directory"=>"../../spec/files/measures", "export_directory"=>"../../spec/files/export/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow_monthly.rb"}
|
|
14
|
+
Analysis name is simple_test
|
|
15
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
16
|
+
</system-out>
|
|
17
|
+
<system-err>
|
|
18
|
+
</system-err>
|
|
19
|
+
</testsuite>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple" tests="4" time="0.378158" failures="0" errors="0" skipped="0" timestamp="2014-04-28T23:21:46-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should process" time="0.282277">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have new setting variables" time="0.000183">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have the new measure directory column" time="0.000117">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should write a json" time="0.013609">
|
|
10
|
+
</testcase>
|
|
11
|
+
<system-out>
|
|
12
|
+
{"spreadsheet_version"=>"0.2.0", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster", "server_instance_type"=>"m2.2xlarge", "worker_instance_type"=>"cc2.8xlarge", "worker_nodes"=>2.0}
|
|
13
|
+
{"analysis_name"=>"simple_test", "measure_directory"=>"../../spec/files/measures", "export_directory"=>"../../spec/files/export/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow_monthly.rb"}
|
|
14
|
+
Analysis name is simple_test
|
|
15
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
16
|
+
</system-out>
|
|
17
|
+
<system-err>
|
|
18
|
+
</system-err>
|
|
19
|
+
</testsuite>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0" tests="4" time="0.966171" failures="0" errors="0" skipped="0" timestamp="2014-04-28T23:21:45-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should process" time="0.810006">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have new setting variables" time="0.000192">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have the new measure directory column" time="0.000131">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should write a json" time="0.06959">
|
|
10
|
+
</testcase>
|
|
11
|
+
<system-out>
|
|
12
|
+
{"spreadsheet_version"=>"0.2.0", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster Name", "server_instance_type"=>"m2.2xlarge", "worker_instance_type"=>"cc2.8xlarge", "worker_nodes"=>2.0}
|
|
13
|
+
{"analysis_name"=>"Name goes here", "measure_directory"=>"../files/measures", "export_directory"=>"../files/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow_monthly.rb"}
|
|
14
|
+
Analysis name is Name goes here
|
|
15
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
16
|
+
Adding measure item 'reduce_electric_equipment_loads_by_percentage'
|
|
17
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
18
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
19
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
20
|
+
Adding measure item 'enable_economizer_control'
|
|
21
|
+
Adding measure item 'set_boiler_thermal_efficiency'
|
|
22
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
23
|
+
Adding measure item 'setchillercop'
|
|
24
|
+
Adding measure item 'set_heating_and_cooling_sizing_factors'
|
|
25
|
+
Adding measure item 'set_chilled_water_loop_temperature'
|
|
26
|
+
Adding measure item 'set_hot_water_loop_temperature'
|
|
27
|
+
Adding measure item 'set_minimum_vav_terminal_flow_fraction'
|
|
28
|
+
Adding measure item 'modify_energyplus_fan_varaible_volume_objects'
|
|
29
|
+
</system-out>
|
|
30
|
+
<system-err>
|
|
31
|
+
</system-err>
|
|
32
|
+
</testsuite>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0" tests="4" time="0.877908" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:50:48-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should process" time="0.705278">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have new setting variables" time="0.000211">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have the new measure directory column" time="0.000125">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should write a json" time="0.09799">
|
|
10
|
+
</testcase>
|
|
11
|
+
<system-out>
|
|
12
|
+
{"spreadsheet_version"=>"0.2.0", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster Name", "server_instance_type"=>"m2.2xlarge", "worker_instance_type"=>"cc2.8xlarge", "worker_nodes"=>2.0}
|
|
13
|
+
{"analysis_name"=>"Name goes here", "measure_directory"=>"../files/measures", "export_directory"=>"../files/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow_monthly.rb"}
|
|
14
|
+
Analysis name is Name goes here
|
|
15
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
16
|
+
Adding measure item 'reduce_electric_equipment_loads_by_percentage'
|
|
17
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
18
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
19
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
20
|
+
Adding measure item 'enable_economizer_control'
|
|
21
|
+
Adding measure item 'set_boiler_thermal_efficiency'
|
|
22
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
23
|
+
Adding measure item 'setchillercop'
|
|
24
|
+
Adding measure item 'set_heating_and_cooling_sizing_factors'
|
|
25
|
+
Adding measure item 'set_chilled_water_loop_temperature'
|
|
26
|
+
Adding measure item 'set_hot_water_loop_temperature'
|
|
27
|
+
Adding measure item 'set_minimum_vav_terminal_flow_fraction'
|
|
28
|
+
Adding measure item 'modify_energyplus_fan_varaible_volume_objects'
|
|
29
|
+
</system-out>
|
|
30
|
+
<system-err>
|
|
31
|
+
</system-err>
|
|
32
|
+
</testsuite>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0" tests="4" time="0.88516" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:55:49-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should process" time="0.726079">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have new setting variables" time="0.000245">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have the new measure directory column" time="0.000139">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should write a json" time="0.07196">
|
|
10
|
+
</testcase>
|
|
11
|
+
<system-out>
|
|
12
|
+
{"spreadsheet_version"=>"0.2.0", "user_id"=>"new_user", "openstudio_server_version"=>"1.3.2", "cluster_name"=>"Analysis Cluster Name", "server_instance_type"=>"m2.2xlarge", "worker_instance_type"=>"cc2.8xlarge", "worker_nodes"=>2.0}
|
|
13
|
+
{"analysis_name"=>"Name goes here", "measure_directory"=>"../files/measures", "export_directory"=>"../files/analysis", "allow_multiple_jobs"=>true, "use_server_as_worker"=>true, "simulate_data_point_filename"=>"simulate_data_point.rb", "run_data_point_filename"=>"run_openstudio_workflow_monthly.rb"}
|
|
14
|
+
Analysis name is Name goes here
|
|
15
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
16
|
+
Adding measure item 'reduce_electric_equipment_loads_by_percentage'
|
|
17
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
18
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
19
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
20
|
+
Adding measure item 'enable_economizer_control'
|
|
21
|
+
Adding measure item 'set_boiler_thermal_efficiency'
|
|
22
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
23
|
+
Adding measure item 'setchillercop'
|
|
24
|
+
Adding measure item 'set_heating_and_cooling_sizing_factors'
|
|
25
|
+
Adding measure item 'set_chilled_water_loop_temperature'
|
|
26
|
+
Adding measure item 'set_hot_water_loop_temperature'
|
|
27
|
+
Adding measure item 'set_minimum_vav_terminal_flow_fraction'
|
|
28
|
+
Adding measure item 'modify_energyplus_fan_varaible_volume_objects'
|
|
29
|
+
</system-out>
|
|
30
|
+
<system-err>
|
|
31
|
+
</system-err>
|
|
32
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="0.000124" failures="0" errors="0" skipped="0" timestamp="2014-04-28T23:21:40-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="0.000123" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:50:44-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="0.000127" failures="0" errors="0" skipped="0" timestamp="2014-04-29T00:55:44-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
|
2
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),
|
|
2
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
3
3
|
|
|
4
4
|
require 'rspec'
|
|
5
5
|
require 'openstudio-analysis'
|
|
@@ -14,5 +14,3 @@ RSpec.configure do |config|
|
|
|
14
14
|
# Use the specified formatter
|
|
15
15
|
config.formatter = :documentation # :progress, :html, :textmate
|
|
16
16
|
end
|
|
17
|
-
|
|
18
|
-
|