Hello,
Based on the following two discussions, I am now of the understanding that replacing rmtxop with combination(s) of rcollate & rcalc can help speedup simulation runtime, while also reducing the memory requirements:
I am running radiance 5.4a on WSL, and trying to test a workflow using Sarith’s 5 phase tutorial.
Based on my understanding of the the discussions above, I replaced:
dctimestep matrices/vmtx/v.mtx matrices/tmtx/blinds.xml matrices/dmtx/daylight.dmx skyVectors/NYC.smx | rmtxop -fa -t -c 47.4 119.9 11.6 - > results/5ph/3ph/3phAnnual.ill
with:
dctimestep -od matrices/vmtx/v.mtx matrices/tmtx/blinds.xml matrices/dmtx/daylight.dmx skyVectors/NYC.smx > matrices/temp3P.mtx
rcollate -fd3 -t -ho matrices/temp3P.mtx | rcalc -id3 -od -e '$1=47.4*$1 + 119.9*$2 + 11.6*$3' | rcollate -hi -fd -or 40 -oc 100 > results/5ph/3ph/3phAnnual.txt
this seems to be working as expected (also switching from ASCII in original command to “Double” in the new one really keeps the file size in check).
However, I am struggling to replace the final step of combining all the matrices properly.
Original:
rmtxop results/5ph/3ph/3phAnnual.ill + -s -1 results/5ph/3phdir/3phAnnualDir.ill + results/5ph/cds/annualRSun.ill > results/5ph/5Phannual.ill
My current (failed) implementation of this step to replace rmtxop, inspired by Andy’s original 5-phase tutorial:
rlam -id results/5ph/3ph/3phAnnual.txt results/5ph/3phdir/3phAnnualDir.txt results/5ph/cds/annualRSun.txt | getinfo - | rcalc -id3 -e '$1=($1-$2)+$3' | rcollate -hi -fa -t -or 40 -oc 100 > results/5ph/5Phannual.ill
Something seems messed up with this step however, as the generated .ill does looks absolutely wrong, even containing some negative values!
I would be really grateful if someone could guide me with the proper setup for the last step. I also ask myself - is this even beneficial - or should I just keep things simple by continuing to use rmtxop for this final step ?
Many thanks!
Hamza