honeybee-openstudio 2.9.0 → 2.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -228,7 +228,7 @@ module Honeybee
228
228
 
229
229
  # assign the north
230
230
  if @hash[:north_angle]
231
- @openstudio_model.getBuilding.setNorthAxis(-@hash[:north_angle])
231
+ @openstudio_model.getBuilding.setNorthAxis(@hash[:north_angle])
232
232
  end
233
233
 
234
234
  # assign the terrain
@@ -237,6 +237,10 @@ module Honeybee
237
237
  if @hash[:terrain_type]
238
238
  os_site.setTerrain(@hash[:terrain_type])
239
239
  end
240
+
241
+ # ensure water mains temperatures are written
242
+ os_water_mains = @openstudio_model.getSiteWaterMainsTemperature
243
+ os_water_mains.setCalculationMethod('CorrelationFromWeatherFile')
240
244
  end
241
245
 
242
246
  end #SimulationParameter
@@ -64,7 +64,7 @@ module Honeybee
64
64
  @@program_manager.setCallingPoint('BeginTimestepBeforePredictor')
65
65
  end
66
66
  @@program_manager
67
- end
67
+ end
68
68
 
69
69
  def replace_ems_special_characters(ems_variable_name)
70
70
  # remove special characters from an name to be used as an EMS variable
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybee-openstudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2020-12-10 00:00:00.000000000 Z
14
+ date: 2020-12-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -200,6 +200,7 @@ files:
200
200
  - lib/honeybee/load/infiltration.rb
201
201
  - lib/honeybee/load/lighting.rb
202
202
  - lib/honeybee/load/people.rb
203
+ - lib/honeybee/load/service_hot_water.rb
203
204
  - lib/honeybee/load/setpoint_humidistat.rb
204
205
  - lib/honeybee/load/setpoint_thermostat.rb
205
206
  - lib/honeybee/load/ventilation.rb
@@ -255,6 +256,7 @@ files:
255
256
  - lib/to_openstudio/load/infiltration.rb
256
257
  - lib/to_openstudio/load/lighting.rb
257
258
  - lib/to_openstudio/load/people.rb
259
+ - lib/to_openstudio/load/service_hot_water.rb
258
260
  - lib/to_openstudio/load/setpoint_humidistat.rb
259
261
  - lib/to_openstudio/load/setpoint_thermostat.rb
260
262
  - lib/to_openstudio/load/ventilation.rb
@@ -296,7 +298,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
296
298
  - !ruby/object:Gem::Version
297
299
  version: '0'
298
300
  requirements: []
299
- rubygems_version: 3.1.4
301
+ rubyforge_project:
302
+ rubygems_version: 2.7.6
300
303
  signing_key:
301
304
  specification_version: 4
302
305
  summary: Gem for translating between Honeybee JSON and OpenStudio Model.