openstudio-standards 0.2.0 → 0.2.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
- SHA1:
3
- metadata.gz: 13900fdf938b7d127357f71afea357973d2884fc
4
- data.tar.gz: 3da4b7b33084026a1762da60cf89924365b4bb8c
2
+ SHA256:
3
+ metadata.gz: 479facb81b789389df83af56ea69de612edcd19ee62e5381179b8ac95b6297dd
4
+ data.tar.gz: 1cbd4d8613260e52b6d9b2cccdfe6d3a8a5a26a1339351a6a9efc3f1667279d2
5
5
  SHA512:
6
- metadata.gz: 349572947a81fbfac6ca21768ef96e7be6f0a2eb49ef7753869b6544922b1952e65cc61f837375d015f1cd943758dcff2c426dcab4385f049e006cfefc84770b
7
- data.tar.gz: 0eaef05bcb57a3640b21ded3b416321feb7618cb4a226e38f42c681ba9f721717e81dc500117cc87dae1135cffbf5d486d385fb0e79a98530f035ebeb9423edc
6
+ metadata.gz: 080f54eaf82fd3abe63d0b38ee49b926f5f2bacfe044d75fd52648af48deabda98a62fc57ddc550acae318453c8fba1939c4a89e7700051050b51ed064a85dfe
7
+ data.tar.gz: 05e6dae1bbc18b7966888b5941a637cfc7ec113ee96b08230bbebad04c3763740e2ac08d112b729d48c7834d4955131e1344970617fef15d09289a296ce14613
@@ -1,34 +1,6 @@
1
1
  require 'singleton'
2
2
  require_relative 'openstudio-standards/version'
3
3
 
4
- class Folders
5
- # A place to keep all folder paths and ensure that they exist!
6
- # Usage is
7
- # Folders.instance.refactor_folder
8
- include Singleton
9
- attr_reader :data_costing_folder
10
- attr_reader :data_geometry_folder
11
- attr_reader :data_standards_folder
12
- attr_reader :data_weather_folder
13
- attr_reader :refactor_folder
14
-
15
- def initialize
16
- folders = []
17
- # folders << @data_costing_folder = File.expand_path("#{File.dirname(__FILE__)}/../data/costing/")
18
- folders << @data_geometry_folder = File.expand_path("#{File.dirname(__FILE__)}/../data/geometry/")
19
- folders << @data_standards_folder = File.expand_path("#{File.dirname(__FILE__)}/../data/standards/")
20
- folders << @data_weather_folder = File.expand_path("#{File.dirname(__FILE__)}/../data/weather/")
21
- error = false
22
- folders.each do |folder|
23
- unless Dir.exist?(folder)
24
- puts "#{folder} does not exist. Please check paths relative to this file."
25
- error = true
26
- end
27
- end
28
- raise('Folder paths are incorrect. Standards Cannot continue.') if error
29
- end
30
- end
31
-
32
4
  module OpenstudioStandards
33
5
  require 'json' # Used to load standards JSON files
34
6
 
@@ -284,6 +284,7 @@ class OpenStudio::Model::Model
284
284
  object_type = object_type.upcase if object_type == 'Coil:Cooling:WaterToAirHeatPump:EquationFit'
285
285
  object_type = object_type.upcase if object_type == 'Coil:Heating:WaterToAirHeatPump:EquationFit'
286
286
  object_type = 'Coil:Heating:GasMultiStage' if object_type == 'Coil:Heating:Gas:MultiStage'
287
+ object_type = 'Coil:Heating:Fuel' if object_type == 'Coil:Heating:Gas'
287
288
 
288
289
  sql = self.sqlFile
289
290
 
@@ -28,9 +28,9 @@ end
28
28
  end
29
29
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
30
30
  #ideally we should map the data required to a instance variable.
31
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
32
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
33
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
31
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
32
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
33
+ @system_to_space_map = load_hvac_map(hvac_map_file)
34
34
  self.set_variables()
35
35
  end
36
36
  # This method is used to extend the class with building-type-specific
@@ -121,9 +121,9 @@ end
121
121
  end
122
122
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
123
123
  #ideally we should map the data required to a instance variable.
124
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
125
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
126
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
124
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
125
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
126
+ @system_to_space_map = load_hvac_map(hvac_map_file)
127
127
  self.set_variables()
128
128
  end
129
129
  # This method is used to extend the class with building-type-specific
@@ -214,9 +214,9 @@ end
214
214
  end
215
215
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
216
216
  #ideally we should map the data required to a instance variable.
217
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
218
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
219
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
217
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
218
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
219
+ @system_to_space_map = load_hvac_map(hvac_map_file)
220
220
  self.set_variables()
221
221
  end
222
222
  # This method is used to extend the class with building-type-specific
@@ -307,9 +307,9 @@ end
307
307
  end
308
308
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
309
309
  #ideally we should map the data required to a instance variable.
310
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
311
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
312
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
310
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
311
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
312
+ @system_to_space_map = load_hvac_map(hvac_map_file)
313
313
  self.set_variables()
314
314
  end
315
315
  # This method is used to extend the class with building-type-specific
@@ -400,9 +400,9 @@ end
400
400
  end
401
401
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
402
402
  #ideally we should map the data required to a instance variable.
403
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
404
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
405
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
403
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
404
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
405
+ @system_to_space_map = load_hvac_map(hvac_map_file)
406
406
  self.set_variables()
407
407
  end
408
408
  # This method is used to extend the class with building-type-specific
@@ -493,9 +493,9 @@ end
493
493
  end
494
494
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
495
495
  #ideally we should map the data required to a instance variable.
496
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
497
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
498
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
496
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
497
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
498
+ @system_to_space_map = load_hvac_map(hvac_map_file)
499
499
  self.set_variables()
500
500
  end
501
501
  # This method is used to extend the class with building-type-specific
@@ -586,9 +586,9 @@ end
586
586
  end
587
587
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
588
588
  #ideally we should map the data required to a instance variable.
589
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
590
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
591
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
589
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
590
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
591
+ @system_to_space_map = load_hvac_map(hvac_map_file)
592
592
  self.set_variables()
593
593
  end
594
594
  # This method is used to extend the class with building-type-specific
@@ -679,9 +679,9 @@ end
679
679
  end
680
680
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
681
681
  #ideally we should map the data required to a instance variable.
682
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
683
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
684
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
682
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
683
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
684
+ @system_to_space_map = load_hvac_map(hvac_map_file)
685
685
  self.set_variables()
686
686
  end
687
687
  # This method is used to extend the class with building-type-specific
@@ -772,9 +772,9 @@ end
772
772
  end
773
773
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
774
774
  #ideally we should map the data required to a instance variable.
775
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
776
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
777
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
775
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
776
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
777
+ @system_to_space_map = load_hvac_map(hvac_map_file)
778
778
  self.set_variables()
779
779
  end
780
780
  # This method is used to extend the class with building-type-specific
