Hi everyone! Based on your replies of my past Unmet Hours posting (named "script for multiple simulations" link text) I wrote the following bash script that used to run with no problems on a MAC:
#!/bin/bash
END=100
while (($END >= 10))
do
for i in $(seq 10 1 $END)
do
runenergyplus NYC_East_FL_500_${i}_${END}.idf NYC_${i}_${END}.epw
done
END=$((END-1))
done
However, now that I tried to re-run the script the following problems appear: (a) ./coupling.sh: line 7: runenergyplus: command not found and (b) if I specify the path of runenergyplus (i.e., /Applications/EnergyPlus-8-2-0/runenergyplus), I get the following error: /Applications/EnergyPlus-8-2-0/runenergyplus: line 427: /usr/bin/ExpandObjects: No such file or directory
ln: ./Energy+.idd: File exists /Applications/EnergyPlus-8-2-0/runenergyplus: line 485: /usr/bin/EnergyPlus: No such file or directory
File 'eplusout.end' does not exist. /Applications/EnergyPlus-8-2-0/runenergyplus: line 534: /usr/bin/ReadVarsESO: No such file or directory /Applications/EnergyPlus-8-2-0/runenergyplus: line 535: /usr/bin/ReadVarsESO: No such file or directory
Any tips? FYI: Someone asked a similar question on github as well and there is no answer yet. link text
Thank you in advance!