2

Energyplus example error

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, mlep.data.userdata] = feval(mlep.data.funcHandle, cmd, mlepOut, mlepIn, time(1:kStep), kStep,
        mlep.data.userdata); %.data.userdata 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: https://corbu.lbl.gov/svn/fmu/EnergyP...

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

ZZZHEIHEI's avatar
21
ZZZHEIHEI
asked 2016-07-19 19:51:36 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2018-03-28 09:23:02 -0500
edit flag offensive 0 remove flag close merge delete

Comments

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
add a comment see more comments

2 Answers

1

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.

Sultan Yerumbayev's avatar
93
Sultan Yerumbayev
answered 2018-03-28 07:54:55 -0500
edit flag offensive 0 remove flag delete link

Comments

The timestep in all the simulations need to match.

JustinShultz's avatar JustinShultz (2018-04-03 17:08:14 -0500) edit
add a comment see more comments
1

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.

JustinShultz's avatar
1.3k
JustinShultz
answered 2016-07-20 11:39:27 -0500
edit flag offensive 0 remove flag delete link

Comments

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
add a comment see more comments