First time here? Check out the Help page!

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

Energyplus example error

asked 8 years ago

ZZZHEIHEI's avatar

updated 7 years ago

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

Preview: (hide)

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  ( 8 years ago )

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  ( 7 years ago )

2 Answers

Sort by » oldest newest most voted
1

answered 7 years ago

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.

Preview: (hide)
link

Comments

The timestep in all the simulations need to match.

JustinShultz's avatar JustinShultz  ( 7 years ago )
1

answered 8 years ago

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.

Preview: (hide)
link

Comments

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

ZZZHEIHEI's avatar ZZZHEIHEI  ( 8 years ago )

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 8 years ago

Seen: 1,056 times

Last updated: Mar 28 '18