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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 900f442cddeeeaec5d3c46f05979c8e61c94df06
4
- data.tar.gz: e4aa3cfea70f6b1a31730d5bd02b44e72ea7c254
3
+ metadata.gz: b214aa6493bf1187a2d2130e0a56696d556c56dd
4
+ data.tar.gz: 7d04f958a36a0b5865f03552c1cdce58042316d5
5
5
  SHA512:
6
- metadata.gz: 957702d15cac0c9c264c4b375e1387cc15d1f228420e7eccdf18a28fcb525f5edb11dcf70995679d6a13d0e2f55683528c82501fd655b638b6da2eeba8030149
7
- data.tar.gz: 1b02cd2c8560babad1d18a8d4c9653f32c40b755c9e4c3639da010eb8006829cfdc744078edcebaaa6f8f611847d4926351784191bb43f3c1a7db3c1eac26187
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('Sensitivity').parse()
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
@@ -1,6 +1,6 @@
1
1
  module OpenStudio
2
2
  module Analysis
3
- VERSION = "0.1"
3
+ VERSION = "0.1.1"
4
4
  OPENSTUDIO_VERSION = "1.1.2"
5
5
  end
6
6
  end
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: '0.1'
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