openstudio-calibration 0.8.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile +1 -1
  4. data/Jenkinsfile +1 -1
  5. data/README.md +1 -0
  6. data/Rakefile +3 -0
  7. data/lib/measures/AddMonthlyJSONUtilityData/measure.rb +3 -3
  8. data/lib/measures/AddMonthlyJSONUtilityData/measure.xml +3 -3
  9. data/lib/measures/AddMonthlyUtilityData/measure.xml +8 -8
  10. data/lib/measures/CalibrationReports/measure.rb +1 -3
  11. data/lib/measures/CalibrationReports/measure.xml +4 -4
  12. data/lib/measures/CalibrationReportsEnhanced/measure.rb +21 -22
  13. data/lib/measures/CalibrationReportsEnhanced/measure.xml +4 -4
  14. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.rb +12 -12
  15. data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.xml +5 -5
  16. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.rb +12 -12
  17. data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.xml +5 -5
  18. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.rb +21 -23
  19. data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.xml +5 -5
  20. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.rb +21 -23
  21. data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.xml +5 -5
  22. data/lib/measures/CoilCoolingWaterMultiplier/measure.rb +33 -43
  23. data/lib/measures/CoilCoolingWaterMultiplier/measure.xml +5 -5
  24. data/lib/measures/CoilCoolingWaterPercentChange/measure.rb +33 -43
  25. data/lib/measures/CoilCoolingWaterPercentChange/measure.xml +5 -5
  26. data/lib/measures/CoilHeatingElectricMultiplier/measure.rb +8 -8
  27. data/lib/measures/CoilHeatingElectricMultiplier/measure.xml +5 -5
  28. data/lib/measures/CoilHeatingElectricPercentChange/measure.rb +8 -8
  29. data/lib/measures/CoilHeatingElectricPercentChange/measure.xml +5 -5
  30. data/lib/measures/CoilHeatingGasMultiplier/measure.rb +8 -8
  31. data/lib/measures/CoilHeatingGasMultiplier/measure.xml +5 -5
  32. data/lib/measures/CoilHeatingGasPercentChange/measure.rb +8 -8
  33. data/lib/measures/CoilHeatingGasPercentChange/measure.xml +5 -5
  34. data/lib/measures/CoilHeatingWaterMultiplier/measure.rb +13 -15
  35. data/lib/measures/CoilHeatingWaterMultiplier/measure.xml +5 -5
  36. data/lib/measures/CoilHeatingWaterPercentChange/measure.rb +13 -15
  37. data/lib/measures/CoilHeatingWaterPercentChange/measure.xml +5 -5
  38. data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.rb +4 -4
  39. data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.xml +3 -3
  40. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.rb +8 -5
  41. data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.xml +9 -9
  42. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.rb +8 -5
  43. data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.xml +9 -9
  44. data/lib/measures/FansMultiplier/measure.rb +8 -8
  45. data/lib/measures/FansMultiplier/measure.xml +5 -5
  46. data/lib/measures/FansPercentChange/measure.rb +8 -8
  47. data/lib/measures/FansPercentChange/measure.xml +5 -5
  48. data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.rb +2 -2
  49. data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.xml +7 -7
  50. data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.rb +2 -2
  51. data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.xml +7 -7
  52. data/lib/measures/HardSizeHvac/measure.rb +2 -4
  53. data/lib/measures/HardSizeHvac/measure.xml +4 -4
  54. data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.rb +7 -9
  55. data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.xml +3 -3
  56. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.rb +7 -9
  57. data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.xml +3 -3
  58. data/lib/measures/RoofThermalPropertiesMultiplier/measure.rb +8 -5
  59. data/lib/measures/RoofThermalPropertiesMultiplier/measure.xml +9 -9
  60. data/lib/measures/RoofThermalPropertiesPercentChange/measure.rb +8 -5
  61. data/lib/measures/RoofThermalPropertiesPercentChange/measure.xml +9 -9
  62. data/lib/measures/TimeseriesObjectiveFunction/README.md +51 -1
  63. data/lib/measures/TimeseriesObjectiveFunction/measure.rb +59 -53
  64. data/lib/measures/TimeseriesObjectiveFunction/measure.xml +26 -25
  65. data/lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb +3 -0
  66. data/lib/measures/TimeseriesPlot/measure.rb +1 -3
  67. data/lib/measures/TimeseriesPlot/measure.xml +13 -13
  68. data/lib/measures/TimeseriesPlot/resources/report.html.erb +3 -0
  69. data/lib/measures/WaterHeaterMixedMultiplier/measure.rb +17 -22
  70. data/lib/measures/WaterHeaterMixedMultiplier/measure.xml +5 -5
  71. data/lib/measures/WaterHeaterMixedPercentChange/measure.rb +17 -22
  72. data/lib/measures/WaterHeaterMixedPercentChange/measure.xml +5 -5
  73. data/lib/measures/inspect_and_edit_parametric_schedules/measure.rb +13 -11
  74. data/lib/measures/inspect_and_edit_parametric_schedules/measure.xml +29 -29
  75. data/lib/measures/shift_hours_of_operation/measure.rb +31 -29
  76. data/lib/measures/shift_hours_of_operation/measure.xml +51 -37
  77. data/lib/openstudio/calibration/version.rb +1 -1
  78. data/openstudio-calibration.gemspec +13 -6
  79. metadata +69 -14
  80. data/lib/measures/TimeseriesObjectiveFunction/README.md.erb +0 -42
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-calibration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Ball
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-06-12 00:00:00.000000000 Z
12
+ date: 2024-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -17,42 +17,84 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '2.1'
20
+ version: 2.4.10
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '2.1'
27
+ version: 2.4.10
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: openstudio-extension
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.6.1
34
+ version: 0.8.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.6.1
41
+ version: 0.8.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: openstudio-standards
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 0.4.0
48
+ version: 0.6.1
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - '='
54
+ - !ruby/object:Gem::Version
55
+ version: 0.6.1
56
+ - !ruby/object:Gem::Dependency
57
+ name: multipart-post
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '='
61
+ - !ruby/object:Gem::Version
62
+ version: 2.4.0
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '='
68
+ - !ruby/object:Gem::Version
69
+ version: 2.4.0
70
+ - !ruby/object:Gem::Dependency
71
+ name: regexp_parser
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '='
75
+ - !ruby/object:Gem::Version
76
+ version: 2.9.0
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '='
54
82
  - !ruby/object:Gem::Version
