I made a preliminary run using OpenStudio V 0.9 DaylightSim.rb in Window 7.
The #{outPath} in DaylightSim.rb uses forward slash which is OK for
most commands, but I find the following code shows incorrect syntax
because of using forward slash in outPath and "type" (i.e.,
catCommand) command..
Another question about the DaylightSim.rb. In Window 7, view matrix for
the three phase method is not generated using "--dc --z", and I add the
following code in line #590 for generating the view matrix.
#add following code in line #590:
exec_statement("type #{outPath}\\numeric\\#{space_name}.map | rcontrib
#{rtrace_args} -f klems_int.cal -bn Nkbins -I+ -fa -o
#{outPath}\\output\\dc\\#{space_name}\\maps\\%s_#{space_name}.vmx
#{binPairs} #{outPath}\\octrees\\model_dc.oct")
The #{outPath} in DaylightSim.rb uses forward slash which is OK for
most commands, but I find the following code shows incorrect syntax
because of using forward slash in outPath and "type" (i.e.,
catCommand) command..
I made a preliminary run using OpenStudio V 0.9 DaylightSim.rb in Window 7.
The #{outPath} in DaylightSim.rb uses forward slash which is OK for
most commands, but I find the following code shows incorrect syntax
because of using forward slash in outPath and "type" (i.e.,
catCommand) command..
Another question about the DaylightSim.rb. In Window 7, view matrix for
the three phase method is not generated using "--dc --z", and I add the
following code in line #590 for generating the view matrix.
#add following code in line #590:
exec_statement("type #{outPath}\\numeric\\#{space_name}.map | rcontrib
#{rtrace_args} -f klems_int.cal -bn Nkbins -I+ -fa -o
#{outPath}\\output\\dc\\#{space_name}\\maps\\%s_#{space_name}.vmx
#{binPairs} #{outPath}\\octrees\\model_dc.oct")
Thanks for reposting this to the dedicated OpenStudio-Radiance list. Yep, looks like you found a couple more path/character issues with the three-phase pat of the DaylightSim.rb script. We'll get a cross-platform solution in there for the next iteration release. Thanks for finding these and reporting them!
- Rob
Rob Guglielmetti
National Renewable Energy Laboratory (NREL)
Commercial Buildings Research Group
15013 Denver West Parkway MS:RSF202
Golden, CO 80401
303.275.4319 robert.guglielmetti@nrel.gov
I made a preliminary run using OpenStudio V 0.9 DaylightSim.rb in Window 7.
The #{outPath} in DaylightSim.rb uses forward slash which is OK for
most commands, but I find the following code shows incorrect syntax
because of using forward slash in outPath and "type" (i.e.,
catCommand) command..
Another question about the DaylightSim.rb. In Window 7, view matrix for the three phase method is not generated using "--dc --z", and I add the following code in line #590 for generating the view matrix.
#add following code in line #590:
exec_statement("type #{outPath}\\numeric\\#{space_name}.map | rcontrib #{rtrace_args} -f klems_int.cal -bn Nkbins -I+ -fa -o #{outPath}\\output\\dc\\#{space_name}\\maps\\%s_#{space_name}.vmx #{binPairs} #{outPath}\\octrees\\model_dc.oct")