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

조회 수: 2 (최근 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

카테고리

Help CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by