The pplapp module, developed by Direct Energy Partners, includes several built-in functions. These functions are designed to either retrieve measurement data from the NATS interface or send commands to the controller through the NATS interface. The controller then forwards these commands to the respective devices in the microgrid. Below is a list of all the commands available for use in the custom application. To use these functions, call the app instance of the pplapp module and enter the desired function. See the examples below for more information.