openstudio-standards 0.7.0.rc1 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9291620f66d76ddfd726191917cc813d14a29fb6b9ee9de5b1b5670abfd5620
|
4
|
+
data.tar.gz: 6a0e1a0a9d6fc389a68667563e375a923fe6484a4685aac1940eeb5c10763f24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 618793b8d2e6bb43e09827ad1371c26667fcc1b981bb058c1b3981b2781dd489ba048a8aa419e1a6289336bb6fac56c2a745c5f6814f6929f3c095bd9eabf5de
|
7
|
+
data.tar.gz: dd545de9b41a33bb218e23799d86deb8c2426cfb6792e92dee496d0b3b32c211fe8097b2355fa5151e9de3b07dafb992b93f3c59296665d045e96c1957bd047c
|
@@ -411,7 +411,13 @@ module OpenstudioStandards
|
|
411
411
|
custom_cor_val = width * core_ratio_adj
|
412
412
|
custom_perim_val = (width - custom_cor_val) / 2.0
|
413
413
|
end
|
414
|
-
|
414
|
+
# use perimeter zone depth if the custom perimeter value is within 1 milimeter
|
415
|
+
if (custom_perim_val - perimeter_zone_depth).abs < 0.001
|
416
|
+
actual_perim = perimeter_zone_depth
|
417
|
+
else
|
418
|
+
actual_perim = custom_perim_val
|
419
|
+
end
|
420
|
+
|
415
421
|
double_loaded_corridor = true
|
416
422
|
else
|
417
423
|
actual_perim = perimeter_zone_depth
|
@@ -365,7 +365,7 @@ module OpenstudioStandards
|
|
365
365
|
else
|
366
366
|
num_timesteps = model.getTimestep.numberOfTimestepsPerHour
|
367
367
|
day_timeseries = schedule_day.timeSeries.values.to_a
|
368
|
-
schedule_values = day_timeseries.each_slice(num_timesteps).map { |slice| slice.sum / slice.size.to_f }
|
368
|
+
schedule_values = day_timeseries.each_slice(num_timesteps).map { |slice| (slice.sum / slice.size.to_f).round(10) }
|
369
369
|
end
|
370
370
|
|
371
371
|
unless schedule_values.size == 24
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Adams
|
@@ -39,7 +39,7 @@ authors:
|
|
39
39
|
autorequire:
|
40
40
|
bindir: bin
|
41
41
|
cert_chain: []
|
42
|
-
date: 2024-
|
42
|
+
date: 2024-11-05 00:00:00.000000000 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: bundler
|