Hi, i am trying to incorporate E+ together with simulink to create a PID controller to achieve the setpoint temperature in a room by controlling the water flow rate. Firstly i made my model in E+ and run it and it was fine. Following that, i inserted the externalinterface parameters: Externalinterface: PtolemyServer Externalinterface - schedule: TsetCoo; Any number; 22;
When i run it in BCVTB, i have the following simulation log:
==== RunEPlus.bat (Run EnergyPlus) FYPHopefullyitwillwork3.1 SGP_Singapore.486980_IWECEPW ===== Start =====
1 file(s) copied.
The system cannot find the file specified.
1 file(s) copied.
ExpandObjects Started.
No expanded file generated.
ExpandObjects Finished. Time: 0.062
1 file(s) copied.
1 file(s) copied.
Running C:\EnergyPlusV9-2-0\EnergyPlus.exe
Input File : FYPHopefullyitwillwork3.1.idf
Output Files: Output\
IDD file : C:\EnergyPlusV9-2-0\Energy+.idd
Weather File: C:\EnergyPlusV9-2-0\WeatherData\SGP_Singapore.486980_IWECEPW.epw
Begin EnergyPlus processing . . .
EnergyPlus Starting
EnergyPlus, Version 9.2.0-921312fa1d, YMD=2020.04.15 14:04
Initializing Response Factors
Calculating CTFs for "DOOR 1", Construction # 1
Calculating CTFs for "INTERIOR CEILING 1", Construction # 2
Initializing Window Optical Properties
Initializing Solar Calculations
Allocate Solar Module Arrays
Initializing Zone and Enclosure Report Variables
Initializing Surface (Shading) Report Variables
Computing Interior Solar Absorption Factors
Determining Shadowing Combinations
Computing Window Shade Absorption Factors
Proceeding with Initializing Solar Calculations
Initializing Surfaces
Initializing Outdoor environment for Surfaces
Setting up Surface Reporting Variables
Initializing Temperature and Flux Histories
Initializing Window Shading
Computing Interior Absorption Factors
Computing Interior Diffuse Solar Absorption Factors
Computing Interior Diffuse Solar Exchange through Interzone Windows
Initializing Solar Heat Gains
Initializing Internal Heat Gains
Initializing Interior Solar Distribution
Initializing Interior Convection Coefficients
Gathering Information for Predefined Reporting
Completed Initializing Surface Heat Balance
Calculate Outside Surface Heat Balance
Calculate Inside Surface Heat Balance
Calculate Air Heat Balance
Initializing HVAC
Warming up
Warming up
Warming up
Warming up
Warming up
Warming up
Performing Zone Sizing Simulation
...for Sizing Period: #1 SINGAPORE ANN CLG .4% CONDNS DB=>MWB
Warming up
Warming up
Warming up
Warming up
Warming up
Warming up
Performing Zone Sizing Simulation
...for Sizing Period: #2 SINGAPORE ANN CLG .4% CONDNS DP=>MDB
Warming up
Warming up
Warming up
Warming up
Warming up
Warming up
Performing Zone Sizing Simulation
...for Sizing Period: #3 SINGAPORE ANN CLG .4% CONDNS ENTH=>MDB
Warming up
Warming up
Warming up
Warming up
Warming up
Warming up
Performing Zone Sizing Simulation
...for Sizing Period: #4 SINGAPORE ANN CLG .4% CONDNS WB=>MDB
Calculating System sizing
...for Sizing Period: #1 SINGAPORE ANN CLG .4% CONDNS DB=>MWB
Calculating System sizing
...for Sizing Period: #2 SINGAPORE ANN CLG .4% CONDNS DP=>MDB
Calculating System sizing
...for Sizing Period: #3 SINGAPORE ANN CLG .4% CONDNS ENTH=>MDB
Calculating System sizing
...for Sizing Period: #4 SINGAPORE ANN CLG .4% CONDNS WB=>MDB
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Reporting Surfaces
Beginning Primary Simulation
Initializing New Environment Parameters
Warming up {1}
Instantiating Building Controls Virtual Test Bed
ExternalInterface initializes.
Opaque part contains invalid character: \
Number of outputs in ExternalInterface = 3
Number of inputs in ExternalInterface = 1
Warming up {2}
Warming up {3}
Warming up {4}
Warming up {5}
Warming up {6}
Starting Simulation at 03/20/2020 for RUN PERIOD 1
ExternalInterface starts first data exchange.
**FATAL:Error in ExternalInterface: Check EnergyPlus *.err file.
EnergyPlus Run Time=00hr 00min 13.90sec
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Error: The server closed the socket while the client was reading.
ReadVarsESO program starting.
EOF encountered during read of ESO header records
probable EnergyPlus error condition -- check eplusout.err
ReadVarsESO program terminated.
ReadVars Run Time=00hr 00min 0.03sec
ReadVarsESO program starting.
EOF encountered during read of ESO header records
probable EnergyPlus error condition -- check eplusout.err
ReadVarsESO program terminated.
ReadVars Run Time=00hr 00min 0.03sec
Started HVAC Diagram
ERROR: ReadBND, Did not recognize: Controlled Zone Return,1,THERMAL ZONE 1,NODE 14
Complete
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
Removing extra files . . .
1 file(s) moved.
Could Not Find C:\EnergyPlusV9-2-0\FYPHopefullyitwillwork3.1\Energy+.ini
===== RunEPlus.bat FYPHopefullyitwillwork3.1 ===== Complete =====
The error as reflected in my E+ log is as followed: evere * ExternalInterface: Received "2" double values, expected "1". * Fatal ** Error in ExternalInterface: Check EnergyPlus *.err file.
What does these error stand for? Any help is deeply appreciated thank you!