Configuring GAT

Contents

Configuring GAT#

GAT provides some simple configuration APIs to set your alias for Load types, and curtailable technologies

You must import and configure the config object before importing quickplots or a scenario handler.


from gat.config import config

# update the name for unserved energy
config.unserved_energy_alias =  'Dropped Load'

# now import quickplots and Scenario Objects.
import gat.quickplots as qp
from gat.scenariohandlers import SiennaScenario, PlexosScenario

# Further updates to the config object aren't reflected in quickplots or Scenario Objects

class gat.config.gatConfig#

A configuration class used across scenario objects and quickplots. Updating the fields of this object impacts how dataframe columns are named, how missing load columns are calculated, and how load is named in the plots.

The configuration also include self.curtailable_tech. Adding or removing items from this list will determined which generation types are used in the curtailment calculation. One should use names in the simplified technology mapping and not the internal generation type defined in the power system model.

Self.native_load_alias:

The load excluding any storage charging. Defaults to ‘Native Demand’

Self.total_load_alias:

Defaults to ‘Total Demand’

Self.net_load_alias:

The total demand minus variable renewable technology (curtailable tech). Defaults to ‘Net Demand’

Self.unserved_energy_alias:

Defaults to ‘Unserved Energy’

Self.storage_load_alias:

Defaults to ‘Storage Demand’

Self.curtailable_tech:

Simplified technology names used in the curtailment calculation. Defaults to [‘Land-based Wind’,’Offshore Wind’, ‘PV’,’dPV’, ‘VRE’]

Self.default_font:

The default font used in the plots. Defaults to ‘Arial’