@@ -865,9 +865,9 @@ end
865
865
  end
866
866
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
867
867
  #ideally we should map the data required to a instance variable.
868
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
869
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
870
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
868
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
869
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
870
+ @system_to_space_map = load_hvac_map(hvac_map_file)
871
871
  self.set_variables()
872
872
  end
873
873
  # This method is used to extend the class with building-type-specific
@@ -958,9 +958,9 @@ end
958
958
  end
959
959
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
960
960
  #ideally we should map the data required to a instance variable.
961
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
962
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
963
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
961
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
962
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
963
+ @system_to_space_map = load_hvac_map(hvac_map_file)
964
964
  self.set_variables()
965
965
  end
966
966
  # This method is used to extend the class with building-type-specific
@@ -1051,9 +1051,9 @@ end
1051
1051
  end
1052
1052
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1053
1053
  #ideally we should map the data required to a instance variable.
1054
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1055
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1056
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1054
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1055
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1056
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1057
1057
  self.set_variables()
1058
1058
  end
1059
1059
  # This method is used to extend the class with building-type-specific
@@ -1144,9 +1144,9 @@ end
1144
1144
  end
1145
1145
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1146
1146
  #ideally we should map the data required to a instance variable.
1147
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1148
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1149
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1147
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1148
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1149
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1150
1150
  self.set_variables()
1151
1151
  end
1152
1152
  # This method is used to extend the class with building-type-specific
@@ -1237,9 +1237,9 @@ end
1237
1237
  end
1238
1238
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1239
1239
  #ideally we should map the data required to a instance variable.
1240
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1241
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1242
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1240
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1241
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1242
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1243
1243
  self.set_variables()
1244
1244
  end
1245
1245
  # This method is used to extend the class with building-type-specific
@@ -1330,9 +1330,9 @@ end
1330
1330
  end
1331
1331
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1332
1332
  #ideally we should map the data required to a instance variable.
1333
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1334
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1335
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1333
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1334
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1335
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1336
1336
  self.set_variables()
1337
1337
  end
1338
1338
  # This method is used to extend the class with building-type-specific
@@ -1423,9 +1423,9 @@ end
1423
1423
  end
1424
1424
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1425
1425
  #ideally we should map the data required to a instance variable.
1426
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1427
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1428
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1426
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1427
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1428
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1429
1429
  self.set_variables()
1430
1430
  end
1431
1431
  # This method is used to extend the class with building-type-specific
@@ -1516,9 +1516,9 @@ end
1516
1516
  end
1517
1517
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1518
1518
  #ideally we should map the data required to a instance variable.
1519
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1520
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1521
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1519
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1520
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1521
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1522
1522
  self.set_variables()
1523
1523
  end
1524
1524
  # This method is used to extend the class with building-type-specific
@@ -1616,9 +1616,9 @@ end
1616
1616
  end
1617
1617
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1618
1618
  #ideally we should map the data required to a instance variable.
1619
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1620
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1621
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1619
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1620
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1621
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1622
1622
  self.set_variables()
1623
1623
  end
1624
1624
  # This method is used to extend the class with building-type-specific
@@ -1709,9 +1709,9 @@ end
1709
1709
  end
1710
1710
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1711
1711
  #ideally we should map the data required to a instance variable.
1712
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1713
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1714
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1712
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1713
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1714
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1715
1715
  self.set_variables()
1716
1716
  end
1717
1717
  # This method is used to extend the class with building-type-specific
@@ -1802,9 +1802,9 @@ end
1802
1802
  end
1803
1803
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1804
1804
  #ideally we should map the data required to a instance variable.
1805
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1806
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1807
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1805
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1806
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1807
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1808
1808
  self.set_variables()
1809
1809
  end
1810
1810
  # This method is used to extend the class with building-type-specific
@@ -1895,9 +1895,9 @@ end
1895
1895
  end
1896
1896
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1897
1897
  #ideally we should map the data required to a instance variable.
1898
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1899
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1900
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1898
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1899
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1900
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1901
1901
  self.set_variables()
1902
1902
  end
1903
1903
  # This method is used to extend the class with building-type-specific
@@ -1988,9 +1988,9 @@ end
1988
1988
  end
1989
1989
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
1990
1990
  #ideally we should map the data required to a instance variable.
1991
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
1992
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
1993
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
1991
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
1992
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
1993
+ @system_to_space_map = load_hvac_map(hvac_map_file)
1994
1994
  self.set_variables()
1995
1995
  end
1996
1996
  # This method is used to extend the class with building-type-specific
@@ -2081,9 +2081,9 @@ end
2081
2081
  end
2082
2082
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2083
2083
  #ideally we should map the data required to a instance variable.
2084
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2085
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2086
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2084
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2085
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2086
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2087
2087
  self.set_variables()
2088
2088
  end
2089
2089
  # This method is used to extend the class with building-type-specific
@@ -2174,9 +2174,9 @@ end
2174
2174
  end
2175
2175
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2176
2176
  #ideally we should map the data required to a instance variable.
2177
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2178
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2179
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2177
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2178
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2179
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2180
2180
  self.set_variables()
2181
2181
  end
2182
2182
  # This method is used to extend the class with building-type-specific
@@ -2267,9 +2267,9 @@ end
2267
2267
  end
2268
2268
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2269
2269
  #ideally we should map the data required to a instance variable.
2270
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2271
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2272
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2270
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2271
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2272
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2273
2273
  self.set_variables()
2274
2274
  end
2275
2275
  # This method is used to extend the class with building-type-specific
@@ -2360,9 +2360,9 @@ end
2360
2360
  end
2361
2361
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2362
2362
  #ideally we should map the data required to a instance variable.
2363
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2364
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2365
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2363
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2364
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2365
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2366
2366
  self.set_variables()
2367
2367
  end
2368
2368
  # This method is used to extend the class with building-type-specific
@@ -2453,9 +2453,9 @@ end
2453
2453
  end
2454
2454
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2455
2455
  #ideally we should map the data required to a instance variable.
2456
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2457
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2458
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2456
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2457
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2458
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2459
2459
  self.set_variables()
2460
2460
  end
2461
2461
  # This method is used to extend the class with building-type-specific
@@ -2546,9 +2546,9 @@ end
2546
2546
  end
2547
2547
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2548
2548
  #ideally we should map the data required to a instance variable.
2549
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2550
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2551
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2549
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2550
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2551
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2552
2552
  self.set_variables()
2553
2553
  end
2554
2554
  # This method is used to extend the class with building-type-specific
@@ -2639,9 +2639,9 @@ end
2639
2639
  end
2640
2640
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2641
2641
  #ideally we should map the data required to a instance variable.
2642
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2643
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2644
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2642
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2643
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2644
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2645
2645
  self.set_variables()
2646
2646
  end
2647
2647
  # This method is used to extend the class with building-type-specific
@@ -2732,9 +2732,9 @@ end
2732
2732
  end
