openstudio-analysis 0.4.1 → 0.4.2
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/CHANGELOG.md +6 -0
- data/lib/openstudio/analysis/algorithm_attributes.rb +1 -1
- data/lib/openstudio/analysis/formulation.rb +181 -31
- data/lib/openstudio/analysis/server_api.rb +2 -2
- data/lib/openstudio/analysis/support_files.rb +76 -0
- data/lib/openstudio/analysis/version.rb +1 -1
- data/lib/openstudio/analysis/workflow.rb +4 -0
- data/lib/openstudio/analysis/workflow_step.rb +3 -3
- data/lib/openstudio-analysis.rb +1 -0
- data/spec/files/analysis/medium_office.json +88 -88
- data/spec/files/analysis/medium_office.zip +0 -0
- data/spec/files/export/analysis/0_1_09_outputvars.json +38 -38
- data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
- data/spec/files/export/analysis/0_1_11_discrete_variables.json +40 -40
- data/spec/files/export/analysis/0_1_11_discrete_variables.zip +0 -0
- data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.json +8 -8
- data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.zip +0 -0
- data/spec/files/export/analysis/0_2_0_template_simpletest.json +12 -12
- data/spec/files/export/analysis/0_2_0_template_simpletest.zip +0 -0
- data/spec/files/export/analysis/0_3_0_outputs.json +6 -6
- data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
- data/spec/files/export/analysis/{d1e0168f-97c4-4f25-9ac2-8daf34769494.json → 1d8d62bb-f058-4c38-893b-8eaa7ceea254.json} +10 -10
- data/spec/files/export/analysis/{d1e0168f-97c4-4f25-9ac2-8daf34769494.zip → 1d8d62bb-f058-4c38-893b-8eaa7ceea254.zip} +0 -0
- data/spec/files/export/analysis/{0754ec1c-39d7-45e7-a8a5-5e5847a757fb.json → 5b5264db-a31e-4bab-931b-94101bd23b80.json} +14 -14
- data/spec/files/export/analysis/{10e6ec76-f2e8-43bd-b5a0-26a311173576.zip → 5b5264db-a31e-4bab-931b-94101bd23b80.zip} +0 -0
- data/spec/files/export/analysis/{10e6ec76-f2e8-43bd-b5a0-26a311173576.json → 67e3ba4a-2660-41b6-a7c5-d4457a4275c4.json} +14 -14
- data/spec/files/export/analysis/{0754ec1c-39d7-45e7-a8a5-5e5847a757fb.zip → 67e3ba4a-2660-41b6-a7c5-d4457a4275c4.zip} +0 -0
- data/spec/files/export/analysis/{4d9244ef-58b6-43c4-87bc-625e6d7365df.json → 71bebb0a-34b7-404b-b430-0ee7dab962ff.json} +6 -6
- data/spec/files/export/analysis/{4d9244ef-58b6-43c4-87bc-625e6d7365df.zip → 71bebb0a-34b7-404b-b430-0ee7dab962ff.zip} +0 -0
- data/spec/files/export/analysis/discrete_lhs_example.json +60 -60
- data/spec/files/export/analysis/discrete_lhs_example.zip +0 -0
- data/spec/files/export/analysis/small_seed.json +38 -38
- data/spec/files/export/analysis/small_seed.zip +0 -0
- data/spec/openstudio/support_files_spec.rb +44 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml +8 -8
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml +1 -1
- data/spec/reports/SPEC-OpenStudio-Analysis-SupportFiles.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.xml +3 -3
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +3 -3
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +6 -6
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.xml +8 -8
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.xml +5 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +5 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.xml +3 -3
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +5 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.xml +5 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.xml +4 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.xml +3 -3
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.xml +5 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.xml +4 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml +4 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml +4 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +1 -1
- data/spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml +7 -7
- data/spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml +8 -8
- metadata +23 -18
|
@@ -342,8 +342,8 @@
|
|
|
342
342
|
"measure_definition_class_name": "ReduceLightingLoadsByPercentage",
|
|
343
343
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
344
344
|
"measure_definition_display_name": "ReduceLightingLoadsByPercentage",
|
|
345
|
-
"measure_definition_uuid": "
|
|
346
|
-
"measure_definition_version_uuid": "
|
|
345
|
+
"measure_definition_uuid": "e302d406-274b-4d34-a61b-b1b35c271c60",
|
|
346
|
+
"measure_definition_version_uuid": "e2eca144-9807-4115-ac9b-9bd045a9e6b3",
|
|
347
347
|
"measure_type": "RubyMeasure",
|
|
348
348
|
"arguments": [
|
|
349
349
|
{
|
|
@@ -448,21 +448,21 @@
|
|
|
448
448
|
"value_type": "double",
|
|
449
449
|
"variable": true,
|
|
450
450
|
"variable_type": "RubyContinuousVariable",
|
|
451
|
-
"uuid": "
|
|
452
|
-
"version_uuid": "
|
|
451
|
+
"uuid": "c6d7f2bd-d03b-4472-afbb-e12d633481b7",
|
|
452
|
+
"version_uuid": "3c2d2fdc-93f8-48b1-b16f-1db82c7aa2dc"
|
|
453
453
|
}
|
|
454
454
|
],
|
|
455
455
|
"workflow_index": 0,
|
|
456
456
|
"workflow_step_type": "Measure",
|
|
457
|
-
"uuid": "
|
|
458
|
-
"version_uuid": "
|
|
457
|
+
"uuid": "fc859b5f-d5d6-4404-b740-084df11e0bf0",
|
|
458
|
+
"version_uuid": "cd64d2b5-0b39-4f0d-a5f8-583bf9c417c9"
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
461
|
"measure_definition_class_name": "RotateBuilding",
|
|
462
462
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
463
463
|
"measure_definition_display_name": "RotateBuilding",
|
|
464
|
-
"measure_definition_uuid": "
|
|
465
|
-
"measure_definition_version_uuid": "
|
|
464
|
+
"measure_definition_uuid": "03b83196-3daf-440a-9ea7-c737e3da649b",
|
|
465
|
+
"measure_definition_version_uuid": "ff03c132-abf4-4686-a011-c629f47265d0",
|
|
466
466
|
"measure_type": "RubyMeasure",
|
|
467
467
|
"arguments": [
|
|
468
468
|
|
|
@@ -512,21 +512,21 @@
|
|
|
512
512
|
"value_type": "double",
|
|
513
513
|
"variable": true,
|
|
514
514
|
"variable_type": "RubyContinuousVariable",
|
|
515
|
-
"uuid": "
|
|
516
|
-
"version_uuid": "
|
|
515
|
+
"uuid": "1366f576-7ad2-4d38-a73b-671d4a69316b",
|
|
516
|
+
"version_uuid": "605a9529-6679-4fba-aac7-8e449fd57a0c"
|
|
517
517
|
}
|
|
518
518
|
],
|
|
519
519
|
"workflow_index": 1,
|
|
520
520
|
"workflow_step_type": "Measure",
|
|
521
|
-
"uuid": "
|
|
522
|
-
"version_uuid": "
|
|
521
|
+
"uuid": "1091faac-5928-4f50-8e38-c53d86a5db96",
|
|
522
|
+
"version_uuid": "3167480a-3fc8-4bc4-a90c-6105de631604"
|
|
523
523
|
},
|
|
524
524
|
{
|
|
525
525
|
"measure_definition_class_name": "IncreaseInsulationRValueForExteriorWalls",
|
|
526
526
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
527
527
|
"measure_definition_display_name": "IncreaseInsulationRValueForExteriorWalls",
|
|
528
|
-
"measure_definition_uuid": "
|
|
529
|
-
"measure_definition_version_uuid": "
|
|
528
|
+
"measure_definition_uuid": "f870a42b-b673-4014-a0cb-18c11313851e",
|
|
529
|
+
"measure_definition_version_uuid": "fcb817c1-8f70-41a2-b2a8-343952455e2b",
|
|
530
530
|
"measure_type": "RubyMeasure",
|
|
531
531
|
"arguments": [
|
|
532
532
|
{
|
|
@@ -596,21 +596,21 @@
|
|
|
596
596
|
"value_type": "double",
|
|
597
597
|
"variable": true,
|
|
598
598
|
"variable_type": "RubyContinuousVariable",
|
|
599
|
-
"uuid": "
|
|
600
|
-
"version_uuid": "
|
|
599
|
+
"uuid": "dcb946bb-e63b-4b52-8f74-636708a6cf4b",
|
|
600
|
+
"version_uuid": "2c261cb7-c2a3-4d0e-85cb-fc062570aa53"
|
|
601
601
|
}
|
|
602
602
|
],
|
|
603
603
|
"workflow_index": 2,
|
|
604
604
|
"workflow_step_type": "Measure",
|
|
605
|
-
"uuid": "
|
|
606
|
-
"version_uuid": "
|
|
605
|
+
"uuid": "ddc42166-2ab3-41fe-9c66-32668ed64517",
|
|
606
|
+
"version_uuid": "cc56580a-e7ad-46bb-980d-f7bfabfb34c7"
|
|
607
607
|
},
|
|
608
608
|
{
|
|
609
609
|
"measure_definition_class_name": "IncreaseInsulationRValueForRoofs",
|
|
610
610
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
611
611
|
"measure_definition_display_name": "IncreaseInsulationRValueForRoofs",
|
|
612
|
-
"measure_definition_uuid": "
|
|
613
|
-
"measure_definition_version_uuid": "
|
|
612
|
+
"measure_definition_uuid": "d3b30d89-20e2-4d4c-9ade-2b6e760d2b04",
|
|
613
|
+
"measure_definition_version_uuid": "7dc550b7-f769-4276-bab3-18c07013863c",
|
|
614
614
|
"measure_type": "RubyMeasure",
|
|
615
615
|
"arguments": [
|
|
616
616
|
{
|
|
@@ -693,21 +693,21 @@
|
|
|
693
693
|
"value_type": "double",
|
|
694
694
|
"variable": true,
|
|
695
695
|
"variable_type": "RubyContinuousVariable",
|
|
696
|
-
"uuid": "
|
|
697
|
-
"version_uuid": "
|
|
696
|
+
"uuid": "9993cfc2-91ae-433e-9e5d-45487ae1f2d4",
|
|
697
|
+
"version_uuid": "25dbb690-797e-4e92-8aab-c2bb2e9046ba"
|
|
698
698
|
}
|
|
699
699
|
],
|
|
700
700
|
"workflow_index": 3,
|
|
701
701
|
"workflow_step_type": "Measure",
|
|
702
|
-
"uuid": "
|
|
703
|
-
"version_uuid": "
|
|
702
|
+
"uuid": "6323b397-c9a8-4760-a43a-f5ebf5573dae",
|
|
703
|
+
"version_uuid": "7c6f8e5e-b84b-43c4-a59d-c9a19062c08d"
|
|
704
704
|
},
|
|
705
705
|
{
|
|
706
706
|
"measure_definition_class_name": "SetWindowToWallRatioByFacade",
|
|
707
707
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
708
708
|
"measure_definition_display_name": "SetWindowToWallRatioByFacade",
|
|
709
|
-
"measure_definition_uuid": "
|
|
710
|
-
"measure_definition_version_uuid": "
|
|
709
|
+
"measure_definition_uuid": "00dfb3ac-33c0-49f2-bb7b-c71f4e061580",
|
|
710
|
+
"measure_definition_version_uuid": "006c2a56-d872-4155-a557-edaabb0db48f",
|
|
711
711
|
"measure_type": "RubyMeasure",
|
|
712
712
|
"arguments": [
|
|
713
713
|
{
|
|
@@ -770,21 +770,21 @@
|
|
|
770
770
|
"value_type": "double",
|
|
771
771
|
"variable": true,
|
|
772
772
|
"variable_type": "RubyContinuousVariable",
|
|
773
|
-
"uuid": "
|
|
774
|
-
"version_uuid": "
|
|
773
|
+
"uuid": "2f25acd0-15f7-4e38-9dcc-6b173ada31e8",
|
|
774
|
+
"version_uuid": "55f0f502-438d-44ed-a719-2e720ac2ce98"
|
|
775
775
|
}
|
|
776
776
|
],
|
|
777
777
|
"workflow_index": 4,
|
|
778
778
|
"workflow_step_type": "Measure",
|
|
779
|
-
"uuid": "
|
|
780
|
-
"version_uuid": "
|
|
779
|
+
"uuid": "dfc12c86-523d-456d-98e3-ed6f53155edb",
|
|
780
|
+
"version_uuid": "ef5945ce-e5d4-43e8-a599-e2eae5a30f6e"
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
783
|
"measure_definition_class_name": "SetWindowToWallRatioByFacade",
|
|
784
784
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
785
785
|
"measure_definition_display_name": "SetWindowToWallRatioByFacade",
|
|
786
|
-
"measure_definition_uuid": "
|
|
787
|
-
"measure_definition_version_uuid": "
|
|
786
|
+
"measure_definition_uuid": "5ffd22e7-1995-4874-a870-5739206fdfbd",
|
|
787
|
+
"measure_definition_version_uuid": "54c59c5d-eb5c-48b9-a42a-bd8f3e9910f5",
|
|
788
788
|
"measure_type": "RubyMeasure",
|
|
789
789
|
"arguments": [
|
|
790
790
|
{
|
|
@@ -847,21 +847,21 @@
|
|
|
847
847
|
"value_type": "double",
|
|
848
848
|
"variable": true,
|
|
849
849
|
"variable_type": "RubyContinuousVariable",
|
|
850
|
-
"uuid": "
|
|
851
|
-
"version_uuid": "
|
|
850
|
+
"uuid": "534dbab4-872d-4ee2-983d-80a62cb8c7b0",
|
|
851
|
+
"version_uuid": "2fb4c703-70d4-486b-825b-071e2b761a26"
|
|
852
852
|
}
|
|
853
853
|
],
|
|
854
854
|
"workflow_index": 5,
|
|
855
855
|
"workflow_step_type": "Measure",
|
|
856
|
-
"uuid": "
|
|
857
|
-
"version_uuid": "
|
|
856
|
+
"uuid": "404ba16d-e9fc-42c8-932a-00ff12f5fe6e",
|
|
857
|
+
"version_uuid": "ee75f591-dd3d-4394-85fe-f28a86033baa"
|
|
858
858
|
},
|
|
859
859
|
{
|
|
860
860
|
"measure_definition_class_name": "SetWindowToWallRatioByFacade",
|
|
861
861
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
862
862
|
"measure_definition_display_name": "SetWindowToWallRatioByFacade",
|
|
863
|
-
"measure_definition_uuid": "
|
|
864
|
-
"measure_definition_version_uuid": "
|
|
863
|
+
"measure_definition_uuid": "da0d4fd8-776c-4c62-8a05-76dc6c65188f",
|
|
864
|
+
"measure_definition_version_uuid": "d224abf7-83b3-4c5b-bff2-f45e8a0e41ed",
|
|
865
865
|
"measure_type": "RubyMeasure",
|
|
866
866
|
"arguments": [
|
|
867
867
|
{
|
|
@@ -924,21 +924,21 @@
|
|
|
924
924
|
"value_type": "double",
|
|
925
925
|
"variable": true,
|
|
926
926
|
"variable_type": "RubyContinuousVariable",
|
|
927
|
-
"uuid": "
|
|
928
|
-
"version_uuid": "
|
|
927
|
+
"uuid": "d4a67832-7804-48db-b7b9-b9a46e4c79eb",
|
|
928
|
+
"version_uuid": "b5cf17b3-8477-4bf7-83c7-7a0e47332ae4"
|
|
929
929
|
}
|
|
930
930
|
],
|
|
931
931
|
"workflow_index": 6,
|
|
932
932
|
"workflow_step_type": "Measure",
|
|
933
|
-
"uuid": "
|
|
934
|
-
"version_uuid": "
|
|
933
|
+
"uuid": "99167189-2c13-450e-9ec8-27132217c2ae",
|
|
934
|
+
"version_uuid": "476ee5a5-7df4-418f-8c4c-6eb0d4987f7e"
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
937
|
"measure_definition_class_name": "AddOverhangsByProjectionFactor",
|
|
938
938
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
939
939
|
"measure_definition_display_name": "AddOverhangsByProjectionFactor",
|
|
940
|
-
"measure_definition_uuid": "
|
|
941
|
-
"measure_definition_version_uuid": "
|
|
940
|
+
"measure_definition_uuid": "dd814433-6d21-41ad-b653-64d3d4dade91",
|
|
941
|
+
"measure_definition_version_uuid": "df0b5ad7-8232-4cc2-b67d-8b0c582a361f",
|
|
942
942
|
"measure_type": "RubyMeasure",
|
|
943
943
|
"arguments": [
|
|
944
944
|
{
|
|
@@ -1010,21 +1010,21 @@
|
|
|
1010
1010
|
"value_type": "integer",
|
|
1011
1011
|
"variable": true,
|
|
1012
1012
|
"variable_type": "RubyContinuousVariable",
|
|
1013
|
-
"uuid": "
|
|
1014
|
-
"version_uuid": "
|
|
1013
|
+
"uuid": "72e87dda-1150-4a4e-8b4f-6d7860cccdf7",
|
|
1014
|
+
"version_uuid": "68c57984-23b7-4054-b6d6-559af2b998a7"
|
|
1015
1015
|
}
|
|
1016
1016
|
],
|
|
1017
1017
|
"workflow_index": 7,
|
|
1018
1018
|
"workflow_step_type": "Measure",
|
|
1019
|
-
"uuid": "
|
|
1020
|
-
"version_uuid": "
|
|
1019
|
+
"uuid": "3194028d-571c-421f-9060-85795fba32c2",
|
|
1020
|
+
"version_uuid": "a5c278ac-c992-4464-a6ab-20e26b5d3b19"
|
|
1021
1021
|
},
|
|
1022
1022
|
{
|
|
1023
1023
|
"measure_definition_class_name": "AddOverhangsByProjectionFactor",
|
|
1024
1024
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
1025
1025
|
"measure_definition_display_name": "AddOverhangsByProjectionFactor",
|
|
1026
|
-
"measure_definition_uuid": "
|
|
1027
|
-
"measure_definition_version_uuid": "
|
|
1026
|
+
"measure_definition_uuid": "d448b701-c545-42a9-9461-870339a3c613",
|
|
1027
|
+
"measure_definition_version_uuid": "c1d13355-c90f-4270-9a31-4c686ab14bb1",
|
|
1028
1028
|
"measure_type": "RubyMeasure",
|
|
1029
1029
|
"arguments": [
|
|
1030
1030
|
{
|
|
@@ -1080,8 +1080,8 @@
|
|
|
1080
1080
|
"value_type": "double",
|
|
1081
1081
|
"variable": true,
|
|
1082
1082
|
"variable_type": "RubyContinuousVariable",
|
|
1083
|
-
"uuid": "
|
|
1084
|
-
"version_uuid": "
|
|
1083
|
+
"uuid": "11ebbafa-f884-4213-b67c-bf6f3fcbe2cd",
|
|
1084
|
+
"version_uuid": "d2f7a88a-58e0-4b37-959a-07a861026e99"
|
|
1085
1085
|
},
|
|
1086
1086
|
{
|
|
1087
1087
|
"argument": {
|
|
@@ -1128,21 +1128,21 @@
|
|
|
1128
1128
|
"value_type": "bool",
|
|
1129
1129
|
"variable": true,
|
|
1130
1130
|
"variable_type": "RubyContinuousVariable",
|
|
1131
|
-
"uuid": "
|
|
1132
|
-
"version_uuid": "
|
|
1131
|
+
"uuid": "a6effba1-d789-4956-9e9d-34491947baf7",
|
|
1132
|
+
"version_uuid": "25811013-37a8-42db-a7bc-171fd27b69fe"
|
|
1133
1133
|
}
|
|
1134
1134
|
],
|
|
1135
1135
|
"workflow_index": 8,
|
|
1136
1136
|
"workflow_step_type": "Measure",
|
|
1137
|
-
"uuid": "
|
|
1138
|
-
"version_uuid": "
|
|
1137
|
+
"uuid": "c0c83bec-9b05-4362-8d8f-2b3aeb7efed1",
|
|
1138
|
+
"version_uuid": "596a581e-8a43-4b62-b8ab-d58182d6419b"
|
|
1139
1139
|
},
|
|
1140
1140
|
{
|
|
1141
1141
|
"measure_definition_class_name": "XcelEDATariffSelectionandModelSetup",
|
|
1142
1142
|
"measure_definition_directory": "./measures/SetThermostatSchedules",
|
|
1143
1143
|
"measure_definition_display_name": "XcelEDATariffSelectionandModelSetup",
|
|
1144
|
-
"measure_definition_uuid": "
|
|
1145
|
-
"measure_definition_version_uuid": "
|
|
1144
|
+
"measure_definition_uuid": "640834ea-f867-4cce-8b09-13d3da300eeb",
|
|
1145
|
+
"measure_definition_version_uuid": "1b0dbdb7-f95a-4637-afa7-8e786c2e3feb",
|
|
1146
1146
|
"measure_type": "EnergyPlusMeasure",
|
|
1147
1147
|
"arguments": [
|
|
1148
1148
|
{
|
|
@@ -1167,8 +1167,8 @@
|
|
|
1167
1167
|
],
|
|
1168
1168
|
"workflow_index": 9,
|
|
1169
1169
|
"workflow_step_type": "Measure",
|
|
1170
|
-
"uuid": "
|
|
1171
|
-
"version_uuid": "
|
|
1170
|
+
"uuid": "bb1d6a6b-4cc4-4466-b205-b9e7806b73fe",
|
|
1171
|
+
"version_uuid": "e5d05075-f55a-4cef-b672-00854e6064df"
|
|
1172
1172
|
}
|
|
1173
1173
|
],
|
|
1174
1174
|
"analysis_type": "lhs"
|
|
Binary file
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"measure_definition_class_name": "ReduceLightingLoadsByPercentage",
|
|
20
20
|
"measure_definition_directory": "./measures/reduce_lighting_loads_by_percentage",
|
|
21
21
|
"measure_definition_display_name": "ReduceLightingLoadsByPercentage",
|
|
22
|
-
"measure_definition_uuid": "
|
|
23
|
-
"measure_definition_version_uuid": "
|
|
22
|
+
"measure_definition_uuid": "4e601a71-23df-4ce2-849b-c21874510e53",
|
|
23
|
+
"measure_definition_version_uuid": "e008576d-d821-450a-bf94-a2a1a5449e31",
|
|
24
24
|
"measure_type": "RubyMeasure",
|
|
25
25
|
"arguments": [
|
|
26
26
|
{
|
|
@@ -125,21 +125,21 @@
|
|
|
125
125
|
"value_type": "double",
|
|
126
126
|
"variable": true,
|
|
127
127
|
"variable_type": "RubyContinuousVariable",
|
|
128
|
-
"uuid": "
|
|
129
|
-
"version_uuid": "
|
|
128
|
+
"uuid": "97ec75e0-29a2-4a24-8b22-2224109f4ae3",
|
|
129
|
+
"version_uuid": "703d30c6-a529-4b66-b252-43fa3f3f8304"
|
|
130
130
|
}
|
|
131
131
|
],
|
|
132
132
|
"workflow_index": 0,
|
|
133
133
|
"workflow_step_type": "Measure",
|
|
134
|
-
"uuid": "
|
|
135
|
-
"version_uuid": "
|
|
134
|
+
"uuid": "1569d1a6-090e-4195-aadf-b623d5ecf42d",
|
|
135
|
+
"version_uuid": "a6702968-9ce6-49cc-ad51-b799c87dd2e7"
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
|
139
139
|
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
|
140
140
|
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
|
141
|
-
"measure_definition_uuid": "
|
|
142
|
-
"measure_definition_version_uuid": "
|
|
141
|
+
"measure_definition_uuid": "d2389ee0-d030-44f8-b807-62de8f10b8ce",
|
|
142
|
+
"measure_definition_version_uuid": "5004e04c-0a92-4d2c-8893-ff50dc36baa6",
|
|
143
143
|
"measure_type": "RubyMeasure",
|
|
144
144
|
"arguments": [
|
|
145
145
|
{
|
|
@@ -216,21 +216,21 @@
|
|
|
216
216
|
"value_type": "double",
|
|
217
217
|
"variable": true,
|
|
218
218
|
"variable_type": "RubyContinuousVariable",
|
|
219
|
-
"uuid": "
|
|
220
|
-
"version_uuid": "
|
|
219
|
+
"uuid": "82c0377e-33c1-453f-bb1d-0ef33d27515f",
|
|
220
|
+
"version_uuid": "abe06118-ead2-4544-b650-e0380701f074"
|
|
221
221
|
}
|
|
222
222
|
],
|
|
223
223
|
"workflow_index": 1,
|
|
224
224
|
"workflow_step_type": "Measure",
|
|
225
|
-
"uuid": "
|
|
226
|
-
"version_uuid": "
|
|
225
|
+
"uuid": "2d44dd9e-fcd7-4d7a-ac69-323e72746651",
|
|
226
|
+
"version_uuid": "84743861-26bf-4664-b5b5-1075b438a294"
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
|
230
230
|
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
|
231
231
|
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
|
232
|
-
"measure_definition_uuid": "
|
|
233
|
-
"measure_definition_version_uuid": "
|
|
232
|
+
"measure_definition_uuid": "5c7acf94-23f6-4eff-9e86-c81ceb417b22",
|
|
233
|
+
"measure_definition_version_uuid": "fbaf1606-aaee-49b4-ba8c-ebd3116b6cbf",
|
|
234
234
|
"measure_type": "RubyMeasure",
|
|
235
235
|
"arguments": [
|
|
236
236
|
{
|
|
@@ -286,8 +286,8 @@
|
|
|
286
286
|
"value_type": "double",
|
|
287
287
|
"variable": true,
|
|
288
288
|
"variable_type": "RubyContinuousVariable",
|
|
289
|
-
"uuid": "
|
|
290
|
-
"version_uuid": "
|
|
289
|
+
"uuid": "b945090c-5242-476c-9dff-f9d64e789e57",
|
|
290
|
+
"version_uuid": "a7baf44b-4b3b-4d72-9095-886cdd441724"
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"argument": {
|
|
@@ -331,21 +331,21 @@
|
|
|
331
331
|
"value_type": "double",
|
|
332
332
|
"variable": true,
|
|
333
333
|
"variable_type": "RubyContinuousVariable",
|
|
334
|
-
"uuid": "
|
|
335
|
-
"version_uuid": "
|
|
334
|
+
"uuid": "ecc455bd-be43-4526-905c-2edefe81e8b2",
|
|
335
|
+
"version_uuid": "3cc7d1ce-6aed-4fe9-a10c-b504e470a5fe"
|
|
336
336
|
}
|
|
337
337
|
],
|
|
338
338
|
"workflow_index": 2,
|
|
339
339
|
"workflow_step_type": "Measure",
|
|
340
|
-
"uuid": "
|
|
341
|
-
"version_uuid": "
|
|
340
|
+
"uuid": "776739a0-8c1b-4d9a-86fa-523318be6535",
|
|
341
|
+
"version_uuid": "73dba372-7016-41e6-977e-f4cc87fd6525"
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
|
345
345
|
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
|
346
346
|
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
|
347
|
-
"measure_definition_uuid": "
|
|
348
|
-
"measure_definition_version_uuid": "
|
|
347
|
+
"measure_definition_uuid": "97194547-613c-4fce-bc54-e8ade6fca14d",
|
|
348
|
+
"measure_definition_version_uuid": "6109f8a0-3e74-49c5-ac5b-e3cb538d939e",
|
|
349
349
|
"measure_type": "RubyMeasure",
|
|
350
350
|
"arguments": [
|
|
351
351
|
{
|
|
@@ -415,21 +415,21 @@
|
|
|
415
415
|
"value_type": "double",
|
|
416
416
|
"variable": true,
|
|
417
417
|
"variable_type": "RubyContinuousVariable",
|
|
418
|
-
"uuid": "
|
|
419
|
-
"version_uuid": "
|
|
418
|
+
"uuid": "1f1a071b-f9ad-4162-9958-b94f9b15254b",
|
|
419
|
+
"version_uuid": "c0017c76-086e-41f5-83be-f4a2e9e19667"
|
|
420
420
|
}
|
|
421
421
|
],
|
|
422
422
|
"workflow_index": 3,
|
|
423
423
|
"workflow_step_type": "Measure",
|
|
424
|
-
"uuid": "
|
|
425
|
-
"version_uuid": "
|
|
424
|
+
"uuid": "ae13b9c1-84fe-4ef8-b654-e56bbba3c623",
|
|
425
|
+
"version_uuid": "85d8ae64-aa8b-4613-a67e-defd974ee6e7"
|
|
426
426
|
},
|
|
427
427
|
{
|
|
428
428
|
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
|
429
429
|
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
|
430
430
|
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
|
431
|
-
"measure_definition_uuid": "
|
|
432
|
-
"measure_definition_version_uuid": "
|
|
431
|
+
"measure_definition_uuid": "b568e420-b01a-486e-8723-676126b286e8",
|
|
432
|
+
"measure_definition_version_uuid": "e5fbab72-55b2-46c5-96aa-a54cabe33e79",
|
|
433
433
|
"measure_type": "RubyMeasure",
|
|
434
434
|
"arguments": [
|
|
435
435
|
{
|
|
@@ -499,21 +499,21 @@
|
|
|
499
499
|
"value_type": "double",
|
|
500
500
|
"variable": true,
|
|
501
501
|
"variable_type": "RubyContinuousVariable",
|
|
502
|
-
"uuid": "
|
|
503
|
-
"version_uuid": "
|
|
502
|
+
"uuid": "8d0513b6-fd36-4dd9-977b-fa497faf31dd",
|
|
503
|
+
"version_uuid": "7a490cea-43a2-41b1-99ac-405e959064a3"
|
|
504
504
|
}
|
|
505
505
|
],
|
|
506
506
|
"workflow_index": 4,
|
|
507
507
|
"workflow_step_type": "Measure",
|
|
508
|
-
"uuid": "
|
|
509
|
-
"version_uuid": "
|
|
508
|
+
"uuid": "649d05e4-b401-4143-87b8-34b06b935c29",
|
|
509
|
+
"version_uuid": "28e644b9-2932-44c1-84c7-d7fbb52bdd74"
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
512
|
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
|
513
513
|
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
|
514
514
|
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
|
515
|
-
"measure_definition_uuid": "
|
|
516
|
-
"measure_definition_version_uuid": "
|
|
515
|
+
"measure_definition_uuid": "87dda8e6-270e-434f-b69d-ccc14d13e25a",
|
|
516
|
+
"measure_definition_version_uuid": "c00a68bb-b273-459d-9a06-dd681dded65c",
|
|
517
517
|
"measure_type": "RubyMeasure",
|
|
518
518
|
"arguments": [
|
|
519
519
|
{
|
|
@@ -569,14 +569,14 @@
|
|
|
569
569
|
"value_type": "double",
|
|
570
570
|
"variable": true,
|
|
571
571
|
"variable_type": "RubyContinuousVariable",
|
|
572
|
-
"uuid": "
|
|
573
|
-
"version_uuid": "
|
|
572
|
+
"uuid": "0503acd6-a5f6-4ac4-a9c3-23ad36b87b7e",
|
|
573
|
+
"version_uuid": "08c51ba6-3b3b-473a-810d-0c55dd997da2"
|
|
574
574
|
}
|
|
575
575
|
],
|
|
576
576
|
"workflow_index": 5,
|
|
577
577
|
"workflow_step_type": "Measure",
|
|
578
|
-
"uuid": "
|
|
579
|
-
"version_uuid": "
|
|
578
|
+
"uuid": "48bba2ba-7db9-4acf-a62c-533d58d11a3f",
|
|
579
|
+
"version_uuid": "3426e412-f23d-4577-ace4-9107ca190048"
|
|
580
580
|
}
|
|
581
581
|
],
|
|
582
582
|
"analysis_type": "lhs"
|
|
Binary file
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
describe OpenStudio::Analysis::SupportFiles do
|
|
4
|
+
before :all do
|
|
5
|
+
@s = OpenStudio::Analysis::SupportFiles.new
|
|
6
|
+
expect(@s).to be_a OpenStudio::Analysis::SupportFiles
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
it 'should add files' do
|
|
10
|
+
f = 'spec/files/worker_init/first_file.rb'
|
|
11
|
+
@s.add(f)
|
|
12
|
+
|
|
13
|
+
expect(@s.size).to eq 1
|
|
14
|
+
expect(@s.files.first[:file]).to eq f
|
|
15
|
+
|
|
16
|
+
# add some other items
|
|
17
|
+
@s.add('spec/files/worker_init/second_file.rb')
|
|
18
|
+
|
|
19
|
+
expect(@s.size).to eq 2
|
|
20
|
+
@s.each do |f|
|
|
21
|
+
expect(f).to_not be nil
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
it 'should remove existing items' do
|
|
26
|
+
f = 'spec/files/worker_init/second_file.rb'
|
|
27
|
+
@s.add(f)
|
|
28
|
+
|
|
29
|
+
@s.clear
|
|
30
|
+
expect(@s.size).to eq 0
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
it 'should only add existing files'
|
|
34
|
+
|
|
35
|
+
it 'should add metadata data'
|
|
36
|
+
|
|
37
|
+
it 'should add a directory' do
|
|
38
|
+
@s.clear
|
|
39
|
+
@s.add_files('spec/files/measures/**/*.rb', {d: 'new'})
|
|
40
|
+
|
|
41
|
+
expect(@s.size).to eq 7
|
|
42
|
+
expect(@s[0][:metadata][:d]).to eq 'new'
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuite name="OpenStudio::Analysis::Formulation" tests="7" time="0.
|
|
3
|
-
<testcase name="OpenStudio::Analysis::Formulation should create an analysis" time="0.
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Formulation" tests="7" time="0.007891" failures="0" errors="0" skipped="0" timestamp="2015-01-07T17:25:54-07:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Formulation should create an analysis" time="0.00098">
|
|
4
4
|
</testcase>
|
|
5
|
-
<testcase name="OpenStudio::Analysis::Formulation should have a workflow object" time="
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Formulation should have a workflow object" time="0.000153">
|
|
6
6
|
</testcase>
|
|
7
|
-
<testcase name="OpenStudio::Analysis::Formulation should load the workflow from a file" time="0.
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Formulation should load the workflow from a file" time="0.001581">
|
|
8
8
|
</testcase>
|
|
9
|
-
<testcase name="OpenStudio::Analysis::Formulation should save a hash (version 1)" time="0.
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Formulation should save a hash (version 1)" time="0.001536">
|
|
10
10
|
</testcase>
|
|
11
|
-
<testcase name="OpenStudio::Analysis::Formulation should create a save an empty analysis" time="0.
|
|
11
|
+
<testcase name="OpenStudio::Analysis::Formulation should create a save an empty analysis" time="0.000446">
|
|
12
12
|
</testcase>
|
|
13
|
-
<testcase name="OpenStudio::Analysis::Formulation should increment objective functions" time="
|
|
13
|
+
<testcase name="OpenStudio::Analysis::Formulation should increment objective functions" time="0.000166">
|
|
14
14
|
</testcase>
|
|
15
|
-
<testcase name="OpenStudio::Analysis::Formulation should create a new formulation" time="0.
|
|
15
|
+
<testcase name="OpenStudio::Analysis::Formulation should create a new formulation" time="0.00213">
|
|
16
16
|
</testcase>
|
|
17
17
|
<system-out>
|
|
18
18
|
Parsing file version 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuite name="OpenStudio::Analysis::ServerApi create a new object instance" tests="1" time="0.
|
|
3
|
-
<testcase name="OpenStudio::Analysis::ServerApi create a new object instance should set the default host to localhost" time="0.
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi create a new object instance" tests="1" time="0.00528" failures="0" errors="0" skipped="0" timestamp="2015-01-07T17:25:54-07:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new object instance should set the default host to localhost" time="0.000237">
|
|
4
4
|
</testcase>
|
|
5
5
|
</testsuite>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuite name="OpenStudio::Analysis::ServerApi test not localhost" tests="1" time="0.
|
|
3
|
-
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi test not localhost" tests="1" time="0.001013" failures="0" errors="0" skipped="0" timestamp="2015-01-07T17:25:54-07:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000688">
|
|
4
4
|
</testcase>
|
|
5
5
|
</testsuite>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000163" skipped="0" timestamp="2015-01-07T17:25:54-07:00">
|
|
3
3
|
</testsuite>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::SupportFiles" tests="5" time="0.001622" failures="0" errors="0" skipped="2" timestamp="2015-01-07T17:25:54-07:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::SupportFiles should add files" time="0.000237">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::SupportFiles should remove existing items" time="0.000114">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::SupportFiles should only add existing files (PENDING)" time="3.9e-05">
|
|
8
|
+
<skipped/>
|
|
9
|
+
</testcase>
|
|
10
|
+
<testcase name="OpenStudio::Analysis::SupportFiles should add metadata data (PENDING)" time="2.0e-05">
|
|
11
|
+
<skipped/>
|
|
12
|
+
</testcase>
|
|
13
|
+
<testcase name="OpenStudio::Analysis::SupportFiles should add a directory" time="0.000564">
|
|
14
|
+
</testcase>
|
|
15
|
+
</testsuite>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.
|
|
3
|
-
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.84912" failures="0" errors="0" skipped="0" timestamp="2015-01-07T17:25:38-07:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.003993">
|
|
4
4
|
</testcase>
|
|
5
|
-
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.066509">
|
|
6
6
|
</testcase>
|
|
7
7
|
<system-out>
|
|
8
8
|
{"variable_type"=>"variable", "display_name"=>"Alter Design Day Thermostats?", "display_name_short"=>"Alter Design Day Thermostats?", "name"=>"alter_design_days", "index"=>3, "type"=>"bool", "units"=>nil, "distribution"=>{"enumerations"=>["true", "false"], "min"=>true, "max"=>true, "mean"=>false, "stddev"=>false, "discrete_values"=>[true, false], "discrete_weights"=>[0.8, 0.2], "type"=>"discrete_uncertain", "static_value"=>false, "delta_x"=>nil, "source"=>nil}, "notes"=>nil, "relation_to_eui"=>nil}
|