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"] instead of ["Zone Thermostat Heating Setpoint Temperature", "Space1-1"]?
Hi! Reading the line of code that you share, I've observed a comma and space at the end of the arguments in the method. That is an error of typing here?
@hermmanhender thanks for coming back to me and for carefully looking through my question. The trailing comma is actually a relict of a multiline command, where commas make it look cleaner. It does not influence execution in Python.