2733
2733
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2734
2734
  #ideally we should map the data required to a instance variable.
2735
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2736
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2737
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2735
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2736
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2737
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2738
2738
  self.set_variables()
2739
2739
  end
2740
2740
  # This method is used to extend the class with building-type-specific
@@ -2825,9 +2825,9 @@ end
2825
2825
  end
2826
2826
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2827
2827
  #ideally we should map the data required to a instance variable.
2828
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2829
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2830
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2828
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2829
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2830
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2831
2831
  self.set_variables()
2832
2832
  end
2833
2833
  # This method is used to extend the class with building-type-specific
@@ -2918,9 +2918,9 @@ end
2918
2918
  end
2919
2919
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
2920
2920
  #ideally we should map the data required to a instance variable.
2921
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
2922
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
2923
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
2921
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
2922
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
2923
+ @system_to_space_map = load_hvac_map(hvac_map_file)
2924
2924
  self.set_variables()
2925
2925
  end
2926
2926
  # This method is used to extend the class with building-type-specific
@@ -3011,9 +3011,9 @@ end
3011
3011
  end
3012
3012
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3013
3013
  #ideally we should map the data required to a instance variable.
3014
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3015
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3016
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3014
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3015
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3016
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3017
3017
  self.set_variables()
3018
3018
  end
3019
3019
  # This method is used to extend the class with building-type-specific
@@ -3104,9 +3104,9 @@ end
3104
3104
  end
3105
3105
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3106
3106
  #ideally we should map the data required to a instance variable.
3107
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3108
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3109
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3107
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3108
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3109
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3110
3110
  self.set_variables()
3111
3111
  end
3112
3112
  # This method is used to extend the class with building-type-specific
@@ -3204,9 +3204,9 @@ end
3204
3204
  end
3205
3205
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3206
3206
  #ideally we should map the data required to a instance variable.
3207
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3208
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3209
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3207
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3208
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3209
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3210
3210
  self.set_variables()
3211
3211
  end
3212
3212
  # This method is used to extend the class with building-type-specific
@@ -3297,9 +3297,9 @@ end
3297
3297
  end
3298
3298
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3299
3299
  #ideally we should map the data required to a instance variable.
3300
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3301
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3302
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3300
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3301
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3302
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3303
3303
  self.set_variables()
3304
3304
  end
3305
3305
  # This method is used to extend the class with building-type-specific
@@ -3390,9 +3390,9 @@ end
3390
3390
  end
3391
3391
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3392
3392
  #ideally we should map the data required to a instance variable.
3393
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3394
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3395
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3393
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3394
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3395
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3396
3396
  self.set_variables()
3397
3397
  end
3398
3398
  # This method is used to extend the class with building-type-specific
@@ -3483,9 +3483,9 @@ end
3483
3483
  end
3484
3484
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3485
3485
  #ideally we should map the data required to a instance variable.
3486
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3487
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3488
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3486
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3487
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3488
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3489
3489
  self.set_variables()
3490
3490
  end
3491
3491
  # This method is used to extend the class with building-type-specific
@@ -3576,9 +3576,9 @@ end
3576
3576
  end
3577
3577
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3578
3578
  #ideally we should map the data required to a instance variable.
3579
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3580
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3581
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3579
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3580
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3581
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3582
3582
  self.set_variables()
3583
3583
  end
3584
3584
  # This method is used to extend the class with building-type-specific
@@ -3669,9 +3669,9 @@ end
3669
3669
  end
3670
3670
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3671
3671
  #ideally we should map the data required to a instance variable.
3672
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3673
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3674
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3672
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3673
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3674
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3675
3675
  self.set_variables()
3676
3676
  end
3677
3677
  # This method is used to extend the class with building-type-specific
@@ -3762,9 +3762,9 @@ end
3762
3762
  end
3763
3763
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3764
3764
  #ideally we should map the data required to a instance variable.
3765
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3766
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3767
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3765
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3766
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3767
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3768
3768
  self.set_variables()
3769
3769
  end
3770
3770
  # This method is used to extend the class with building-type-specific
@@ -3855,9 +3855,9 @@ end
3855
3855
  end
3856
3856
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3857
3857
  #ideally we should map the data required to a instance variable.
3858
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3859
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3860
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3858
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3859
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3860
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3861
3861
  self.set_variables()
3862
3862
  end
3863
3863
  # This method is used to extend the class with building-type-specific
@@ -3948,9 +3948,9 @@ end
3948
3948
  end
3949
3949
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
3950
3950
  #ideally we should map the data required to a instance variable.
3951
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
3952
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
3953
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
3951
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
3952
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
3953
+ @system_to_space_map = load_hvac_map(hvac_map_file)
3954
3954
  self.set_variables()
3955
3955
  end
3956
3956
  # This method is used to extend the class with building-type-specific
@@ -4041,9 +4041,9 @@ end
4041
4041
  end
4042
4042
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4043
4043
  #ideally we should map the data required to a instance variable.
4044
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4045
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4046
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4044
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4045
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4046
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4047
4047
  self.set_variables()
4048
4048
  end
4049
4049
  # This method is used to extend the class with building-type-specific
@@ -4134,9 +4134,9 @@ end
4134
4134
  end
4135
4135
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4136
4136
  #ideally we should map the data required to a instance variable.
4137
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4138
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4139
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4137
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4138
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4139
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4140
4140
  self.set_variables()
4141
4141
  end
4142
4142
  # This method is used to extend the class with building-type-specific
@@ -4227,9 +4227,9 @@ end
4227
4227
  end
4228
4228
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4229
4229
  #ideally we should map the data required to a instance variable.
4230
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4231
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4232
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4230
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4231
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4232
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4233
4233
  self.set_variables()
4234
4234
  end
4235
4235
  # This method is used to extend the class with building-type-specific
@@ -4320,9 +4320,9 @@ end
4320
4320
  end
4321
4321
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4322
4322
  #ideally we should map the data required to a instance variable.
4323
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4324
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4325
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4323
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4324
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4325
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4326
4326
  self.set_variables()
4327
4327
  end
4328
4328
  # This method is used to extend the class with building-type-specific
@@ -4413,9 +4413,9 @@ end
4413
4413
  end
4414
4414
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4415
4415
  #ideally we should map the data required to a instance variable.
4416
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4417
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4418
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4416
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4417
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4418
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4419
4419
  self.set_variables()
4420
4420
  end
4421
4421
  # This method is used to extend the class with building-type-specific
@@ -4506,9 +4506,9 @@ end
4506
4506
  end
4507
4507
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4508
4508
  #ideally we should map the data required to a instance variable.
4509
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4510
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4511
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4509
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4510
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4511
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4512
4512
  self.set_variables()
4513
4513
  end
4514
4514
  # This method is used to extend the class with building-type-specific
@@ -4599,9 +4599,9 @@ end
4599
4599
  end
4600
4600
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4601
4601
  #ideally we should map the data required to a instance variable.
