Revision history  [back]

How do I correctly use the DataTransfer Python Api for EnergyPlus?

Im trying to get the "Zone Air Temperature" for "Thermal Zone 1" and the "System Node Temperature" for my "Setpoint Node".

zone_air_temperature = api.exchange.get_variable_handle(state, u"Zone Air Temperature", u"Thermal Zone 1") setpoint_node_temperature = api.exchange.get_variable_handle(state, u"System Node Temperature u"Setpoint Node")

Am I understanding this wrong?

Thanks in advance.

How do I correctly use the DataTransfer Python Api for EnergyPlus?

Im trying to get the "Zone Air Temperature" for "Thermal Zone 1" and the "System Node Temperature" for my "Setpoint Node".

zone_air_temperature = api.exchange.get_variable_handle(state, u"Zone Air Temperature", u"Thermal Zone 1") setpoint_node_temperature = api.exchange.get_variable_handle(state, u"System Node Temperature u"Setpoint Node")

Am I understanding this wrong?

Thanks in advance.