Model Controls tesDispatch - acep-uaf/MiGRIDS GitHub Wiki

Introduction

The tesDispatch modules are used to dispatch the thermal energy storage units (TES) in a thermal energy storage system (TESS). If atesDispatch module is created, then it needs to follow the description below.

Input Variables

Input variables depend on which tesDispatch module is being used. The input variables will be put into the projectTesDispatchInputs XML file corresponding to that particular tesDispatch. For example, the input variables for tesDispatch0 will be stored in projectTesDispatch0Inputs. Note that there are no inputs for tesDispatch0.

Functions

runDispatch

Input variables

TESS: a reference to the instance of the TESS object whose TES need to be dispatched.

P: The desired new real power setpoint.

Operation

tesDispatch must take P and split it between the individual TES in the TESS. The maximum power (tes.tesPAvail) should not be exceeded. The new powers should be assigned to the TES (tes.tesP).

Modules

The tesDispatch modules included in this software include:

  • tesDispatch0: charge proportional to their maximum power capabilities.