4602
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4603
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4604
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4602
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4603
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4604
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4605
4605
  self.set_variables()
4606
4606
  end
4607
4607
  # This method is used to extend the class with building-type-specific
@@ -4692,9 +4692,9 @@ end
4692
4692
  end
4693
4693
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4694
4694
  #ideally we should map the data required to a instance variable.
4695
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4696
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4697
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4695
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4696
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4697
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4698
4698
  self.set_variables()
4699
4699
  end
4700
4700
  # This method is used to extend the class with building-type-specific
@@ -4792,9 +4792,9 @@ end
4792
4792
  end
4793
4793
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4794
4794
  #ideally we should map the data required to a instance variable.
4795
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4796
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4797
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4795
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4796
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4797
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4798
4798
  self.set_variables()
4799
4799
  end
4800
4800
  # This method is used to extend the class with building-type-specific
@@ -4885,9 +4885,9 @@ end
4885
4885
  end
4886
4886
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4887
4887
  #ideally we should map the data required to a instance variable.
4888
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4889
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4890
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4888
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4889
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4890
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4891
4891
  self.set_variables()
4892
4892
  end
4893
4893
  # This method is used to extend the class with building-type-specific
@@ -4978,9 +4978,9 @@ end
4978
4978
  end
4979
4979
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
4980
4980
  #ideally we should map the data required to a instance variable.
4981
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
4982
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
4983
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
4981
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
4982
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
4983
+ @system_to_space_map = load_hvac_map(hvac_map_file)
4984
4984
  self.set_variables()
4985
4985
  end
4986
4986
  # This method is used to extend the class with building-type-specific
@@ -5071,9 +5071,9 @@ end
5071
5071
  end
5072
5072
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5073
5073
  #ideally we should map the data required to a instance variable.
5074
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5075
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5076
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5074
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5075
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5076
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5077
5077
  self.set_variables()
5078
5078
  end
5079
5079
  # This method is used to extend the class with building-type-specific
@@ -5164,9 +5164,9 @@ end
5164
5164
  end
5165
5165
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5166
5166
  #ideally we should map the data required to a instance variable.
5167
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5168
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5169
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5167
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5168
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5169
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5170
5170
  self.set_variables()
5171
5171
  end
5172
5172
  # This method is used to extend the class with building-type-specific
@@ -5257,9 +5257,9 @@ end
5257
5257
  end
5258
5258
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5259
5259
  #ideally we should map the data required to a instance variable.
5260
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5261
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5262
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5260
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5261
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5262
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5263
5263
  self.set_variables()
5264
5264
  end
5265
5265
  # This method is used to extend the class with building-type-specific
@@ -5350,9 +5350,9 @@ end
5350
5350
  end
5351
5351
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5352
5352
  #ideally we should map the data required to a instance variable.
5353
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5354
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5355
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5353
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5354
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5355
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5356
5356
  self.set_variables()
5357
5357
  end
5358
5358
  # This method is used to extend the class with building-type-specific
@@ -5443,9 +5443,9 @@ end
5443
5443
  end
5444
5444
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5445
5445
  #ideally we should map the data required to a instance variable.
5446
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5447
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5448
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5446
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5447
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5448
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5449
5449
  self.set_variables()
5450
5450
  end
5451
5451
  # This method is used to extend the class with building-type-specific
@@ -5536,9 +5536,9 @@ end
5536
5536
  end
5537
5537
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5538
5538
  #ideally we should map the data required to a instance variable.
5539
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5540
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5541
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5539
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5540
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5541
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5542
5542
  self.set_variables()
5543
5543
  end
5544
5544
  # This method is used to extend the class with building-type-specific
@@ -5629,9 +5629,9 @@ end
5629
5629
  end
5630
5630
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5631
5631
  #ideally we should map the data required to a instance variable.
5632
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5633
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5634
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5632
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5633
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5634
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5635
5635
  self.set_variables()
5636
5636
  end
5637
5637
  # This method is used to extend the class with building-type-specific
@@ -5722,9 +5722,9 @@ end
5722
5722
  end
5723
5723
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5724
5724
  #ideally we should map the data required to a instance variable.
5725
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5726
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5727
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5725
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5726
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5727
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5728
5728
  self.set_variables()
5729
5729
  end
5730
5730
  # This method is used to extend the class with building-type-specific
@@ -5815,9 +5815,9 @@ end
5815
5815
  end
5816
5816
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5817
5817
  #ideally we should map the data required to a instance variable.
5818
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5819
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5820
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5818
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5819
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5820
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5821
5821
  self.set_variables()
5822
5822
  end
5823
5823
  # This method is used to extend the class with building-type-specific
@@ -5908,9 +5908,9 @@ end
5908
5908
  end
5909
5909
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
5910
5910
  #ideally we should map the data required to a instance variable.
5911
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
5912
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
5913
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
5911
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
5912
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
5913
+ @system_to_space_map = load_hvac_map(hvac_map_file)
5914
5914
  self.set_variables()
5915
5915
  end
5916
5916
  # This method is used to extend the class with building-type-specific
@@ -6001,9 +6001,9 @@ end
6001
6001
  end
6002
6002
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6003
6003
  #ideally we should map the data required to a instance variable.
6004
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6005
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6006
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6004
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6005
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6006
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6007
6007
  self.set_variables()
6008
6008
  end
6009
6009
  # This method is used to extend the class with building-type-specific
@@ -6094,9 +6094,9 @@ end
6094
6094
  end
6095
6095
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6096
6096
  #ideally we should map the data required to a instance variable.
6097
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6098
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6099
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6097
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6098
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6099
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6100
6100
  self.set_variables()
6101
6101
  end
6102
6102
  # This method is used to extend the class with building-type-specific
@@ -6187,9 +6187,9 @@ end
6187
6187
  end
6188
6188
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6189
6189
  #ideally we should map the data required to a instance variable.
6190
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6191
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6192
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6190
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6191
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6192
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6193
6193
  self.set_variables()
6194
6194
  end
6195
6195
  # This method is used to extend the class with building-type-specific
@@ -6280,9 +6280,9 @@ end
6280
6280
  end
6281
6281
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6282
6282
  #ideally we should map the data required to a instance variable.
6283
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6284
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6285
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6283
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6284
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6285
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6286
6286
  self.set_variables()
6287
6287
  end
6288
6288
  # This method is used to extend the class with building-type-specific
@@ -6380,9 +6380,9 @@ end
6380
6380
  end
6381
6381
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6382
6382
  #ideally we should map the data required to a instance variable.
6383
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6384
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6385
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6383
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6384
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6385
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6386
6386
  self.set_variables()
6387
6387
  end
6388
6388
  # This method is used to extend the class with building-type-specific
@@ -6473,9 +6473,9 @@ end
6473
6473
  end
6474
6474
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6475
6475
  #ideally we should map the data required to a instance variable.
6476
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6477
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6478
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6476
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6477
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6478
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6479
6479
  self.set_variables()
