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 4 years ago

AdB's avatar

updated 4 years ago

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

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...

Preview: (hide)
link

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

Stats

Asked: 4 years ago

Seen: 185 times

Last updated: Feb 09 '21