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

Revision history [back]

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?

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, ExternalInterface:Actuator,
Space1-1AirTemperature, !- Name Name
SPACE1-1 Ideal Loads Air System, !- Actuated Component Unique Name Name
Ideal Loads Air System, !- Actuated Component Type Type
Air Temperature, !- Actuated Component Control Type Type
25; !- Optional Initial Value

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

The variables defined in BCVTB:

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

</variable>

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

</variable>

Is there something wrong with my definition?

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>

</variable>

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

</variable>

Is there something wrong with my definition?