CampusEnergyModeling model gives Java exception error for simulink energyplus model co-simulation

6 次查看(过去 30 天)
I am trying a demo put together by NREL for energy modeling for buildings with matlab simulink and getting this error
Error evaluating registered method 'InitializeConditions' of MATLAB S-Function 'mlep_sfun' in 'campus_with_central_plant/Office Building 1'. The following is the MATLAB call stack (file names and line numbers) that produced this error:
['C:\CampusEnergyModeling\MLEP\mlepProcess.m'] [112]
['C:\CampusEnergyModeling\Library\simulink\sfun\mlep_sfun.m'] [290]
Java exception occurred:
java.net.SocketTimeoutException: Accept timed out
at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
Can some one help what could be wrong. Is this JAVA issue? how can I fix this?

回答(1 个)

Jiri Dostal
Jiri Dostal 2020-9-11
Try the EnergyPlus Co-simulation Toolbox. It is a successor of the code you are using.
Jiri

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by