[FMPy, EnergyPlus] Exception: Failed to instantiate model

asked 2024-04-03 04:41:10 -0500

Burns's avatar

updated 2024-05-16 10:40:56 -0500

Hii there!

Does anyone maybe knows and can please tell me how and where to fix this error "Exception: Failed to instantiate model" and [ERROR] fmi2Instantiate: Failed to parse the model description, which occurs in the FMPy generated notebook, when running:

The FMU is not valid. Problems:
ModelStructure/InitialUnknowns does not contain the expected set of variables. Expected {TMeanAir} but was {}.

How do I get the variables in the ModelStructure in the ModelDescribtion.xml?

Thx in advance and looking forward!

nice greets burns

edit retag flag offensive close merge delete

Comments

Could you share any *.err, *.log files, from the FMU run? Also, have you considered using another master algorithm (e.g. PyFMI) just to see if you can reproduce the problem?

Thierry Nouidui's avatar Thierry Nouidui  ( 2024-04-18 06:50:54 -0500 )edit

I added the error log in the orignial post now. Haven't tried it with PyFMI with this specific version, but maybe going to if nothing else solves the errors.

Burns's avatar Burns  ( 2024-05-15 06:17:38 -0500 )edit