You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
args['swh_src']='NaturalGas'# If building has gas service, probably uses natural gas for SWH
elsifargs['htg_src'] == 'Electricity'
args['swh_src'] == 'Electricity'# If building is doing space heating with electricity, probably used for SWH
elsifargs['htg_src'] == 'DistrictAmbient'
args['swh_src'] == 'HeatPump'# If building has district ambient loop, it is fancy and probably uses HPs for SWH
else
args['swh_src']=nil# Use inferences built into OpenStudio Standards for each building and space type
end
end
Equality operator == used instead of assignment =:
Line 2963 should be args['swh_src'] = 'Electricity' # If building is doing space heating with electricity, probably used for SWH
Line 2965 should be args['swh_src'] = 'HeatPump' # If building has district ambient loop, it is fancy and probably uses HPs for SWH
The text was updated successfully, but these errors were encountered:
openstudio-extension-gem/lib/openstudio/extension/core/os_lib_model_generation.rb
Lines 2958 to 2969 in cd4d9f1
Equality operator
==
used instead of assignment=
:Line 2963 should be
args['swh_src'] = 'Electricity' # If building is doing space heating with electricity, probably used for SWH
Line 2965 should be
args['swh_src'] = 'HeatPump' # If building has district ambient loop, it is fancy and probably uses HPs for SWH
The text was updated successfully, but these errors were encountered: