Severe error with External Interface: Error, xml file "variables.cfg" declares variable

asked 2017-07-30 19:54:05 -0500

TianZhichao's avatar

updated 2017-07-30 20:04:08 -0500

Hi, I tried to define two variables in E+ idf files to change data with BCVTB using the External Interface class. But it resulted two severe errors.

The External Interface objects show as follows:

ExternalInterface:Actuator,
Space1-1AirTemperature, !- Name
SPACE1-1 Ideal Loads Air System, !- Actuated Component Unique Name
Ideal Loads Air System, !- Actuated Component Type
Air Temperature, !- Actuated Component Control Type
25; !- Optional Initial Value

ExternalInterface:Actuator,
Space1-1Humidity, !- Name
SPACE1-1 Ideal Loads Air System, !- Actuated Component Unique Name
Ideal Loads Air System, !- Actuated Component Type
Air Humidity Ratio, !- Actuated Component Control Type
0.012; !- Optional Initial Value

The variables defined in BCVTB:

<variable source="Ptolemy">
    <EnergyPlus actuator="Space1-1AirTemperature"/>
</variable>
<variable source="Ptolemy">
    <EnergyPlus actuator="Space1-1Humidity"/>
</variable>

Is there something wrong with my definition?

edit retag flag offensive close merge delete

Comments

It may because ExternalInterface:Schedule and ExternalInterface:Acturator can not be used in one idf file. I deleted all ExternalInterface:Schedule objects, then the error message disappeared.

TianZhichao's avatar TianZhichao  ( 2017-07-31 03:53:37 -0500 )edit

@TianZhichao, does that mean this question should be closed?

Julien Marrec's avatar Julien Marrec  ( 2017-08-01 03:44:33 -0500 )edit

@TianZhichao: Which version of EnergyPlus are you using?

Thierry Nouidui's avatar Thierry Nouidui  ( 2017-08-04 13:01:47 -0500 )edit