6480
6480
  end
6481
6481
  # This method is used to extend the class with building-type-specific
@@ -6566,9 +6566,9 @@ end
6566
6566
  end
6567
6567
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6568
6568
  #ideally we should map the data required to a instance variable.
6569
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6570
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6571
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6569
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6570
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6571
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6572
6572
  self.set_variables()
6573
6573
  end
6574
6574
  # This method is used to extend the class with building-type-specific
@@ -6659,9 +6659,9 @@ end
6659
6659
  end
6660
6660
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6661
6661
  #ideally we should map the data required to a instance variable.
6662
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6663
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6664
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6662
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6663
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6664
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6665
6665
  self.set_variables()
6666
6666
  end
6667
6667
  # This method is used to extend the class with building-type-specific
@@ -6752,9 +6752,9 @@ end
6752
6752
  end
6753
6753
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6754
6754
  #ideally we should map the data required to a instance variable.
6755
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6756
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6757
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6755
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6756
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6757
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6758
6758
  self.set_variables()
6759
6759
  end
6760
6760
  # This method is used to extend the class with building-type-specific
@@ -6845,9 +6845,9 @@ end
6845
6845
  end
6846
6846
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6847
6847
  #ideally we should map the data required to a instance variable.
6848
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6849
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6850
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6848
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6849
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6850
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6851
6851
  self.set_variables()
6852
6852
  end
6853
6853
  # This method is used to extend the class with building-type-specific
@@ -6938,9 +6938,9 @@ end
6938
6938
  end
6939
6939
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
6940
6940
  #ideally we should map the data required to a instance variable.
6941
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
6942
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
6943
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
6941
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
6942
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
6943
+ @system_to_space_map = load_hvac_map(hvac_map_file)
6944
6944
  self.set_variables()
6945
6945
  end
6946
6946
  # This method is used to extend the class with building-type-specific
@@ -7031,9 +7031,9 @@ end
7031
7031
  end
7032
7032
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7033
7033
  #ideally we should map the data required to a instance variable.
7034
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7035
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7036
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7034
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7035
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7036
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7037
7037
  self.set_variables()
7038
7038
  end
7039
7039
  # This method is used to extend the class with building-type-specific
@@ -7124,9 +7124,9 @@ end
7124
7124
  end
7125
7125
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7126
7126
  #ideally we should map the data required to a instance variable.
7127
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7128
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7129
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7127
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7128
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7129
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7130
7130
  self.set_variables()
7131
7131
  end
7132
7132
  # This method is used to extend the class with building-type-specific
@@ -7217,9 +7217,9 @@ end
7217
7217
  end
7218
7218
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7219
7219
  #ideally we should map the data required to a instance variable.
7220
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7221
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7222
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7220
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7221
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7222
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7223
7223
  self.set_variables()
7224
7224
  end
7225
7225
  # This method is used to extend the class with building-type-specific
@@ -7310,9 +7310,9 @@ end
7310
7310
  end
7311
7311
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7312
7312
  #ideally we should map the data required to a instance variable.
7313
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7314
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7315
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7313
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7314
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7315
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7316
7316
  self.set_variables()
7317
7317
  end
7318
7318
  # This method is used to extend the class with building-type-specific
@@ -7403,9 +7403,9 @@ end
7403
7403
  end
7404
7404
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7405
7405
  #ideally we should map the data required to a instance variable.
7406
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7407
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7408
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7406
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7407
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7408
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7409
7409
  self.set_variables()
7410
7410
  end
7411
7411
  # This method is used to extend the class with building-type-specific
@@ -7496,9 +7496,9 @@ end
7496
7496
  end
7497
7497
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7498
7498
  #ideally we should map the data required to a instance variable.
7499
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7500
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7501
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7499
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7500
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7501
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7502
7502
  self.set_variables()
7503
7503
  end
7504
7504
  # This method is used to extend the class with building-type-specific
@@ -7589,9 +7589,9 @@ end
7589
7589
  end
7590
7590
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7591
7591
  #ideally we should map the data required to a instance variable.
7592
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7593
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7594
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7592
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7593
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7594
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7595
7595
  self.set_variables()
7596
7596
  end
7597
7597
  # This method is used to extend the class with building-type-specific
@@ -7682,9 +7682,9 @@ end
7682
7682
  end
7683
7683
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7684
7684
  #ideally we should map the data required to a instance variable.
7685
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7686
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7687
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7685
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7686
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7687
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7688
7688
  self.set_variables()
7689
7689
  end
7690
7690
  # This method is used to extend the class with building-type-specific
@@ -7775,9 +7775,9 @@ end
7775
7775
  end
7776
7776
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7777
7777
  #ideally we should map the data required to a instance variable.
7778
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7779
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7780
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7778
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7779
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7780
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7781
7781
  self.set_variables()
7782
7782
  end
7783
7783
  # This method is used to extend the class with building-type-specific
@@ -7868,9 +7868,9 @@ end
7868
7868
  end
7869
7869
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7870
7870
  #ideally we should map the data required to a instance variable.
7871
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7872
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7873
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7871
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7872
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7873
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7874
7874
  self.set_variables()
7875
7875
  end
7876
7876
  # This method is used to extend the class with building-type-specific
@@ -7968,9 +7968,9 @@ end
7968
7968
  end
7969
7969
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
7970
7970
  #ideally we should map the data required to a instance variable.
7971
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
7972
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
7973
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
7971
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
7972
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
7973
+ @system_to_space_map = load_hvac_map(hvac_map_file)
7974
7974
  self.set_variables()
7975
7975
  end
7976
7976
  # This method is used to extend the class with building-type-specific
@@ -8061,9 +8061,9 @@ end
8061
8061
  end
8062
8062
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8063
8063
  #ideally we should map the data required to a instance variable.
8064
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8065
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8066
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8064
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8065
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8066
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8067
8067
  self.set_variables()
8068
8068
  end
8069
8069
  # This method is used to extend the class with building-type-specific
@@ -8154,9 +8154,9 @@ end
8154
8154
  end
8155
8155
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8156
8156
  #ideally we should map the data required to a instance variable.
8157
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8158
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8159
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8157
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8158
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8159
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8160
8160
  self.set_variables()
8161
8161
  end
8162
8162
  # This method is used to extend the class with building-type-specific
@@ -8247,9 +8247,9 @@ end
8247
8247
  end
8248
8248
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8249
8249
  #ideally we should map the data required to a instance variable.
8250
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8251
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8252
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8250
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8251
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8252
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8253
8253
  self.set_variables()
8254
8254
  end
8255
8255
  # This method is used to extend the class with building-type-specific
@@ -8340,9 +8340,9 @@ end
8340
8340
  end
8341
8341
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8342
8342
  #ideally we should map the data required to a instance variable.
8343
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8344
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8345
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8343
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8344
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8345
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8346
8346
  self.set_variables()
8347
8347
  end
8348
8348
  # This method is used to extend the class with building-type-specific
