Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

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

asked 2017-11-03 06:23:11 -0500

oat's avatar

updated 2020-03-14 11:24:44 -0500

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:

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-03 06:56:25 -0500

updated 2017-11-03 07:04:37 -0500

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:


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:


to before the line:


edit flag offensive delete link more


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:


Please let me know if that works.

JasonGlazer's avatar JasonGlazer  ( 2018-07-19 09:43:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops


Question Tools


Asked: 2017-11-03 06:23:11 -0500

Seen: 1,087 times

Last updated: Nov 03 '17