1

Run energyplus without executing ReadVarsESO at the end of simulation (Linux, command line)

Dear All,

I would like to run energyplus with command line arguments producing the standard eplusout.eso (after specifying Output:Variable in the idf file), but I do not want to have ReadVarsESO executed automatically after energyplus completes. (In order to obtain the results file in csv format I will call ReadVarsESO explicitly after energyplus completes).

I am aware of the energyplus option ( -r, --readvars, Run ReadVarsESO after simulation). My understanding is that by default ReadVarsESO is not executed after energyplus completes, but for some reason it does run for my case.

I am running under Linux, and executing energyplus (EnergyPlus, Version 9.0.1-bb7ca4f0da1) from the command line with command line arguments.

Any thoughts on how to force ReadVarsESO not to be executed would be greatly appreciated.

Thank you.

P.S. Not having ReadVarsESO run after energyplus might seem a bit unusual, but it is related to running independent energyplus processes in parallel under linux from command line (as described in a recent post https://unmethours.com/question/38548...).

Julian's avatar
113
Julian
asked 2019-05-03 05:50:34 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2019-05-03 07:39:34 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

From this Running EnergyPlus by Hand documentation for EP v9.0.1, you can type energyplus --help or man energyplus to see details for available CLI arguments.

From this CLI guide on GitHub, it doesn't explicitly say that there is a default setting for the -r or --readvars option.

If those two steps aren't giving enough help, then perhaps there is a " -r " in the file path of the EPW or IDF file you are using, and CLI is interpreting that as triggering the readvars option. Although, if that were the case, then your simulations would likely be failing and not finding the file in question correctly. Just to be safe, try enclosing EPW and IDF file names with "" to avoid that as a possible issue.

A final explanation is that you've found a bug in the Linux version of the CLI. I've done a few runs on my Windows CLI leaving out -r and it doesn't run Readvars, as desired.

Aaron Boranian's avatar
14.1k
Aaron Boranian
answered 2019-05-03 13:11:50 -0500
edit flag offensive 0 remove flag delete link

Comments

Dear Aaron,

Thank you very much for your prompt and detailed reply.

In fact, there was a bug in my script and i had a "=r" option deeper in my script left from its early stages. Your reply helped me find it. Thank you very much. Greatly appreciated.

Kind regards, Julian

Julian's avatar Julian (2019-05-03 18:27:29 -0500) edit
add a comment see more comments