osut 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pull_request.yml +17 -1
- data/README.md +11 -12
- data/lib/osut/utils.rb +2491 -764
- data/lib/osut/version.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: 97a62230a6445c777066a8954ab5f87889bc12fcba1652116599cf5d67bc2184
|
4
|
+
data.tar.gz: 0ce6f2cda3439b6e78369ef27be000040caf55156f3b9ca2c879b0f59c0748d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 278a4f2244ca4206696ce051aeb0522f573fb1afdbdf7270293e2e4b178a0190e2214eb12f88d2238ec8c309798cd75597dd332651379fd367c94692f7d0d001
|
7
|
+
data.tar.gz: e5440f6959602713427ed275760c08acec39548d2ee301c6be2c5799b3efc4e8ef50a2ca3aa998b9b44be7384d36742a99ea86411b89ce248537bb48bc673b6e
|
@@ -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,19 @@ 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
|
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/).
|