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

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.