parameters: (self, state, path: str)
docstring: Sets the EnergyPlus install root folder when calling EnergyPlus as a library.
          When calling the API from Python, this can be done automagically.  Python can find the currently running
          script, which is how this script finds the E+ DLL.  Because of this, this function is hidden in Python and the
          client does not need to call this.  When calling directly through the C layer, the client should call the
          underlying C function directly because C does not provide that same automagic.
          For a developer perspective, this should be called prior to running EnergyPlus.  When EnergyPlus is run as EXE,
          it is able to locate auxiliary tools relative to the running binary exe file.  However, when calling as an API,
          the running binary will not be in the EnergyPlus install, and so EnergyPlus will fail to find those auxiliary
          tools.  To call these tools when running as a library, the install root must be set using this function.
          It should be noted that in many workflows, it would be better to just call those auxiliary tools directly from
          an outside caller, rather than relying on EnergyPlus to do it via command line arguments.
          :param state: An active EnergyPlus "state" that is returned from a call to `api.state_manager.new_state()`.
          :param path: Path to the EnergyPlus install root, for example "C:\\EnergyPlus-9-5-0".  Because this function is
                       only called internally, a Python str is required for this argument, and it is encoded into utf-8
                       bytes before calling the C function to set to the install root inside the running EnergyPlus.
          :return: Nothing
docstring_summary: Sets the EnergyPlus install root folder when calling EnergyPlus as a library.
          When calling the API from Python, this can be done automagically.  Python can find the currently running
          script, which is how this script finds the E+ DLL.  Because of this, this function is hidden in Python and the
          client does not need to call this.  When calling directly through the C layer, the client should call the
          underlying C function directly because C does not provide that same automagic.
          For a developer perspective, this should be called prior to running EnergyPlus.  When EnergyPlus is run as EXE,
          it is able to locate auxiliary tools relative to the running binary exe file.  However, when calling as an API,
          the running binary will not be in the EnergyPlus install, and so EnergyPlus will fail to find those auxiliary
          tools.  To call these tools when running as a library, the install root must be set using this function.
          It should be noted that in many workflows, it would be better to just call those auxiliary tools directly from
          an outside caller, rather than relying on EnergyPlus to do it via command line arguments.
          :param state: An active EnergyPlus "state" that is returned from a call to `api.state_manager.new_state()`.
          :param path: Path to the EnergyPlus install root, for example "C:\\EnergyPlus-9-5-0".  Because this function is
                       only called internally, a Python str is required for this argument, and it is encoded into utf-8
                       bytes before calling the C function to set to the install root inside the running EnergyPlus.
          :return: Nothing
docstring_tokens: Sets the EnergyPlus install root folder when calling EnergyPlus as a library . When calling the API from Python this can be done automagically . Python can find the currently running script which is how this script finds the E + DLL . Because of this this function is hidden in Python and the client does not need to call this . When calling directly through the C layer the client should call the underlying C function directly because C does not provide that same automagic . For a developer perspective this should be called prior to running EnergyPlus . When EnergyPlus is run as EXE it is able to locate auxiliary tools relative to the running binary exe file . However when calling as an API the running binary will not be in the EnergyPlus install and so EnergyPlus will fail to find those auxiliary tools . To call these tools when running as a library the install root must be set using this function . It should be noted that in many workflows it would be better to just call those auxiliary tools directly from an outside caller rather than relying on EnergyPlus to do it via command line arguments . : param state : An active EnergyPlus state that is returned from a call to api . state_manager . new_state () . : param path : Path to the EnergyPlus install root for example C : \\ EnergyPlus - 9 - 5 - 0 . Because this function is only called internally a Python str is required for this argument and it is encoded into utf - 8 bytes before calling the C function to set to the install root inside the running EnergyPlus . : return : Nothing
function: def _set_energyplus_root_directory(self, state, path: str):
          """
          Sets the EnergyPlus install root folder when calling EnergyPlus as a library.
          When calling the API from Python, this can be done automagically.  Python can find the currently running
          script, which is how this script finds the E+ DLL.  Because of this, this function is hidden in Python and the
          client does not need to call this.  When calling directly through the C layer, the client should call the
          underlying C function directly because C does not provide that same automagic.
          For a developer perspective, this should be called prior to running EnergyPlus.  When EnergyPlus is run as EXE,
          it is able to locate auxiliary tools relative to the running binary exe file.  However, when calling as an API,
          the running binary will not be in the EnergyPlus install, and so EnergyPlus will fail to find those auxiliary
          tools.  To call these tools when running as a library, the install root must be set using this function.
          It should be noted that in many workflows, it would be better to just call those auxiliary tools directly from
          an outside caller, rather than relying on EnergyPlus to do it via command line arguments.
          :param state: An active EnergyPlus "state" that is returned from a call to `api.state_manager.new_state()`.
          :param path: Path to the EnergyPlus install root, for example "C:\\EnergyPlus-9-5-0".  Because this function is
                       only called internally, a Python str is required for this argument, and it is encoded into utf-8
                       bytes before calling the C function to set to the install root inside the running EnergyPlus.
          :return: Nothing
          """
          path = path.encode('utf-8')
          self.api.setEnergyPlusRootDirectory(state, path)
function_tokens: def _set_energyplus_root_directory ( self , state , path : str ) : path = path . encode ( 'utf-8' ) self . api . setEnergyPlusRootDirectory ( state , path )