Hello @MingboPeng,
I am trying to connect a bunch of VRF condensing units to a cooling tower and heat exchangers water loop. Is this possible with Ironbug?. I generated an openstudio file with just the doas cooling coils connecting to the water loop and then I tried to follow what @chris suggested here vrf water using the Openstudio measure, but it fails when trying to run with the following error:
[15:37:23.347623 ERROR] invalid null reference Expected argument 2 of type std::string const &, but got NilClass nil
in SWIG method ‘setString’
C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:66:in setString' C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:66:in
block in run’
C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:65:in each' C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:65:in
run’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:504:in apply_measure' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:in
block in apply_measures’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in each_index' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in
apply_measures’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_ep_measures.rb:57:in perform' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in
step’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:in run' :/openstudio_cli.rb:975:in
execute’
:/openstudio_cli.rb:763:in execute' :/openstudio_cli.rb:1746:in
’
eval:116:in eval' eval:116:in
require_embedded_absolute’
eval:101:in block in require' eval:95:in
each’
eval:95:in require' eval:3:in
’
[15:37:23.349623 ERROR] :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb failed with message Runner error :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb failed with invalid null reference Expected argument 2 of type std::string const &, but got NilClass nil
in SWIG method ‘setString’, C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:66:in setString' C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:66:in
block in run’
C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:65:in each' C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:65:in
run’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:504:in apply_measure' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:in
block in apply_measures’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in each_index' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in
apply_measures’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_ep_measures.rb:57:in perform' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in
step’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:in run' :/openstudio_cli.rb:975:in
execute’
:/openstudio_cli.rb:763:in execute' :/openstudio_cli.rb:1746:in
’
eval:116:in eval' eval:116:in
require_embedded_absolute’
eval:101:in block in require' eval:95:in
each’
eval:95:in require' eval:3:in
’ in :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:530:in rescue in apply_measure' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:490:in
apply_measure’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:in block in apply_measures' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in
each_index’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in apply_measures' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_ep_measures.rb:57:in
perform’
:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in step' :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:in
run’
:/openstudio_cli.rb:975:in execute' :/openstudio_cli.rb:763:in
execute’
:/openstudio_cli.rb:1746:in <main>' eval:116:in
eval’
eval:116:in require_embedded_absolute' eval:101:in
block in require’
eval:95:in each' eval:95:in
require’
eval:3:in <main>' [15:37:23.350623 ERROR] Found error in state 'ep_measures' with message [":/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb failed with message Runner error :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb failed with invalid null reference Expected argument 2 of type std::string const &, but got NilClass nil\n\tin SWIG method 'setString', C:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:66:in
setString’\nC:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:66:in block in run'\nC:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:65:in
each’\nC:/Users/Earlkase/AppData/Local/Temp/OpenStudioApp.Ew6180/resources/measures/Connect_VRFs_to_Ground_Loop/measure.rb:65:in run'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:504:in
apply_measure’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:in block in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in
each_index’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_ep_measures.rb:57:in
perform’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in step'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:in
run’\n:/openstudio_cli.rb:975:in execute'\n:/openstudio_cli.rb:763:in
execute’\n:/openstudio_cli.rb:1746:in <main>'\neval:116:in
eval’\neval:116:in require_embedded_absolute'\neval:101:in
block in require’\neval:95:in each'\neval:95:in
require’\neval:3:in <main>' in :/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:530:in
rescue in apply_measure’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:490:in apply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:in
block in apply_measures’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in each_index'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in
apply_measures’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_ep_measures.rb:57:in perform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in
step’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:in run'\n:/openstudio_cli.rb:975:in
execute’\n:/openstudio_cli.rb:763:in execute'\n:/openstudio_cli.rb:1746:in
‘\neval:116:in eval'\neval:116:in
require_embedded_absolute’\neval:101:in block in require'\neval:95:in
each’\neval:95:in require'\neval:3:in
‘::/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:639:in rescue in apply_measure'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:645:in
apply_measure’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:109:in block in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in
each_index’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/util/measure.rb:67:in apply_measures'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/jobs/run_ep_measures.rb:57:in
perform’\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:285:in step'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.4/lib/openstudio/workflow/run.rb:232:in
run’\n:/openstudio_cli.rb:975:in execute'\n:/openstudio_cli.rb:763:in
execute’\n:/openstudio_cli.rb:1746:in <main>'\neval:116:in
eval’\neval:116:in require_embedded_absolute'\neval:101:in
block in require’\neval:95:in each'\neval:95:in
require’\neval:3:in `’"]}
I would deeply apreciate your help.
Thank you in advance
Arturo