55
- version: 0.4.0
83
+ version: 2.9.0
84
+ - !ruby/object:Gem::Dependency
85
+ name: addressable
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '='
89
+ - !ruby/object:Gem::Version
90
+ version: 2.8.1
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '='
96
+ - !ruby/object:Gem::Version
97
+ version: 2.8.1
56
98
  - !ruby/object:Gem::Dependency
57
99
  name: rake
58
100
  requirement: !ruby/object:Gem::Requirement
@@ -81,6 +123,20 @@ dependencies:
81
123
  - - "~>"
82
124
  - !ruby/object:Gem::Version
83
125
  version: '3.9'
126
+ - !ruby/object:Gem::Dependency
127
+ name: octokit
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - '='
131
+ - !ruby/object:Gem::Version
132
+ version: 4.18.0
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - '='
138
+ - !ruby/object:Gem::Version
139
+ version: 4.18.0
84
140
  description: openstudio base gem for creating generic extensions with encapsulated
85
141
  data and measures.
86
142
  email:
@@ -253,7 +309,6 @@ files:
253
309
  - lib/measures/RoofThermalPropertiesPercentChange/measure.xml
254
310
  - lib/measures/TimeseriesObjectiveFunction/LICENSE.md
255
311
  - lib/measures/TimeseriesObjectiveFunction/README.md
256
- - lib/measures/TimeseriesObjectiveFunction/README.md.erb
257
312
  - lib/measures/TimeseriesObjectiveFunction/measure.rb
258
313
  - lib/measures/TimeseriesObjectiveFunction/measure.xml
259
314
  - lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb
@@ -295,7 +350,7 @@ licenses: []
295
350
  metadata:
296
351
  bug_tracker_uri: https://github.com/NREL/openstudio-calibration-gem/issues
297
352
  changelog_uri: https://github.com/NREL/openstudio-calibration-gem/blob/develop/CHANGELOG.md
298
- source_code_uri: https://github.com/NREL/openstudio-calibration-gem/tree/v0.8.0
353
+ source_code_uri: https://github.com/NREL/openstudio-calibration-gem/tree/v0.10.0
299
354
  post_install_message:
300
355
  rdoc_options: []
301
356
  require_paths:
@@ -304,14 +359,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
304
359
  requirements:
305
360
  - - "~>"
306
361
  - !ruby/object:Gem::Version
307
- version: 2.7.0
362
+ version: 3.2.2
308
363
  required_rubygems_version: !ruby/object:Gem::Requirement
309
364
  requirements:
310
365
  - - ">="
311
366
  - !ruby/object:Gem::Version
312
367
  version: '0'
313
368
  requirements: []
314
- rubygems_version: 3.1.4
369
+ rubygems_version: 3.4.10
315
370
  signing_key:
316
371
  specification_version: 4
317
372
  summary: openstudio base gem for creating generic extensions with encapsulated data
@@ -1,42 +0,0 @@
1
- <%#= README.md.erb is used to auto-generate README.md. %>
2
- <%#= To manually maintain README.md throw away README.md.erb and manually edit README.md %>
3
- ###### (Automatically generated documentation)
4
-
5
- # <%= name %>
6
-
7
- ## Description
8
- <%= description %>
9
-
10
- ## Modeler Description
11
- <%= modelerDescription %>
12
-
13
- ## Measure Type
14
- <%= measureType %>
15
-
16
- ## Taxonomy
17
- <%= taxonomy %>
18
-
19
- ## Arguments
20
-
21
- <% arguments.each do |argument| %>
22
- ### <%= argument[:display_name] %>
23
- <%= argument[:description] %>
24
- **Name:** <%= argument[:name] %>,
25
- **Type:** <%= argument[:type] %>,
26
- **Units:** <%= argument[:units] %>,
27
- **Required:** <%= argument[:required] %>,
28
- **Model Dependent:** <%= argument[:model_dependent] %>
29
- <% end %>
30
-
31
- <% if arguments.size == 0 %>
32
- <%= "This measure does not have any user arguments" %>
33
- <% end %>
34
-
35
- <% if outputs.size > 0 %>
36
- ## Outputs
37
- <% output_names = [] %>
38
- <% outputs.each do |output| %>
39
- <% output_names << output[:display_name] %>
40
- <% end %>
41
- <%= output_names.join(", ") %>
42
- <% end %>