osut 0.3.0 → 0.5.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 +4 -4
- data/.github/workflows/pull_request.yml +33 -1
- data/LICENSE +1 -1
- data/README.md +11 -12
- data/lib/osut/utils.rb +6803 -1763
- data/lib/osut/version.rb +2 -2
- data/lib/osut.rb +1 -1
- data/osut.gemspec +3 -4
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22ca6888b91cccb62496d3e64b7a85e0b045e8a8e86f97fd98b28b7eac85749e
|
4
|
+
data.tar.gz: fa2d90d16d5d727d99f2ad0b0cb8262a93702003e6173c50140b92062603f2cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
-
|
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
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
|
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
|
-
|
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
|
-
|
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/).
|