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

Revision history [back]

click to hide/show revision 1
initial version

Python API: Actuators all zero

Hi,

I am using the Python API for Energyplus.

When getting the value for the handle of the actuator (in my case ["Zone Temperature Control", "Heating Setpoint", "Soace1.1"]) I receive only zeros.

I use the following code:

eplus_api.exchange.get_actuator_value( eplus_state, actuator_handles[key], )

I also tried different calling points but the values stay at zero. If I set them via my actuator - only then I get a value different from zero.

Can anyone tell me, why this is the case?

Related to this: If actuator values cannot be received like this, but instead via the variables (get_variable_value) - I just saw that the values of e.g. the setpoints are named differently. Is there any way to use the same name ["Zone Temperature Control", "Heating Setpoint", "Soace1.1"] instead of ["Zone Thermostat Heating Setpoint Temperature", "Space1-1"]?

Python API: Actuators all zero

Hi,

I am using the Python API for Energyplus.

When getting the value for the handle of the actuator (in my case ["Zone Temperature Control", "Heating Setpoint", "Soace1.1"]) I receive only zeros.

I use the following code:

eplus_api.exchange.get_actuator_value( eplus_state, actuator_handles[key], )

I also tried different calling points but the values stay at zero. If I set them via my actuator - only then I get a value different from zero.

Can anyone tell me, why this is the case?

Related to this: If actuator values cannot be received like this, but instead via the variables (get_variable_value) - I just saw that the values of e.g. the setpoints are named differently. Is there any way to use the same name ["Zone Temperature Control", "Heating Setpoint", "Soace1.1"] instead of ["Zone Thermostat Heating Setpoint Temperature", "Space1-1"]?

Python API: Actuators all zero

Hi,

I am using the Python API for Energyplus.

When getting the value for the handle of the actuator (in my case ["Zone Temperature Control", "Heating Setpoint", "Soace1.1"]) I receive only zeros.

I use the following code:

eplus_api.exchange.get_actuator_value( eplus_state, actuator_handles[key], )

I also tried different calling points but the values stay at zero. If I set them via my actuator - only then I get a value different from zero.

Can anyone tell me, why this is the case?

Related to this: If actuator values cannot be received like this, but instead via the variables (get_variable_value) - I just saw that the values of e.g. the setpoints are named differently. Is there any way to use the same name ["Zone Temperature Control", "Heating Setpoint", "Soace1.1"] "Space1.1"] instead of ["Zone Thermostat Heating Setpoint Temperature", "Space1-1"]? "Space1-1"]?

Python API: Actuators all zero

Hi,

I am using the Python API for Energyplus.

When getting the value for the handle of the actuator (in my case ["Zone Temperature Control", "Heating Setpoint", "Soace1.1"]) I receive only zeros.

I use the following code:

eplus_api.exchange.get_actuator_value( eplus_state, actuator_handles[key], )

I also tried different calling points but the values stay at zero. If I set them via my actuator - only then I get a value different from zero.

Can anyone tell me, why this is the case?

Related to this: If actuator values cannot be received like this, but instead via the variables (get_variable_value) - I just saw that the values of e.g. the setpoints are named differently. Is there any way to use the same name ["Zone Temperature Control", "Heating Setpoint", "Space1.1"] "Space1-1"] instead of ["Zone Thermostat Heating Setpoint Temperature", "Space1-1"]?