Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtain output csv from EnergyPlus #3

Open
davidecoraci opened this issue Jul 19, 2021 · 4 comments
Open

Obtain output csv from EnergyPlus #3

davidecoraci opened this issue Jul 19, 2021 · 4 comments

Comments

@davidecoraci
Copy link

Hello everyone, firstly I wanted to congratulate you on your work as I find it very useful!

I'm writing to you because I would like to get in output from EnergyPlus a detailed csv with the results. I realized that in the idf the following statement has not been inserted for any of the building examples:
"Output:Diagnostics,
DisplayAdvancedReportVariables; "

I tried to manually add this, the problem is that energym goes to consider the fmu that was created for the default idf. I tried to create the fmu therefore, however without any success. I wanted to ask you if you could help me with the creation of the fmu (I get this error
"Problem configuring the Visual Studio tools for command-line use
ERROR from script file {utilManageCompileLink.py}
Failed to create object file for source code file {...\EnergyPlusToFMU\SourceCode\v20\fmu-export-prep\fmu-export-write-model-desc.cpp})
or if you could create it starting from the idf with the possibility to print the output csv directly from energyplus.

Thanks in advance

@pscharnho
Copy link
Collaborator

Hello Davide, after the simulation, when you call the .close() method, there should be a folder (Output_EP_Export_XXX) in the Energym_runs directory, which should be created in your home directory during the first use. In this output folder is a csv with detailed results, is that the one you are looking for? If yes, is it sufficient or were you looking to have it as an output of the simulation model?

@davidecoraci
Copy link
Author

Hello! Thanks for your replay. In the folder (Output_EP_Export_XXX) there are two csv, but they only show the results of the sizing calculations for the plant and for the different thermal zone loads on the typical day considered by energyplus. In order to obtain the results of the simulation in output I have found from the documentation of energyplus that it is necessary to add the command
"Output:Diagnostics,
DisplayAdvancedReportVariables; "

which is not present in the building idf. My need is to get a csv with the outputs that are shown in the idf as "Output:variable", which in this case are not reported.
Thanks for the availability, I'm waiting for feedback.

@pscharnho
Copy link
Collaborator

Ok, that's interesting, which model are you using? I checked and saw the line you are referring to in all but the Seminarcenter and MixedUse idf (e.g. /~https://github.com/bsl546/energym/blob/master/simulation/energyplus/apartments/src/Apartments_heavy_pump.idf#L14618 for the Apartments building). Although it is not present in those two, I still get a csv with detailed outputs after all simulations.

@davidecoraci
Copy link
Author

I was testing first SeminarCenter and then MixedUse, and in both of them this line is not present, so I was not getting a csv with detailed output as usually happens with energyplus. Could I know within these csv's that you get what variables are there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants