echo.configuration module

Enumerations of possible configurations for echo model components.

class echo.configuration.EVChargeMode(*values)

Bases: Enum

Enumeration of EV class charging modes

DemandProfile = 'demand_profile'
V0G = 'V0G'
V1G = 'V1G'
V2G = 'V2G'
class echo.configuration.EVChargeStatus(*values)

Bases: Enum

Feasibility of EV charging.

Feasible = 'feasible'
Infeasible = 'Infeasible'
TimeOfDayInfeasibleConvenienceFeasible = 'time of day infeasible, convenience feasible'
class echo.configuration.ExpansionType(*values)

Bases: Enum

Enumeration object defining the type of Expansion

Edge = 3

Energy throughput (Edge capacity) expansion

Generation = 2

Energy generation expansion

NA = 0

Not specified

Storage = 1

Energy storage expansion

class echo.configuration.FlowConstraint(*values)

Bases: Enum

Enumeration object defining the type (format) of constraint at the Port.

Fixed = 2

A fixed constraint exists

InRange = 4

A lower bound constraint and upper bound constraint exist at this port

NA = 0

Constraint type is not specified for this port

NoConstraint = 1

No constraint on flow at this port

Series = 3

A time series (time varying) constraint exists

class echo.configuration.Flows(*values)

Bases: Enum

Enumeration object defining the direction of commodity flow supported by the Port.

Both = 3

the port supports two-way flow (import and export)

Export = 2

the port supports only export

Import = 1

the port supports only import

NA = 0

flow direction for the port is not defined

class echo.configuration.NodeType(*values)

Bases: Enum

Enumeration of Node types

Battery = 'battery'
CarbonAggregation = 'carbon_agg'

CO2 aggregation Node

Chiller = 'chiller'
ControlledElectricalGen = 'cgen_elec'
ControlledElectricalLoad = 'cload_elec'
EV = 'ev'
ElectricalFlex = 'electrical_flex'
ElectricalGeneration = 'elec_gen'
ElectricalLoad = 'load'
ElectricalTellegen = 'elec_tellegen'
FixedElectrical = 'fixed_elec'
FixedGas = 'fixed_gas'
FlexWithEmissions = 'flex_with_emissions'
GasBoiler = 'gas_boiler'
HeatPump = 'heatpump'

Heat water pump Node

Inverter = 'inverter'

DC/AC inverter Node

MultiCommodityTellegen = 'multi_commodity_tellegen'
Solar = 'solar'

Solar generator (PV) Node

V0GEV = 'v0g_ev'
V1GEV = 'v1g_ev'
V2GEV = 'v2g_ev'
class echo.configuration.OptimisationType(*values)

Bases: Enum

Enumeration object defining the type Port value variable in optimisation context.

NA = 0

Value type is not specified for this port

Parameter = 1

The port value variable is fixed

Variable = 2

The port variable is variable/optimisable

class echo.configuration.Resets(*values)

Bases: Enum

How often something resets

daily = 'daily'
hourly = 'hourly'
minute = 'minute'
weekly = 'weekly'
yearly = 'annually'
class echo.configuration.Resource(*values)

Bases: Enum

Enumeration object defining the types of Energy Resources (Commodities)

CO2 = 3

CO2 (emissions)

Electricity = 0

Electricity

Gas = 1

Gas

Thermal = 2

Thermal

class echo.configuration.TariffType(*values)

Bases: Enum

Tariff types

ContingencyNegative = 'contingency negative'
ContingencyPositive = 'contingency positive'
ExportDemandTariff = 'export demand tariff'
ExportTariff = 'export tariff'
ImportDemandTariff = 'import demand tariff'
ImportTariff = 'import tariff'
PeakNegPower = 'peak negative power'
PeakPosPower = 'peak positive power'
QuadraticPower = 'quadratic power'
ThroughputCost = 'throughput cost'
class echo.configuration.TransformRule(*values)

Bases: Enum

Enumeration object defining to which component of the Port value the Transformation Rule applies

Both = 1

The transformation applies to both pos and neg components of the port variable

NA = 0

Not specified for this Port

Neg = 3

The transformation applies to only the negative component of the port variable

Pos = 2

The transformation applies to only the positive component of the port variable

class echo.configuration.Units(*values)

Bases: Enum

Enumeration object containing units in which the optimisation is undertaken.

CMS = 9

Gas or liquid commodity flow in Cubic meters per second

CO2 = 2

Instantaneous CO2e emissions (in kg)

JPS = 4

Joules per second

KVA = 6

Instantaneous electrical apparent power kVA

KVAR = 7

Instantaneous electrical reactive power kVAR

KW = 1

Instantaneous electrical real power kW

KWT = 3

Instantaneous thermal power

KWh = 5

Electrical energy kWh

LPS = 8

Liquid commodity flow in litres per second

NA = 0

Used for initialisation but optimisation will fail if units not set prior to execution.