Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Energyplus example error

asked 2016-07-19 19:51:36 -0500

ZZZHEIHEI's avatar

updated 2018-03-28 09:23:02 -0500

I'm learning E+ and bcvtb (mle+) and when I run the example it has an error:

** Severe  ** ExternalInterface: Socket communication received error value " 1" at time = 0.10 hours.
**   ~~~   ** ExternalInterface: Flag from server " 1".
**  Fatal  ** Error in ExternalInterface: Check EnergyPlus *.err file.

while in Matlab it shows:

Reference to non-existent field 'Shade_Status_Off'.

Error in control_file_blind_angle (line 36)
        ShadeStatus = userdata.Shade_Status_Off;

Error in mlepRunTemplateSysID (line 157)
        [inputStruct,] = feval(, cmd, mlepOut, mlepIn, time(1:kStep), kStep,; NEED TO CHANGE,eplusOutPrev, eplusInPrev, time
Error in mlepSimulateFunction>runSimulation (line 43)
[data.time data.input data.output mlep] = mlepRunTemplateSysID(mlep);

Error in mlepSimulateFunction (line 10)
    [mlep] = runSimulation(mlep);

Error while evaluating uicontrol Callback

I use the newest E+ version, also tried the previous v.8.00 version, which had the same problem.

I found an answer in previous question which gave a link but can not use now:

I don't know how to fix it, and why the field 'Shade_Status_Off' does not exist? it is in the userData.mat

edit retag flag offensive close merge delete


And the processing window shows: Starting Simulation at 06/19 for Chicago Ohare Intl Ap IL USA TMY3 WMO#=725300 ExternalInterface starts first data exchange. Error: No digits were found in getIntCheckError. Further characters after number: Sending EXIT_FAILURE = : 1 Error: Unspecified error when reading from socket. **FATAL:Error in ExternalInterface: Check EnergyPlus *.err file. EnergyPlus Run Time=00hr 00min 3.27sec ReadVarsESO program starting

Does it means the problem is from the mle+?

ZZZHEIHEI's avatar ZZZHEIHEI  ( 2016-07-20 12:05:37 -0500 )edit

Hello, have you solved the problem? I met the same situation in learning mle+, and cannot find any solutions on the web... Could you help me out?

zax1111's avatar zax1111  ( 2018-03-30 23:11:35 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-03-28 07:54:55 -0500

I've solved "Socket communication received error value " 1" " problem by playing with Timestep in .idf file. I decreased it from 60 to 4 per hour.

edit flag offensive delete link more


The timestep in all the simulations need to match.

JustinShultz's avatar JustinShultz  ( 2018-04-03 17:08:14 -0500 )edit

answered 2016-07-20 11:39:27 -0500

I don't have much experience with BCVTB but I've used EnergyPlus co-simulation a bit. I have had trouble getting co-simulations to work properly unless I try a 32 bit version of EnergyPlus. Download and link the model to your 32 bit installation of EnergyPlus. Let me know if that helps.

edit flag offensive delete link more


Thanks for answering me! And I tried the 32 version, but comes out the same error..

ZZZHEIHEI's avatar ZZZHEIHEI  ( 2016-07-20 12:04:40 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops


Question Tools

1 follower


Asked: 2016-07-19 19:51:36 -0500

Seen: 944 times

Last updated: Mar 28 '18