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

2 views (last 30 days)
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?

Answers (1)

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

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!