First time here? Check our help page!
3

Eppy doesn't produce Output Variables

I'm running a script for a large number of runs and want to pull out some hourly outputs. I've defined the Output:Variable's that I want, but when I'm running the simulations through eppy, I don't get the output CSV that I would if I were running it through EP-Launch. I thought setting readvars=True as an argument to the run function would do the trick, but alas, no such luck.

Is there any way to process the output variables to CSV via eppy?

Using: python 3.6, eppy 0.5.46, and E+ v 8.5

Thanks! Eric

eloneill's avatar
275
eloneill
asked 2018-04-17 10:37:13 -0500, updated 2018-04-17 10:39:26 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I have same problem. I was wondering is it any way to get some output as return of the IDF.run() than reading the text files?

Thanks, Afshin

afshin67's avatar afshin67 (2018-04-18 18:36:14 -0500) edit

there are two parts to your question:

  • Why is eppy not producing the CSV files
  • Can I process the CSV files using eppy

Can you open an issue (preferably two separate issues) on https://github.com/santoshphilip/eppy...

santoshphilip's avatar santoshphilip (2018-04-19 18:49:25 -0500) edit

Thanks Santosh. I actually plan to process the CSV files with Pandas, so I think my only issue is eppy is not producing CSV files.

I opened an issue here.

Thank you for all your work on eppy! It works really nicely.

eloneill's avatar eloneill (2018-04-20 09:29:31 -0500) edit
add a comment see more comments

1 Answer

6

As you correctly stated, if you are using eppy to generate the csv files you have to do.

idf.run(readvars=True)

Unfortunately idf.run(readvars=True) fails on some of the earlier versions of Energyplus. Test have shown that it will work on EnergyPlus-8-9-0

Briefly:

  • to generate the csv files Energyplus has to run ReadVarsESO after the simulations are complete.
  • older versions of EnergyPlus have the ReadVarsESO located in an unexpected place.
  • So it cannot run ReadVarsESO and will not generate the csv files
  • ReadVarsESO is located in the right place in EnergyPlus-8-9-0 and the csv files will be generated here.
  • Many of the earlier versions of Energyplus will also run ReadVarsESO successfully and will generate the csv files. But this varies on different platforms. If you are able to test and give me a list, I'll add it to the eppy documentation.
santoshphilip's avatar
961
santoshphilip
answered 2018-04-23 10:30:24 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments