Dear EnergyPlus and FMU experts,
I ran into an error related to EPMacro when running the EnergyPlus FMU in Windows 10 generated from EnergyPlusToFMU_v_3.1.0. The EnergyPlus version is 9.3.0.
(base) G:\SensorImpactFramework\EnergyPlusFMU\Output_EPExport_Model>energyplus -w runweafile.epw -p ASHRAE901_OfficeMedium_STD2016_NewYorkOccCou_HVAC_9_3_Bias_EMS_FMUVariable -s C -x -m -r ASHRAE901_OfficeMedium_STD2016_NewYorkOccCou_HVAC_9_3_Bias_EMS_FMUVariable.idf
Running EPMacro...
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
EPMacro.exe 004138FB _EPMACRO_ip_KRDRD 1084 epmacroxx.f90
EPMacro.exe 004144C2 _EPMACRO_ip_GETCS 709 epmacroxx.f90
EPMacro.exe 00401425 _MAIN__ 344 epmacroxx.f90
EPMacro.exe 00478133 Unknown Unknown Unknown
EPMacro.exe 00462403 Unknown Unknown Unknown
KERNEL32.DLL 7709FA29 Unknown Unknown Unknown
ntdll.dll 77347A7E Unknown Unknown Unknown
ntdll.dll 77347A4E Unknown Unknown Unknown
The input from the external interface will be used in the EnergyPlus EMS subroutines to calculate the setpoint schedule. I tried to use
- ExternalInterface:FunctionalMockupUnitExport:To:Variable
- ExternalInterface:FunctionalMockupUnitExport:To:Schedule
but both FMU ran into the same issue. The simulation could be finished but the simulation results were totally different from the regular simulation. In addition, the eso file does not exist in the output file folder.
The idf, fmu, python test script, results and log files for the test is located at:
Any comments or help are greatly appreciated.
Thanks!