openstudio-analysis 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/openstudio/analysis/translator/excel.rb +1 -3
- data/lib/openstudio/analysis/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b214aa6493bf1187a2d2130e0a56696d556c56dd
|
4
|
+
data.tar.gz: 7d04f958a36a0b5865f03552c1cdce58042316d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 063661d822e81a646777b9ddb2af3c09e8b2329541a1aa5963abaec781131da0f35a44ff54e20ff4ec2d7930584edb837ca179d12e36e3586e6d9953bf656e8d
|
7
|
+
data.tar.gz: 0914e8713a6e68e77c08daf7399bb3e7bb2a2c6666615aeb8d242eff6b60177e8fe34af81ecc14f81cab577b95ebfbbd66635c429ce61a5a9d6dad330cb2f5b4
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
OpenStudio Analysis Gem Change Log
|
2
|
+
==================================
|
3
|
+
|
4
|
+
Version 0.1.1
|
5
|
+
-------------
|
6
|
+
|
7
|
+
### Major Changes (may be backwards incompatible)
|
8
|
+
|
9
|
+
* Change XLSX translator to read from a "Variables" spreadsheet instead of "Sensitivity"
|
10
|
+
|
11
|
+
### New Features
|
12
|
+
|
13
|
+
### Resolved Issues
|
14
|
+
|
@@ -277,7 +277,7 @@ module OpenStudio
|
|
277
277
|
# a higher level JSON file. The JSON file is historic and it should really
|
278
278
|
# be omitted as an intermediate step
|
279
279
|
def parse_variables()
|
280
|
-
rows = @xls.sheet('
|
280
|
+
rows = @xls.sheet('Variables').parse()
|
281
281
|
data = {}
|
282
282
|
data['data'] = []
|
283
283
|
|
@@ -326,14 +326,12 @@ module OpenStudio
|
|
326
326
|
var['distribution']['source'] = row[14]
|
327
327
|
elsif var['method'] == 'static'
|
328
328
|
var['distribution']['static_value'] = row[7]
|
329
|
-
#var['distribution']['apply_method'] = row[14]
|
330
329
|
var['distribution']['source'] = row[14]
|
331
330
|
end
|
332
331
|
|
333
332
|
var['notes'] = row[15]
|
334
333
|
var['relation_to_eui'] = row[16]
|
335
334
|
|
336
|
-
data['data'][measure_index]['apply_method'] ||= row[14]
|
337
335
|
data['data'][measure_index]['variables'] << var
|
338
336
|
end
|
339
337
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-analysis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Long
|
@@ -100,6 +100,7 @@ files:
|
|
100
100
|
- lib/openstudio/templates/workflow_item.json.erb
|
101
101
|
- lib/openstudio-analysis.rb
|
102
102
|
- README.md
|
103
|
+
- CHANGELOG.md
|
103
104
|
- Rakefile
|
104
105
|
- spec/openstudio-analysis/server_api_spec.rb
|
105
106
|
- spec/spec_helper.rb
|