openstudio-extension 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Jenkinsfile +1 -1
- data/lib/openstudio/extension/core/os_lib_helper_methods.rb +2 -1
- data/lib/openstudio/extension/core/os_lib_model_generation.rb +12 -1
- data/lib/openstudio/extension/version.rb +1 -1
- data/openstudio-extension.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f1d495a767facce1a2b3cd141d58de951ef2035bcf0aa5cd3f66cdd1e6d9208
|
4
|
+
data.tar.gz: f7af6450fdeb4510360fee726a06d73a9c4d6f76ee24eac0f7d1c49d4307802f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7e75c6cdf32d8a73b38ae91e6545cbf5180b59e24988b77a2f34aa85e210345d6f2702f4b790e61434ed6cc7e0d0fd4740741410fc1cbe017cd7f64f6439afc
|
7
|
+
data.tar.gz: 97d9f1efe01bcc103cc64716002b3d9a5ac618fd6f5a655a2a381212809dca3156b7dcc86bc9c410db15ee7bf2e8eeb0a39895e6a4eb8dceead00f6e0955e143
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# OpenStudio Extension Gem
|
2
2
|
|
3
|
+
## Version 0.4.1
|
4
|
+
|
5
|
+
* Fixed [#95]( https://github.com/NREL/openstudio-extension-gem/issues/95 ), Extend exceptions on standards error messages for curves used on multiple objects
|
6
|
+
* Fixed [#113]( https://github.com/NREL/openstudio-extension-gem/issues/113 ), Fix bad args behavior on bar_from_building_type_ratios
|
7
|
+
* Fixed [#111]( https://github.com/NREL/openstudio-extension-gem/pull/111 ), night cycling change - for 0.4.x
|
8
|
+
* Updated version of openstudio-standards for development to openstudio-standards 0.2.13
|
9
|
+
|
3
10
|
## Version 0.4.0
|
4
11
|
|
5
12
|
* Fix merging of options on initialization. Options hash will overwrite the default config AND the runner.conf files.
|
data/Jenkinsfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
//Jenkins pipelines are stored in shared libaries. Please see: https://github.com/NREL/cbci_jenkins_libs
|
2
2
|
|
3
|
-
@Library('cbci_shared_libs
|
3
|
+
@Library('cbci_shared_libs') _
|
4
4
|
|
5
5
|
// Build for PR to develop branch only.
|
6
6
|
if ((env.CHANGE_ID) && (env.CHANGE_TARGET) ) { // check if set
|
@@ -233,7 +233,8 @@ module OsLib_HelperMethods
|
|
233
233
|
msg.logChannel.include?('runmanager') || # RunManager messages
|
234
234
|
msg.logChannel.include?('setFileExtension') || # .ddy extension unexpected
|
235
235
|
msg.logChannel.include?('Translator') || # Forward translator and geometry translator
|
236
|
-
msg.logMessage.include?('UseWeatherFile') # 'UseWeatherFile' is not yet a supported option for YearDescription
|
236
|
+
msg.logMessage.include?('UseWeatherFile') || # 'UseWeatherFile' is not yet a supported option for YearDescription
|
237
|
+
msg.logMessage.include?('has multiple parents') # 'has multiple parents' is thrown for various types of curves if used in multiple objects
|
237
238
|
|
238
239
|
# Report the message in the correct way
|
239
240
|
if msg.logLevel == OpenStudio::Info
|
@@ -1728,6 +1728,7 @@ module OsLib_ModelGeneration
|
|
1728
1728
|
|
1729
1729
|
# prep arguments
|
1730
1730
|
args = bar_arg_check_setup(model,runner,user_arguments)
|
1731
|
+
if !args then return false end
|
1731
1732
|
|
1732
1733
|
# check that sum of fractions for b,c, and d is less than 1.0 (so something is left for primary building type)
|
1733
1734
|
bldg_type_a_fract_bldg_area = 1.0 - args['bldg_type_b_fract_bldg_area'] - args['bldg_type_c_fract_bldg_area'] - args['bldg_type_d_fract_bldg_area']
|
@@ -1808,8 +1809,9 @@ module OsLib_ModelGeneration
|
|
1808
1809
|
|
1809
1810
|
# do not setup arguments if they were already passed in to this method
|
1810
1811
|
if args.nil?
|
1811
|
-
|
1812
|
+
# prep arguments
|
1812
1813
|
args = bar_arg_check_setup(model,runner,user_arguments,false) # false stops it from checking args on used in bar_from_building_type_ratios
|
1814
|
+
if !args then return false end
|
1813
1815
|
|
1814
1816
|
# identify primary building type for building form defaults
|
1815
1817
|
primary_building_type = "PrimarySchool" # see what building type represents the most floro area
|
@@ -3248,6 +3250,15 @@ module OsLib_ModelGeneration
|
|
3248
3250
|
end
|
3249
3251
|
end
|
3250
3252
|
|
3253
|
+
# change night cycling control to "Thermostat" cycling and increase thermostat tolerance to 1.99999
|
3254
|
+
manager_night_cycles = model.getAvailabilityManagerNightCycles
|
3255
|
+
|
3256
|
+
manager_night_cycles.each do |night_cycle|
|
3257
|
+
night_cycle.setThermostatTolerance(1.9999)
|
3258
|
+
night_cycle.setCyclingRunTimeControlType("Thermostat")
|
3259
|
+
runner.registerInfo(" night_cycle == #{night_cycle}")
|
3260
|
+
end
|
3261
|
+
|
3251
3262
|
# report final condition of model
|
3252
3263
|
runner.registerFinalCondition("The building finished with #{model.getModelObjects.size} objects.")
|
3253
3264
|
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_dependency 'openstudio_measure_tester', '~> 0.3.0'
|
36
36
|
spec.add_dependency 'parallel', '~> 1.19.1'
|
37
37
|
|
38
|
-
spec.add_development_dependency 'openstudio-standards', '~> 0.2.
|
38
|
+
spec.add_development_dependency 'openstudio-standards', '~> 0.2.13.rc3' # for os_lib unit tests
|
39
39
|
spec.add_development_dependency 'rake', '~> 13.0'
|
40
40
|
spec.add_development_dependency 'rspec', '~> 3.9'
|
41
41
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katherine Fleming
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-04-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bcl
|
@@ -102,14 +102,14 @@ dependencies:
|
|
102
102
|
requirements:
|
103
103
|
- - "~>"
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.2.
|
105
|
+
version: 0.2.13.rc3
|
106
106
|
type: :development
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.2.
|
112
|
+
version: 0.2.13.rc3
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: rake
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -231,7 +231,7 @@ licenses: []
|
|
231
231
|
metadata:
|
232
232
|
bug_tracker_uri: https://github.com/NREL/openstudio-extension-gem/issues
|
233
233
|
changelog_uri: https://github.com/NREL/openstudio-extension-gem/blob/develop/CHANGELOG.md
|
234
|
-
source_code_uri: https://github.com/NREL/openstudio-extension-gem/tree/v0.4.
|
234
|
+
source_code_uri: https://github.com/NREL/openstudio-extension-gem/tree/v0.4.1
|
235
235
|
post_install_message:
|
236
236
|
rdoc_options: []
|
237
237
|
require_paths:
|