@@ -8433,9 +8433,9 @@ end
8433
8433
  end
8434
8434
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8435
8435
  #ideally we should map the data required to a instance variable.
8436
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8437
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8438
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8436
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8437
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8438
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8439
8439
  self.set_variables()
8440
8440
  end
8441
8441
  # This method is used to extend the class with building-type-specific
@@ -8526,9 +8526,9 @@ end
8526
8526
  end
8527
8527
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8528
8528
  #ideally we should map the data required to a instance variable.
8529
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8530
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8531
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8529
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8530
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8531
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8532
8532
  self.set_variables()
8533
8533
  end
8534
8534
  # This method is used to extend the class with building-type-specific
@@ -8619,9 +8619,9 @@ end
8619
8619
  end
8620
8620
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8621
8621
  #ideally we should map the data required to a instance variable.
8622
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8623
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8624
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8622
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8623
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8624
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8625
8625
  self.set_variables()
8626
8626
  end
8627
8627
  # This method is used to extend the class with building-type-specific
@@ -8712,9 +8712,9 @@ end
8712
8712
  end
8713
8713
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8714
8714
  #ideally we should map the data required to a instance variable.
8715
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8716
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8717
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8715
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8716
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8717
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8718
8718
  self.set_variables()
8719
8719
  end
8720
8720
  # This method is used to extend the class with building-type-specific
@@ -8805,9 +8805,9 @@ end
8805
8805
  end
8806
8806
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8807
8807
  #ideally we should map the data required to a instance variable.
8808
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8809
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8810
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8808
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8809
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8810
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8811
8811
  self.set_variables()
8812
8812
  end
8813
8813
  # This method is used to extend the class with building-type-specific
@@ -8898,9 +8898,9 @@ end
8898
8898
  end
8899
8899
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8900
8900
  #ideally we should map the data required to a instance variable.
8901
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8902
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8903
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8901
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8902
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8903
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8904
8904
  self.set_variables()
8905
8905
  end
8906
8906
  # This method is used to extend the class with building-type-specific
@@ -8991,9 +8991,9 @@ end
8991
8991
  end
8992
8992
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
8993
8993
  #ideally we should map the data required to a instance variable.
8994
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
8995
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
8996
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
8994
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
8995
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
8996
+ @system_to_space_map = load_hvac_map(hvac_map_file)
8997
8997
  self.set_variables()
8998
8998
  end
8999
8999
  # This method is used to extend the class with building-type-specific
@@ -9084,9 +9084,9 @@ end
9084
9084
  end
9085
9085
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9086
9086
  #ideally we should map the data required to a instance variable.
9087
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9088
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9089
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9087
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9088
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9089
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9090
9090
  self.set_variables()
9091
9091
  end
9092
9092
  # This method is used to extend the class with building-type-specific
@@ -9177,9 +9177,9 @@ end
9177
9177
  end
9178
9178
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9179
9179
  #ideally we should map the data required to a instance variable.
9180
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9181
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9182
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9180
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9181
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9182
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9183
9183
  self.set_variables()
9184
9184
  end
9185
9185
  # This method is used to extend the class with building-type-specific
@@ -9270,9 +9270,9 @@ end
9270
9270
  end
9271
9271
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9272
9272
  #ideally we should map the data required to a instance variable.
9273
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9274
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9275
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9273
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9274
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9275
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9276
9276
  self.set_variables()
9277
9277
  end
9278
9278
  # This method is used to extend the class with building-type-specific
@@ -9363,9 +9363,9 @@ end
9363
9363
  end
9364
9364
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9365
9365
  #ideally we should map the data required to a instance variable.
9366
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9367
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9368
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9366
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9367
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9368
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9369
9369
  self.set_variables()
9370
9370
  end
9371
9371
  # This method is used to extend the class with building-type-specific
@@ -9456,9 +9456,9 @@ end
9456
9456
  end
9457
9457
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9458
9458
  #ideally we should map the data required to a instance variable.
9459
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9460
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9461
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9459
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9460
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9461
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9462
9462
  self.set_variables()
9463
9463
  end
9464
9464
  # This method is used to extend the class with building-type-specific
@@ -9556,9 +9556,9 @@ end
9556
9556
  end
9557
9557
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9558
9558
  #ideally we should map the data required to a instance variable.
9559
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9560
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9561
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9559
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9560
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9561
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9562
9562
  self.set_variables()
9563
9563
  end
9564
9564
  # This method is used to extend the class with building-type-specific
@@ -9649,9 +9649,9 @@ end
9649
9649
  end
9650
9650
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9651
9651
  #ideally we should map the data required to a instance variable.
9652
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9653
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9654
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9652
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9653
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9654
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9655
9655
  self.set_variables()
9656
9656
  end
9657
9657
  # This method is used to extend the class with building-type-specific
@@ -9742,9 +9742,9 @@ end
9742
9742
  end
9743
9743
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9744
9744
  #ideally we should map the data required to a instance variable.
9745
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9746
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9747
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9745
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9746
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9747
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9748
9748
  self.set_variables()
9749
9749
  end
9750
9750
  # This method is used to extend the class with building-type-specific
@@ -9835,9 +9835,9 @@ end
9835
9835
  end
9836
9836
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9837
9837
  #ideally we should map the data required to a instance variable.
9838
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9839
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9840
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9838
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9839
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9840
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9841
9841
  self.set_variables()
9842
9842
  end
9843
9843
  # This method is used to extend the class with building-type-specific
@@ -9928,9 +9928,9 @@ end
9928
9928
  end
9929
9929
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
9930
9930
  #ideally we should map the data required to a instance variable.
9931
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
9932
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
9933
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
9931
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
9932
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
9933
+ @system_to_space_map = load_hvac_map(hvac_map_file)
9934
9934
  self.set_variables()
9935
9935
  end
9936
9936
  # This method is used to extend the class with building-type-specific
@@ -10021,9 +10021,9 @@ end
10021
10021
  end
10022
10022
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10023
10023
  #ideally we should map the data required to a instance variable.
10024
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10025
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10026
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10024
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10025
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10026
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10027
10027
  self.set_variables()
10028
10028
  end
10029
10029
  # This method is used to extend the class with building-type-specific
@@ -10114,9 +10114,9 @@ end
10114
10114
  end
10115
10115
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10116
10116
  #ideally we should map the data required to a instance variable.
10117
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10118
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10119
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10117
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10118
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10119
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10120
10120
  self.set_variables()
10121
10121
  end
10122
10122
  # This method is used to extend the class with building-type-specific
@@ -10207,9 +10207,9 @@ end
10207
10207
  end
10208
10208
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10209
10209
  #ideally we should map the data required to a instance variable.
10210
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10211
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10212
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10210
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10211
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10212
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10213
10213
  self.set_variables()
10214
10214
  end
10215
10215
  # This method is used to extend the class with building-type-specific
@@ -10300,9 +10300,9 @@ end
10300
10300
  end
