openstudio-model-articulation 0.12.2 → 0.13.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efd5c0a4dc362e27a26bd39a8cf0bbec78143f4962bd23d8739a04f23040a66e
4
- data.tar.gz: f8bc2a4dc6bc118cc06426ae1880c62d458ee1be1dc3aac88014f37e18bc01ee
3
+ metadata.gz: 87a6e91e6c8e2fa852bb89ffc9a41b6e4cc35af56fc4a0ffa6c5829502d2ae7a
4
+ data.tar.gz: fc77e614132278094d841b1d8e4d3d1a858771a5b26a3de48af232e81af612e3
5
5
  SHA512:
6
- metadata.gz: 135da7c22b3c3bbad3bd9eefb16451fbd39153c346dc9ccab9b561433c06b5664a727c4f06db3b24452a1929124056c5b312f0b4ac6c51fe32b4e5c03eb972eb
7
- data.tar.gz: 50e373c99739927a3a068c391587258d2f4ace3a56323fb6eb01d56ee175b40b54002a1115926d865b55705bbac78cc53e77fee9fc090f63bf2ca84d1b63080d
6
+ metadata.gz: ecd2c9752ea64fbdedc0207201fbf2b31fad57defcb146d3d7400dea01aac2f56e0b4ed4f6b6469f194cc12dbea28b26e55a24a8442df4741347df181a935d14
7
+ data.tar.gz: a5eaac12961c26aabbf72d8e83bc9272f073f95d73591dce7c87c758a02204dbb8bc2d72d2d2e47a16579bd8a18deedb7b1bf75b4e6845bfd3f424d42f31694c
@@ -12,12 +12,12 @@ jobs:
12
12
  S3_BUCKET: ext-gem-dashboard
13
13
 
14
14
  container: # Define the Docker container for the job. All subsequent steps run inside it.
15
- image: nrel/openstudio:3.10.0
15
+ image: nrel/openstudio:dev-3.11.0-rc3
16
16
  options: -u root -e "LANG=en_US.UTF-8" # These options are passed to the 'docker run' command internally
17
17
 
18
18
  steps:
19
19
  - name: Checkout Repository
20
- # The repository will be checked out inside the 'nrel/openstudio:3.10.0' container
20
+ # The repository will be checked out inside the 'nrel/openstudio:3.11.0' container
21
21
  uses: actions/checkout@v4 # Use v4 for better security and features
22
22
  with:
23
23
  submodules: true # Set to true if your repository uses Git submodules
@@ -39,7 +39,7 @@ jobs:
39
39
  apt-get install -y nodejs
40
40
 
41
41
  # Install AWS CLI v2
42
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
42
+ curl --retry 5 --retry-connrefused "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
43
43
  unzip awscliv2.zip
44
44
  ./aws/install
45
45
 
@@ -56,7 +56,7 @@ jobs:
56
56
  shell: bash # Specify the shell if needed, though bash is default for Ubuntu runners
57
57
  run: |
58
58
  # Fix git ownership issue in container
59
- git config --global --add safe.directory /__w/openstudio-load-flexibility-measures-gem/openstudio-load-flexibility-measures-gem
59
+ git config --global --add safe.directory /__w/openstudio-model-articulation-measures-gem/openstudio-model-articulation-measures-gem
60
60
 
61
61
  echo "OpenStudio Version: $(openstudio --version)"
62
62
  echo "Ruby Version: $(ruby -v)"
@@ -79,6 +79,7 @@ jobs:
79
79
  ls -al ./test # Verify the output directory exists and contains files
80
80
 
81
81
  - name: Configure AWS Credentials
82
+ if: success() || failure()
82
83
  # This step is crucial for authenticating with AWS S3
83
84
  uses: aws-actions/configure-aws-credentials@v4 # Use v4 for updated features
84
85
  with:
@@ -87,6 +88,7 @@ jobs:
87
88
  aws-region: ${{ secrets.AWS_DEFAULT_REGION }} # Replace with your AWS region, e.g., us-east-1
88
89
 
89
90
  - name: Sync files to S3 with branch and build in path
91
+ if: success() || failure()
90
92
  shell: bash
91
93
  run: |
92
94
  echo "Deploying to s3://${{ env.S3_BUCKET }}/${{ env.DEPLOY_PATH }}/"
@@ -102,7 +104,8 @@ jobs:
102
104
  echo dir_name=$dir_name >> $GITHUB_ENV # Save the directory name to an environment variable for later use
103
105
 
104
106
  - name: Archive static site as artifact
107
+ if: always()
105
108
  uses: actions/upload-artifact@v4
106
109
  with:
107
110
  name: static-html-artifact
108
- path: ${{ env.dir_name }} # Path should be relative to the GitHub workspace, which is shared with the container
111
+ path: ${{ env.dir_name }} # Path should be relative to the GitHub workspace, which is shared with the container
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # OpenStudio Model Articulation Gems
2
2
 
3
+ ## Version 0.13.0
4
+ * Updated dependency (openstudio-extension gem 0.9.3 to 0.9.7)
5
+ * Updated dependency (openstudio-standards gem 0.8.2 to 0.8.5)
6
+
3
7
  ## Version 0.12.2
4
8
  * Updated dependency (openstudio-extension gem 0.9.2 to 0.9.3)
5
9
 
data/README.md CHANGED
@@ -51,6 +51,7 @@ bundle exec rake openstudio:test_with_openstudio
51
51
 
52
52
  |OpenStudio Model Articulation Gem|OpenStudio|Ruby|
53
53
  |:--------------:|:----------:|:--------:|
