CampusEnergyModeling model gives Java exception error for simulink energyplus model co-simulation
    6 views (last 30 days)
  
       Show older comments
    
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?
2 Comments
  Yize Chen
 on 3 Dec 2016
				Hi, have you solved this problem? I am also facing this problem and could not solve that. Thanks!
Answers (1)
  Jiri Dostal
      
 on 11 Sep 2020
        Try the EnergyPlus Co-simulation Toolbox. It is a successor of the code you are using. 
Jiri
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


