First time here? Check our help page!
2

Error: ExternalInterface/CalcExternalInterfaceFMUImport: Error when trying to initialize

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.

WannesVDV's avatar
83
WannesVDV
asked 2020-01-28 09:42:33 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-01-28 18:57:21 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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

WannesVDV's avatar
83
WannesVDV
answered 2020-03-08 11:58:38 -0500
edit flag offensive 0 remove flag delete link

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 -0500) edit
add a comment see more comments