I would appreciate it if you could help me with the above issue. The main problem I have to solve is how to call E to run for 1000 different .idfs with the same weather file and store the corresponding 1000 output files.

asked 2022-09-26 08:01:24 -0500

updated 2022-09-26 09:31:31 -0500

I would appreciate it if you could help me with the above issue. The main problem I have to solve is how to call E to run for 1000 different .idfs with the same weather file and store the corresponding 1000 output files.

edit retag flag offensive close merge delete

Comments

e.g. a very basic solution:

  • copy all 1000x (uniquely named) IDFs in 1x folder
  • use preferred scripting language (e.g. Ruby, Python)
  • glob all 1000x IDFs in an Array
  • loop through Array, with each item replacing "in.idf" below (E+ CLI call):

    energyplus -w weather.epw osms/in.idf

That can take up A LOT of storage depending on output variables/frequencies. Consider (i) extracting required post-simulation results, then (ii) deleting IDF files (at each iteration).

Denis Bourgeois's avatar Denis Bourgeois  ( 2022-09-26 10:15:15 -0500 )edit