2

Error when testing E+ 2.0 FMU

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

AdB's avatar
201
AdB
asked 2021-02-08 09:49:47 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2021-04-06 15:32:09 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2021-02-09 07:15:52 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments