osut 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2491bf7ed2ed4277ccfe4087a661660e720bd7f417b1e51f3c1f81715e53193f
4
- data.tar.gz: 7c07191bf8cb725fdb9a04e15269aa6431fd7aa66955b9b99b2c1d61929033c6
3
+ metadata.gz: 22ca6888b91cccb62496d3e64b7a85e0b045e8a8e86f97fd98b28b7eac85749e
4
+ data.tar.gz: fa2d90d16d5d727d99f2ad0b0cb8262a93702003e6173c50140b92062603f2cd
5
5
  SHA512:
6
- metadata.gz: ed0ad6091cf8bd858a1b3de7c17b4e13fd21816871c1dc8bf539d4b7b03f232dfa1621d3e6a839eebde9a779d7562e9c56e04bf10a52c417d884ebba7128e9c0
7
- data.tar.gz: 5be1c0c83a39becabf70d6202916b4012ca1923b2102084515dfccae765e9fffc5e4db27787523a1a7694a852e15029176216d1fff255e0653baba97c399eacd
6
+ metadata.gz: 0d52f369c8ff4be1eca487d8f90f3cecfb1b960b31f4d8887d5abef0912f3b57454cd57fc2af5af8ca4efca856e77dcdad565355738127b1dfc0f0745fdbf5d2
7
+ data.tar.gz: ae0c2c540701073f1167c39d5478ce6c64c68a9d27e5f1147fac21ff22e7fdcb1e430be5b62abff3b0c5d0649f36d747e8c807acfcf8b3a412d071106fc13c6c
@@ -3,7 +3,7 @@ name: Pull Request CI
3
3
  on:
4
4
  pull_request:
5
5
  branches:
6
- - main
6
+ - develop
7
7
 
8
8
  jobs:
9
9
  test_300x:
@@ -86,3 +86,35 @@ jobs:
86
86
  docker exec -t test bundle update
87
87
  docker exec -t test bundle exec rake
88
88
  docker kill test
89
+ test_361x:
90
+ runs-on: ubuntu-22.04
91
+ steps:
92
+ - name: Check out repository
93
+ uses: actions/checkout@v2
94
+ - name: Run Tests
95
+ run: |
96
+ echo $(pwd)
97
+ echo $(ls)
98
+ docker pull nrel/openstudio:3.6.1
99
+ docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.6.1
100
+ docker exec -t test pwd
101
+ docker exec -t test ls
102
+ docker exec -t test bundle update
103
+ docker exec -t test bundle exec rake
104
+ docker kill test
105
+ test_370x:
106
+ runs-on: ubuntu-22.04
107
+ steps:
108
+ - name: Check out repository
109
+ uses: actions/checkout@v2
110
+ - name: Run Tests
111
+ run: |
112
+ echo $(pwd)
113
+ echo $(ls)
114
+ docker pull nrel/openstudio:3.7.0
115
+ docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.7.0
116
+ docker exec -t test pwd
117
+ docker exec -t test ls
118
+ docker exec -t test bundle update
119
+ docker exec -t test bundle exec rake
120
+ docker kill test
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  BSD 3-Clause License
2
2
 
3
- Copyright (c) 2022-2023, Denis Bourgeois
3
+ Copyright (c) 2022-2024, Denis Bourgeois
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # osut
2
2
 
3
- General purpose Ruby utilities for [OpenStudio](https://openstudio.net) [Measures](https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/) or other OpenStudio [SDK](https://openstudio-sdk-documentation.s3.amazonaws.com/index.html) applications. Compatible with SDK v3.0.0 (or newer) and OpenStudio Application [releases](https://github.com/openstudiocoalition/OpenStudioApplication/releases?page=2) distributed by the [OpenStudio Coalition](https://openstudiocoalition.org).
3
+ General purpose Ruby utilities for [OpenStudio](https://openstudio.net) [Measures](https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/) or other OpenStudio [SDK](https://openstudio-sdk-documentation.s3.amazonaws.com/index.html) applications. They provide key inputs to _Measures_ (or gems) such as _Thermal Bridging & Derating_ (or [TBD](https://github.com/rd2/tbd)). Compatible with SDK v3.0.0 (or newer) and OpenStudio Application [releases](https://github.com/openstudiocoalition/OpenStudioApplication/releases) distributed by the [OpenStudio Coalition](https://openstudiocoalition.org).
4
4
 
5
5
  Add:
6
6
 
@@ -35,21 +35,20 @@ M.log(OSut::WARN, "Calculated material thickness > 1m")
35
35
 
36
36
  ### Features
37
37
 
38
- Roughly half of the __osut__ methods extract useful _zoning_ information from OpenStudio models (.osm files), e.g.:
39
- - is a given space part of a CONDITIONED thermal zone?
40
- - if CONDITIONED, what are its MIN/MAX heating/cooling setpoint temperatures?
41
- - is it instead a _plenum_? or otherwise UNCONDITIONED?
42
-
43
- Most of these _zoning_ queries are adapted from [OpenStudio Standards](https://github.com/NREL/openstudio-standards/blob/master/lib/openstudio-standards/standards/Standards.ThermalZone.rb), providing key inputs to _Measures_ (or gems) such as _Thermal Bridging & Derating_ (or [TBD](https://github.com/rd2/tbd)).
44
-
45
- The remaining methods deal mainly with constructions & materials, or surface geometry, e.g.:
38
+ Most of the __osut__ methods deal with OpenStudio geometry (e.g. add & auto-position a front entrance with sidelights and transoms), or with constructions & materials:
46
39
 
47
40
  - what is the calculated R-value of a construction?
48
41
  - are any layered materials in a construction MASSLESS?
49
42
  - which one of these layered materials is considered the most insulating?
50
- - what is the total thickness of a _standard_ opaque construction?
51
- - any overlaps between 2x windows in a given wall?
52
43
 
53
- Look up the full __osut__ API [here](https://www.rubydoc.info/gems/osut).
44
+ The remainder extract useful _zoning_ information from OpenStudio models, e.g.:
45
+
46
+ - is a given space part of a CONDITIONED thermal zone?
47
+ - if CONDITIONED or INDIRECTLY UNCONDITIONED, what are its MIN/MAX heating/cooling setpoint temperatures?
48
+ - is it instead a _plenum_? or otherwise UNCONDITIONED?
49
+
50
+ Many of these _zoning_ queries are adapted from [OpenStudio Standards](https://github.com/NREL/openstudio-standards/blob/master/lib/openstudio-standards/standards/Standards.ThermalZone.rb).
51
+
52
+ Look up the full __osut__ API [here](https://www.rubydoc.info/gems/osut/OSut).
54
53
 
55
54
  OpenStudio-related questions can be posted on [UnmetHours](https://unmethours.com/questions/).