2

Edit long output variable names in EnergyPlus

Hello community,

I'm currently working with EnergyPlus, and I am facing an issue with the output variables in the CSV files. I have defined numerous outputs, and during postprocessing using Matlab, I've encountered a problem where some output headers in the CSV file are too long, exceeding the maximum Matlab variable name length. As a result, Matlab truncates the variable names, making it challenging to distinguish between different variables during analysis..

I'm wondering if there is a way to modify the output variable names directly in EnergyPlus to make them more manageable for Matlab postprocessing.

Any insights or suggestions would be greatly appreciated!

Zakaria's avatar
902
Zakaria
asked 2024-01-24 06:19:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

I can imagine two solutions:

1) Read from the SQL, from there, the name of the variables are "decomposed' and you can shorten it.

2) Use Python, i have written a package that reads the SQL and renames common variables, and also Python and Pandas do not have issues with the extension of the names. Take a look at my package, specifically to the function read_sql, https://github.com/AltamarMx/iertools...

altamar's avatar
228
altamar
answered 2024-01-26 09:33:49 -0500, updated 2024-01-26 09:34:15 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments