Skip to content

Commit 9ca091b

Browse files
committed
[TEST] Empty default systems
1 parent b0eaf8c commit 9ca091b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/buildingsync/model_articulation/facility.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def read_and_create_initial_systems
220220
def init_hvac_systems(hvac_system_xmls)
221221
# if theres no hvac_system_xmls, use a default
222222
if hvac_system_xmls.nil? || !hvac_system_xmls.has_elements?
223-
hvac_xml = @g.add_hvac_system_to_facility(@base_xml)
224-
@hvac_systems = [ HVACSystem.new(hvac_xml, @ns)]
223+
# hvac_xml = @g.add_hvac_system_to_facility(@base_xml)
224+
@hvac_systems = []
225225

226226
# else, use the hvac_system_xmls
227227
else
@@ -235,8 +235,8 @@ def init_hvac_systems(hvac_system_xmls)
235235
def init_lighting_systems(lighting_system_xmls)
236236
# if theres no lighting_system_xmls, use a default
237237
if lighting_system_xmls.nil? || !lighting_system_xmls.has_elements?
238-
lighting_xml = @g.add_lighting_system_to_facility(@base_xml)
239-
@lighting_systems = [LightingSystemType.new(lighting_xml, @ns)]
238+
# lighting_xml = @g.add_lighting_system_to_facility(@base_xml)
239+
@lighting_systems = []
240240

241241
# else, use the lighting_system_xmls
242242
else
@@ -250,8 +250,8 @@ def init_lighting_systems(lighting_system_xmls)
250250
def init_load_systems(loads_system_xmls)
251251
# if theres no loads_system_xmls, use a default
252252
if loads_system_xmls.nil? || !loads_system_xmls.has_elements?
253-
loads_system_xml = @g.add_plug_load_to_facility(@base_xml)
254-
@load_systems = [BuildingSync::LoadsSystem.new(loads_system_xml, @ns)]
253+
# loads_system_xml = @g.add_plug_load_to_facility(@base_xml)
254+
@load_systems = []
255255

256256
# else, use the lighting_system_xmls
257257
else

0 commit comments

Comments
 (0)