Severe error with External Interface: Error, xml file "variables.cfg" declares variable
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?
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, does that mean this question should be closed?
@TianZhichao: Which version of EnergyPlus are you using?