10301
10301
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10302
10302
  #ideally we should map the data required to a instance variable.
10303
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10304
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10305
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10303
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10304
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10305
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10306
10306
  self.set_variables()
10307
10307
  end
10308
10308
  # This method is used to extend the class with building-type-specific
@@ -10393,9 +10393,9 @@ end
10393
10393
  end
10394
10394
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10395
10395
  #ideally we should map the data required to a instance variable.
10396
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10397
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10398
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10396
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10397
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10398
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10399
10399
  self.set_variables()
10400
10400
  end
10401
10401
  # This method is used to extend the class with building-type-specific
@@ -10486,9 +10486,9 @@ end
10486
10486
  end
10487
10487
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10488
10488
  #ideally we should map the data required to a instance variable.
10489
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10490
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10491
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10489
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10490
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10491
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10492
10492
  self.set_variables()
10493
10493
  end
10494
10494
  # This method is used to extend the class with building-type-specific
@@ -10579,9 +10579,9 @@ end
10579
10579
  end
10580
10580
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10581
10581
  #ideally we should map the data required to a instance variable.
10582
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10583
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10584
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10582
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10583
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10584
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10585
10585
  self.set_variables()
10586
10586
  end
10587
10587
  # This method is used to extend the class with building-type-specific
@@ -10672,9 +10672,9 @@ end
10672
10672
  end
10673
10673
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10674
10674
  #ideally we should map the data required to a instance variable.
10675
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10676
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10677
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10675
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10676
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10677
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10678
10678
  self.set_variables()
10679
10679
  end
10680
10680
  # This method is used to extend the class with building-type-specific
@@ -10765,9 +10765,9 @@ end
10765
10765
  end
10766
10766
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10767
10767
  #ideally we should map the data required to a instance variable.
10768
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10769
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10770
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10768
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10769
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10770
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10771
10771
  self.set_variables()
10772
10772
  end
10773
10773
  # This method is used to extend the class with building-type-specific
@@ -10858,9 +10858,9 @@ end
10858
10858
  end
10859
10859
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10860
10860
  #ideally we should map the data required to a instance variable.
10861
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10862
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10863
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10861
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10862
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10863
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10864
10864
  self.set_variables()
10865
10865
  end
10866
10866
  # This method is used to extend the class with building-type-specific
@@ -10951,9 +10951,9 @@ end
10951
10951
  end
10952
10952
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
10953
10953
  #ideally we should map the data required to a instance variable.
10954
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
10955
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
10956
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
10954
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
10955
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
10956
+ @system_to_space_map = load_hvac_map(hvac_map_file)
10957
10957
  self.set_variables()
10958
10958
  end
10959
10959
  # This method is used to extend the class with building-type-specific
@@ -11044,9 +11044,9 @@ end
11044
11044
  end
11045
11045
  @lookup_building_type = self.model_get_lookup_name(@@building_type)
11046
11046
  #ideally we should map the data required to a instance variable.
11047
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11048
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11049
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11047
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11048
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11049
+ @system_to_space_map = load_hvac_map(hvac_map_file)
11050
11050
  self.set_variables()
11051
11051
  end
11052
11052
  # This method is used to extend the class with building-type-specific
@@ -11149,9 +11149,9 @@ end
11149
11149
  end
11150
11150
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11151
11151
  #ideally we should map the data required to a instance variable.
11152
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11153
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11154
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11152
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11153
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11154
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11155
11155
  self.set_variables()
11156
11156
  end
11157
11157
 
@@ -11228,9 +11228,9 @@ end
11228
11228
  end
11229
11229
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11230
11230
  #ideally we should map the data required to a instance variable.
11231
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11232
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11233
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11231
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11232
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11233
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11234
11234
  self.set_variables()
11235
11235
  end
11236
11236
 
@@ -11307,9 +11307,9 @@ end
11307
11307
  end
11308
11308
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11309
11309
  #ideally we should map the data required to a instance variable.
11310
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11311
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11312
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11310
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11311
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11312
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11313
11313
  self.set_variables()
11314
11314
  end
11315
11315
 
@@ -11386,9 +11386,9 @@ end
11386
11386
  end
11387
11387
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11388
11388
  #ideally we should map the data required to a instance variable.
11389
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11390
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11391
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11389
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11390
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11391
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11392
11392
  self.set_variables()
11393
11393
  end
11394
11394
 
@@ -11465,9 +11465,9 @@ end
11465
11465
  end
11466
11466
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11467
11467
  #ideally we should map the data required to a instance variable.
11468
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11469
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11470
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11468
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11469
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11470
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11471
11471
  self.set_variables()
11472
11472
  end
11473
11473
 
@@ -11544,9 +11544,9 @@ end
11544
11544
  end
11545
11545
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11546
11546
  #ideally we should map the data required to a instance variable.
11547
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11548
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11549
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11547
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11548
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11549
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11550
11550
  self.set_variables()
11551
11551
  end
11552
11552
 
@@ -11623,9 +11623,9 @@ end
11623
11623
  end
11624
11624
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11625
11625
  #ideally we should map the data required to a instance variable.
11626
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11627
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11628
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11626
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11627
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11628
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11629
11629
  self.set_variables()
11630
11630
  end
11631
11631
 
@@ -11702,9 +11702,9 @@ end
11702
11702
  end
11703
11703
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11704
11704
  #ideally we should map the data required to a instance variable.
11705
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11706
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11707
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11705
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11706
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11707
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11708
11708
  self.set_variables()
11709
11709
  end
11710
11710
 
@@ -11781,9 +11781,9 @@ end
11781
11781
  end
11782
11782
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11783
11783
  #ideally we should map the data required to a instance variable.
11784
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11785
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11786
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11784
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11785
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11786
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11787
11787
  self.set_variables()
11788
11788
  end
11789
11789
 
@@ -11860,9 +11860,9 @@ end
11860
11860
  end
11861
11861
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11862
11862
  #ideally we should map the data required to a instance variable.
11863
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11864
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11865
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11863
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11864
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11865
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11866
11866
  self.set_variables()
11867
11867
  end
11868
11868
 
@@ -11939,9 +11939,9 @@ end
11939
11939
  end
11940
11940
  @lookup_building_type = self.model_get_lookup_name(@building_type)
11941
11941
  #ideally we should map the data required to a instance variable.
11942
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
11943
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
11944
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
11942
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
11943
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
11944
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
11945
11945
  self.set_variables()
11946
11946
  end
11947
11947
 
@@ -12018,9 +12018,9 @@ end
12018
12018
  end
12019
12019
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12020
12020
  #ideally we should map the data required to a instance variable.
12021
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12022
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12023
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12021
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12022
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12023
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12024
12024
  self.set_variables()
12025
12025
  end
12026
12026
 
@@ -12097,9 +12097,9 @@ end
12097
12097
  end
12098
12098
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12099
12099
  #ideally we should map the data required to a instance variable.
