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

Revision history [back]

You seem to be confusing built-in variables with internal variables.

Internal variables are specific to an EnergyPlus object and therefore require a variable_type and a variable_key using self.api.exchange.get_internal_variable_handle(state, variable_type, variable_key).

Built-in variables like ActualDateAndTime are unrelated to EnergyPlus objects. The Data Transfer API provides specific methods for each. For example, you'd use self.api.exchange.actual_date_time(state) to get ActualDateAndTime.

You can read more about built-in variables and internal variables in the EMS Application Guide.