54
+ | 0.13.0 | 3.11 | 3.2.2 |
54
55
  | 0.12.2 | 3.10 | 3.2.2 |
55
56
  | 0.12.1 | 3.10 | 3.2.2 |
56
57
  | 0.12.0 | 3.10 | 3.2.2 |
@@ -184,8 +184,10 @@ To reduce unmet hours, use an expanded comfort range as mentioned above, remove
184
184
  runner.registerInfo('Removing existing HVAC systems from the model')
185
185
  if std.respond_to?('remove_HVAC')
186
186
  std.remove_HVAC(model) # OpenStuido 3.2.1 and earlierop use this, future versions will use snake_case method
187
- else
187
+ elsif std.respond_to?('remove_hvac')
188
188
  std.remove_hvac(model)
189
+ else # method changed in OS Standard v 0.8.5
190
+ OpenstudioStandards::HVAC.remove_hvac(model)
189
191
  end
190
192
  end
191
193
 
@@ -288,7 +290,7 @@ To reduce unmet hours, use an expanded comfort range as mentioned above, remove
288
290
 
289
291
  # add DOAS system to conditioned zones
290
292
  std.model_add_doas(model, conditioned_zones)
291
- std.rename_air_loop_nodes(model)
293
+ OpenstudioStandards::HVAC.rename_air_loop_nodes(model)
292
294
 
293
295
  # set the heating and cooling sizing parameters
294
296
  std.model_apply_prm_sizing_parameters(model)
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.1</schema_version>
4
4
  <name>radiant_slab_with_doas</name>
5
5
  <uid>8091a0c3-7760-4da6-adf4-133d55872816</uid>
6
- <version_id>38680e13-08ef-49ff-a7c0-0b7c3d75afd7</version_id>
7
- <version_modified>2025-08-01T14:58:32Z</version_modified>
6
+ <version_id>4608a19e-dd68-4e4d-9ecc-d17df450426e</version_id>
7
+ <version_modified>2026-06-08T03:22:49Z</version_modified>
8
8
  <xml_checksum>C49A7DAB</xml_checksum>
9
9
  <class_name>RadiantSlabWithDoas</class_name>
10
10
  <display_name>Radiant Slab with DOAS</display_name>
@@ -296,12 +296,12 @@ To reduce unmet hours, use an expanded comfort range as mentioned above, remove
296
296
  <version>
297
297
  <software_program>OpenStudio</software_program>
298
298
  <identifier>2.9.0</identifier>
299
- <min_compatible>2.9.0</min_compatible>
299
+ <min_compatible>3.11.0</min_compatible>
300
300
  </version>
301
301
  <filename>measure.rb</filename>
302
302
  <filetype>rb</filetype>
303
303
  <usage_type>script</usage_type>
304
- <checksum>08122A36</checksum>
304
+ <checksum>752DEFB4</checksum>
305
305
  </file>
306
306
  <file>
307
307
  <filename>USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw</filename>
@@ -5,6 +5,6 @@
5
5
 
6
6
  module OpenStudio
7
7
  module ModelArticulation
8
- VERSION = '0.12.2'
8
+ VERSION = '0.13.0'
9
9
  end
10
10
  end
@@ -29,8 +29,8 @@ Gem::Specification.new do |spec|
29
29
  spec.required_ruby_version = '~> 3.2.2'
30
30
 
31
31
  spec.add_dependency 'bundler', '~> 2.4.10'
32
- spec.add_dependency 'openstudio-extension', '~> 0.9.3'
33
- spec.add_dependency 'openstudio-standards', '0.8.2'
32
+ spec.add_dependency 'openstudio-extension', '~> 0.9.7'
33
+ spec.add_dependency 'openstudio-standards', '0.8.5'
34
34
 
35
35
  # if we need the following dependencies pinned,
36
36
  # let's set them in extension-gem for next release
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-model-articulation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Goldwasser
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-08-08 00:00:00.000000000 Z
11
+ date: 2026-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.9.3
33
+ version: 0.9.7
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.9.3
40
+ version: 0.9.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: openstudio-standards
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.2
47
+ version: 0.8.5
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.8.2
54
+ version: 0.8.5
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: multipart-post
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -177,7 +177,6 @@ files:
177
177
  - ".rubocop.yml"
178
178
  - CHANGELOG.md
179
179
  - Gemfile
180
- - Jenkinsfile
181
180
  - LICENSE.md
182
181
  - README.md
183
182
  - Rakefile
@@ -528,7 +527,7 @@ licenses: []
528
527
  metadata:
529
528
  bug_tracker_uri: https://github.com/NREL/openstudio-model-articulation-gem/issues
530
529
  changelog_uri: https://github.com/NREL/openstudio-model-articulation-gem/blob/develop/CHANGELOG.md
531
- source_code_uri: https://github.com/NREL/openstudio-model-articulation-gem/tree/v0.12.2
530
+ source_code_uri: https://github.com/NREL/openstudio-model-articulation-gem/tree/v0.13.0
532
531
  post_install_message:
533
532
  rdoc_options: []
534
533
  require_paths:
data/Jenkinsfile DELETED
@@ -1,11 +0,0 @@
1
- //Jenkins pipelines are stored in shared libaries. Please see: https://github.com/NREL/cbci_jenkins_libs
2
-
3
- @Library('cbci_shared_libs') _
4
-
5
- // Build for PR to develop branch only.
6
- if ((env.CHANGE_ID) && (env.CHANGE_TARGET) ) { // check if set
7
-
8
- openstudio_extension_gems()
9
-
10
- }
11
-