3

Is there a way to set the unit for energy related output variables as kWh in the csv result file?

The unit for energy related output variables is J by default as shown in the csv result file.

Is there a way to set the unit for these variables as kWh by adding a line of code in the IDF file?

I do understand that the following only change the unit for the HTML summary report, not the csv file:

OutputControl:Table:Style,CommaAndHTML,JtoKWH;
oat's avatar
835
oat
asked 2017-11-03 06:23:11 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-03-14 11:24:44 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

4

If you are using EP-Launch, go to VIEW .. OPTIONS .. MISCELLANEOUS and check "Convert ESO/MTR to IP Units" and that will convert all output variables that have the string "elec" in their name to be output in kWh.

That option calls a program called convertESOMTR.exe which is located in the directory:

\EnergyPlusV8-8-0\PostProcess\convertESOMTRpgm

and uses a file called convert.txt in the same directory which you can open with a text editor to do what ever conversions you want. It is documented in the AuxiliaryPrograms.pdf file and also here.

You could change the convert.txt file to make all J values convert to kWh. To do this move the line:

conv,J,kWh,2.77778E-07,0

to before the line:

conv,J,kBtu,9.4845E-07,0

JasonGlazer's avatar
6.8k
JasonGlazer
answered 2017-11-03 06:56:25 -0500, updated 2017-11-03 07:04:37 -0500
edit flag offensive 0 remove flag delete link

Comments

Hi Jason, Your tip worked,thanks. But I have just cooling energy results in ton-hour and all others in kWh, is it an error? And sometimes I am getting the temperature in F. Is it possible to just change the units of energy in kW and keep all others in SI units,like kg,m,C etc.

Thank you :)

nvm's avatar nvm (2018-07-18 07:50:51 -0500) edit

It is possible that you could delete all the lines in the convert.txt file other than the ones you need and that the other units will flow through without change. That is how I expect it should work. So the entire convert.txt file would just be:

conv,J,kWh,2.77778E-07,0

Please let me know if that works.

JasonGlazer's avatar JasonGlazer (2018-07-19 09:43:53 -0500) edit
add a comment see more comments