bcvtb example file error "Connection reset" (ePlus81Simulink-simple)

asked 2019-11-26 23:48:29 -0500

sinocap gravatar image

Hi everyone.

To work with simulink(Matlab) and Energy plus by using bcvtb, i ran the example file "ePlus81Simulink-simple" in example file of bcvtb.

However, simulink stopped with error "Connection reset". No changes were made to the sample file. How can i fix this error? thank you in advance.

System and program version are as follows:

OS: Window 10 64bit/Matlab ver: 2019b/Energy Plus ver: 8.1/bcvtb ver: v 1.6.0

Detailed error massage is as follows:

ptolemy.kernel.util.IllegalActionException: IOException while reading from server. in .system.Simulink Because: Connection reset

edit retag flag offensive close merge delete


Hi sinocap, I am having a similar issue. Did you get this working?

Divya gravatar imageDivya ( 2020-05-02 11:49:08 -0500 )edit

Did you adjust the BCVTB so it can use EnergyPlus version 8.1 by changing the systemVariables-windows.properties file which is located in its bin folder?

Thierry Nouidui gravatar imageThierry Nouidui ( 2020-05-02 12:23:16 -0500 )edit

Yes sir, I am using EnergyPlus version 9.3. I updated the systemVariables-windows.propopertis file. I am using the "ePlus85Simulink-simple" example and updated the idf file from version 8.5 to 9.3. The EnergyPlus simulator is working but the error is due to simulink model. I get the following message

Divya gravatar imageDivya ( 2020-05-02 12:32:16 -0500 )edit

The model 'BCVTB' was saved in a previous release. The Simulation range checking setting for Stateflow and MATLAB Function blocks is now set to 'none'. To change Simulation range checking diagnostic, set Simulation range checking. For more information, see documentation.

Divya gravatar imageDivya ( 2020-05-02 12:44:29 -0500 )edit

Hi Divya, I did what you said by changing : Configuration paramter -> Data validity -> SImulation range -> none. But I stil unable to run it, the error is the same. Any suggestion ?

adisap gravatar imageadisap ( 2020-05-18 05:30:52 -0500 )edit