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

Error when testing E+ 2.0 FMU

asked 2021-02-08 09:49:47 -0500

AdB's avatar

updated 2021-04-06 15:32:09 -0500

Hi, We are currently testing FMU integration in several environments (dymola, daccosim and fmpy).
FMU 2.0 don't run on daccosim and fmpy while it don't reach error on dymola. So we check the fmu with the tool FMUChecker which report the following error : "The StopTimeDefined parameter is set to 0. This is not valid. EnergyPlus FMU requires a stop time and will use the stop time 0.000000 which is provided" We generate the same energyplus model using FMU 1.0 standard and successfully check it with FMUChecker

So it seem that Energyplus translation on FMU 2.0 don't exactly respect the FMI standard

Do you have already experienced this error ?

M&A

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-02-09 07:15:52 -0500

EnergyPlusToFMU requires the simulation stop time to be set when invoking the fmi2SetupExperiment() primitive.

However, the FMUChecker seems to not propagate the parameter stop time to FMUs 2.0 for co-simulation correctly.

This causes EnergyPlusFMU to not run correctly. It will be good to check the FMPy and DACCOSIM code to see whether they are not doing the same thing.

I have just reported the potential issue with a proposed fix here

https://github.com/modelica-tools/FMU...

edit flag offensive delete link more

Your Answer

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

Add Answer

Careers

Question Tools

Stats

Asked: 2021-02-08 09:49:47 -0500

Seen: 136 times

Last updated: Feb 09 '21