parameters: (self, state: c_void_p, variable_name: Union[str, bytes],
                           variable_key: Union[str, bytes])
docstring: Request output variables so they can be accessed during a simulation.
  
          In EnergyPlus, not all variables are available by default.  If they were all available, there would be a
          terrible memory impact.  Instead, only requested and necessary variables are kept in memory.  When running
          EnergyPlus as a program, including when using Python Plugins, variables are requested through input objects.
          When running EnergyPlus as a library, variables can also be requested through this function call.  This
          function has the same signature as the get_variable_handle function, which is used to then request the ID
          of a variable once the simulation has begun.  NOTE: Variables should be requested before *each* run of
          EnergyPlus, as the internal array is cleared when clearing the state of each run.
  
          :param state: An active EnergyPlus "state" that is returned from a call to `api.state_manager.new_state()`.
          :param variable_name: The name of the variable to retrieve, e.g. "Site Outdoor Air DryBulb Temperature", or
                                "Fan Air Mass Flow Rate"
          :param variable_key: The instance of the variable to retrieve, e.g. "Environment", or "Main System Fan"
          :return: Nothing
docstring_summary: Request output variables so they can be accessed during a simulation.
docstring_tokens: Request output variables so they can be accessed during a simulation .
function: def request_variable(self, state: c_void_p, variable_name: Union[str, bytes],
                           variable_key: Union[str, bytes]) -> None:
          """
          Request output variables so they can be accessed during a simulation.
  
          In EnergyPlus, not all variables are available by default.  If they were all available, there would be a
          terrible memory impact.  Instead, only requested and necessary variables are kept in memory.  When running
          EnergyPlus as a program, including when using Python Plugins, variables are requested through input objects.
          When running EnergyPlus as a library, variables can also be requested through this function call.  This
          function has the same signature as the get_variable_handle function, which is used to then request the ID
          of a variable once the simulation has begun.  NOTE: Variables should be requested before *each* run of
          EnergyPlus, as the internal array is cleared when clearing the state of each run.
  
          :param state: An active EnergyPlus "state" that is returned from a call to `api.state_manager.new_state()`.
          :param variable_name: The name of the variable to retrieve, e.g. "Site Outdoor Air DryBulb Temperature", or
                                "Fan Air Mass Flow Rate"
          :param variable_key: The instance of the variable to retrieve, e.g. "Environment", or "Main System Fan"
          :return: Nothing
          """
          if isinstance(variable_name, str):
              variable_name = variable_name.encode('utf-8')
          elif not isinstance(variable_name, bytes):
              raise EnergyPlusException(
                  "`request_variable` expects `component_type` as a `str` or UTF-8 encoded `bytes`, not "
                  "'{}'".format(variable_name))
          if isinstance(variable_key, str):
              variable_key = variable_key.encode('utf-8')
          elif not isinstance(variable_key, bytes):
              raise EnergyPlusException(
                  "`request_variable` expects `component_type` as a `str` or UTF-8 encoded `bytes`, not "
                  "'{}'".format(variable_key))
          self.api.requestVariable(state, variable_name, variable_key)
function_tokens: def request_variable ( self , state : c_void_p , variable_name : Union [ str , bytes ] , variable_key : Union [ str , bytes ] ) -> None : if isinstance ( variable_name , str ) : variable_name = variable_name . encode ( 'utf-8' ) elif not isinstance ( variable_name , bytes ) : raise EnergyPlusException ( "`request_variable` expects `component_type` as a `str` or UTF-8 encoded `bytes`, not " "'{}'" . format ( variable_name ) ) if isinstance ( variable_key , str ) : variable_key = variable_key . encode ( 'utf-8' ) elif not isinstance ( variable_key , bytes ) : raise EnergyPlusException ( "`request_variable` expects `component_type` as a `str` or UTF-8 encoded `bytes`, not " "'{}'" . format ( variable_key ) ) self . api . requestVariable ( state , variable_name , variable_key )