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

5 views (last 30 days)
Rajeev kamal
Rajeev kamal on 22 Jul 2015
Answered: Jiri Dostal on 11 Sep 2020
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?

Community Treasure Hunt

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

Start Hunting!