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

ReadVar option at the end of the simulation #56

Open
xavfa opened this issue Apr 21, 2021 · 1 comment
Open

ReadVar option at the end of the simulation #56

xavfa opened this issue Apr 21, 2021 · 1 comment

Comments

@xavfa
Copy link

xavfa commented Apr 21, 2021

Hi,
The reading option was bothering me as I am reading the .eso files outside the FMI process for aggregation purposes of results afterwards (and when using 30 FMUs and maybe more later, this stage was time consuming for nothing). I figured out it was in the main.c in SourceCode folder and removed the '-r' option between the lines 384 to 418 as it appears 4 times (for the weather file conditions and some other that I don't understood as not speaking C language but my guess would be that the only first could be enough), It worked fine and was wondering how I could give it as an extra option (ReadVar = True\False), it should be in line 339 of makeFMULib.py file (or just before with switching between the two main.c files (with and without '-r') but I guess there should be a smarter way within the main.c and thus in C. But this is out of my skills then...
Do you think there could be a way to introduce it in C ?
Thanks,
Xavier

@xavfa
Copy link
Author

xavfa commented Apr 21, 2021

Sorry for the double post but I have done the same modification in the main.c in order to have the messages from Eplus in a log file instead of having them printed in the active window of the FMI environment. at the end of the same lines than above I've added ">Logs.log" this way all the information given for one building are in the Output_EPExport_IdfName folder.
Again, if this could be dealt inside C using options, it would be great !

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

1 participant