Setpoint value with python plugin

asked 2020-12-30 16:58:44 -0600

Mostafa Meimand's avatar

updated 2020-12-31 14:29:25 -0600

Hello everyone,

I want to get the value of setpoint in an EnergyPlus model with the python plugin. I tried this code but it returns -1:

    self.T1_handle = self.api.exchange.get_variable_handle(state, "Zone Thermostat Cooling Setpoint Temperature", "Perimeter_ZN_1")
    T1 = self.api.exchange.get_variable_value(state, self.T1_handle)

Based on this post, the number of inputs is fine I think. When I change the variable_names to others such as "Zone Mean Air Temperature", and "People Occupant Count" It works. But it does not work for "Zone Thermostat Cooling Setpoint Temperature". I found the variable_names from .eso file.

Thanks!

edit retag flag offensive close merge delete