12100
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12101
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12102
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12100
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12101
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12102
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12103
12103
  self.set_variables()
12104
12104
  end
12105
12105
 
@@ -12176,9 +12176,9 @@ end
12176
12176
  end
12177
12177
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12178
12178
  #ideally we should map the data required to a instance variable.
12179
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12180
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12181
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12179
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12180
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12181
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12182
12182
  self.set_variables()
12183
12183
  end
12184
12184
 
@@ -12255,9 +12255,9 @@ end
12255
12255
  end
12256
12256
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12257
12257
  #ideally we should map the data required to a instance variable.
12258
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12259
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12260
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12258
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12259
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12260
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12261
12261
  self.set_variables()
12262
12262
  end
12263
12263
 
@@ -12334,9 +12334,9 @@ end
12334
12334
  end
12335
12335
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12336
12336
  #ideally we should map the data required to a instance variable.
12337
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12338
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12339
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12337
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12338
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12339
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12340
12340
  self.set_variables()
12341
12341
  end
12342
12342
 
@@ -12413,9 +12413,9 @@ end
12413
12413
  end
12414
12414
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12415
12415
  #ideally we should map the data required to a instance variable.
12416
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12417
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12418
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12416
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12417
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12418
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12419
12419
  self.set_variables()
12420
12420
  end
12421
12421
 
@@ -12499,9 +12499,9 @@ end
12499
12499
  end
12500
12500
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12501
12501
  #ideally we should map the data required to a instance variable.
12502
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12503
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12504
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12502
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12503
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12504
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12505
12505
  self.set_variables()
12506
12506
  end
12507
12507
 
@@ -12578,9 +12578,9 @@ end
12578
12578
  end
12579
12579
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12580
12580
  #ideally we should map the data required to a instance variable.
12581
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12582
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12583
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12581
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12582
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12583
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12584
12584
  self.set_variables()
12585
12585
  end
12586
12586
 
@@ -12657,9 +12657,9 @@ end
12657
12657
  end
12658
12658
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12659
12659
  #ideally we should map the data required to a instance variable.
12660
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12661
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12662
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12660
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12661
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12662
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12663
12663
  self.set_variables()
12664
12664
  end
12665
12665
 
@@ -12736,9 +12736,9 @@ end
12736
12736
  end
12737
12737
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12738
12738
  #ideally we should map the data required to a instance variable.
12739
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12740
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12741
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12739
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12740
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12741
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12742
12742
  self.set_variables()
12743
12743
  end
12744
12744
 
@@ -12815,9 +12815,9 @@ end
12815
12815
  end
12816
12816
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12817
12817
  #ideally we should map the data required to a instance variable.
12818
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12819
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12820
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12818
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12819
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12820
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12821
12821
  self.set_variables()
12822
12822
  end
12823
12823
 
@@ -12894,9 +12894,9 @@ end
12894
12894
  end
12895
12895
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12896
12896
  #ideally we should map the data required to a instance variable.
12897
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12898
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12899
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12897
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12898
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12899
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12900
12900
  self.set_variables()
12901
12901
  end
12902
12902
 
@@ -12973,9 +12973,9 @@ end
12973
12973
  end
12974
12974
  @lookup_building_type = self.model_get_lookup_name(@building_type)
12975
12975
  #ideally we should map the data required to a instance variable.
12976
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
12977
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
12978
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
12976
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
12977
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
12978
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
12979
12979
  self.set_variables()
12980
12980
  end
12981
12981
 
@@ -13052,9 +13052,9 @@ end
13052
13052
  end
13053
13053
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13054
13054
  #ideally we should map the data required to a instance variable.
13055
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13056
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13057
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13055
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13056
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13057
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13058
13058
  self.set_variables()
13059
13059
  end
13060
13060
 
@@ -13131,9 +13131,9 @@ end
13131
13131
  end
13132
13132
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13133
13133
  #ideally we should map the data required to a instance variable.
13134
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13135
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13136
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13134
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13135
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13136
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13137
13137
  self.set_variables()
13138
13138
  end
13139
13139
 
@@ -13210,9 +13210,9 @@ end
13210
13210
  end
13211
13211
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13212
13212
  #ideally we should map the data required to a instance variable.
13213
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13214
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13215
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13213
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13214
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13215
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13216
13216
  self.set_variables()
13217
13217
  end
13218
13218
 
@@ -13289,9 +13289,9 @@ end
13289
13289
  end
13290
13290
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13291
13291
  #ideally we should map the data required to a instance variable.
13292
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13293
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13294
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13292
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13293
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13294
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13295
13295
  self.set_variables()
13296
13296
  end
13297
13297
 
@@ -13368,9 +13368,9 @@ end
13368
13368
  end
13369
13369
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13370
13370
  #ideally we should map the data required to a instance variable.
13371
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13372
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13373
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13371
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13372
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13373
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13374
13374
  self.set_variables()
13375
13375
  end
13376
13376
 
@@ -13447,9 +13447,9 @@ end
13447
13447
  end
13448
13448
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13449
13449
  #ideally we should map the data required to a instance variable.
13450
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13451
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13452
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13450
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13451
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13452
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13453
13453
  self.set_variables()
13454
13454
  end
13455
13455
 
@@ -13526,9 +13526,9 @@ end
13526
13526
  end
13527
13527
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13528
13528
  #ideally we should map the data required to a instance variable.
13529
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13530
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13531
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13529
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13530
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13531
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13532
13532
  self.set_variables()
13533
13533
  end
13534
13534
 
@@ -13605,9 +13605,9 @@ end
13605
13605
  end
13606
13606
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13607
13607
  #ideally we should map the data required to a instance variable.
13608
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13609
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13610
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13608
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13609
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13610
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13611
13611
  self.set_variables()
13612
13612
  end
13613
13613
 
@@ -13684,9 +13684,9 @@ end
13684
13684
  end
13685
13685
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13686
13686
  #ideally we should map the data required to a instance variable.
13687
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13688
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13689
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13687
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13688
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13689
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13690
13690
  self.set_variables()
13691
13691
  end
13692
13692
 
@@ -13763,9 +13763,9 @@ end
13763
13763
  end
13764
13764
  @lookup_building_type = self.model_get_lookup_name(@building_type)
13765
13765
  #ideally we should map the data required to a instance variable.
13766
- @geometry_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.osm'
13767
- hvac_map_file = Folders.instance.data_geometry_folder + '/' + self.class.name + '.hvac_map.json'
13768
- @system_to_space_map = JSON.parse(File.read(hvac_map_file))if File.exist?(hvac_map_file)
13766
+ @geometry_file = 'geometry/' + self.class.name + '.osm'
13767
+ hvac_map_file = 'geometry/' + self.class.name + '.hvac_map.json'
13768
+ # @system_to_space_map = load_hvac_map(hvac_map_file) # No HVAC map json files for NECB
13769
13769
  self.set_variables()
13770
13770
  end
13771
13771