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

Error: ExternalInterface/CalcExternalInterfaceFMUImport: Error when trying to initialize

asked 2020-01-28 09:42:33 -0600

WannesVDV's avatar

updated 2020-01-28 18:57:21 -0600

Hi, i'm having trouble with coupling Contam to EnergyPlus. I've been using the step by step guideline in the Contam user guide by NIST. I've created the ContamFMU files, a IDF file from the Contam3Dexport tool and Contam resart file. When i try to run a EnergyPlus simulation with the IDF file from Contam i get this error:

* Severe * ExternalInterface/CalcExternalInterfaceFMUImport: Error when trying to initialize
* ~~~ * instance "ContamFMU" of FMU "ContamFMU.fmu"
* ~~~ * Error Code = "3"
* Fatal * ExternalInterface/StopExternalInterfaceIfError: Error in ExternalInterface: Check EnergyPlus *.err file.

Has anyone had this problem once before? How can i fix this error? I'm currently using EnergyPlus 9.1.0 and Contam 3.2, I've also used Openstudio to edit the geometrie from the Contam IDF file.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-03-08 11:58:38 -0600

WannesVDV's avatar

The user guide says that you have to decompress the FMU file. This is not necessary. Without decompression the co-simulation works fine

edit flag offensive delete link more

Comments

1

The CONTAM documentation states that the FMU must be located along side the IDF and that the FMU will be unpacked during the simulation (this will be done by the FMI master algorithm of EnergyPlus, as per the EnergyPlus and FMI for Co-simulation documentation), and that it is only necessary to extract/repackage files from/to the fmu if you need to modify them, e.g., to modify run control parameters of the PRJ file.

Stuart Dols's avatar Stuart Dols  ( 2020-03-09 11:25:00 -0600 )edit

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

3 followers

Stats

Asked: 2020-01-28 09:42:33 -0600

Seen: 303 times

Last updated: Mar 08 '20