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

Energyplus example error

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

ZZZHEIHEI gravatar image

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

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

edit retag flag offensive 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 gravatar imageZZZHEIHEI ( 2016-07-20 12:05:37 -0600 )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 gravatar imagezax1111 ( 2018-03-30 23:11:35 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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

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

Comments

The timestep in all the simulations need to match.

JustinShultz gravatar imageJustinShultz ( 2018-04-03 17:08:14 -0600 )edit
1

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

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

Comments

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

ZZZHEIHEI gravatar imageZZZHEIHEI ( 2016-07-20 12:04:40 -0600 )edit

Your Answer

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

Add Answer

 

Question Tools

1 follower

Stats

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

Seen: 291 times

Last updated: Mar 28