Methods - Accessing fields

Index

PeriodDemandSink node

EnergyModelsFlex.period_demand — Function
period_demand(n::AbstractPeriodDemandSink)
period_demand(n::AbstractPeriodDemandSink, t_pd::TS.PeriodPartition)

Returns the period demands of AbstractPeriodDemandSink n as a TimeProfile or in demand period t_pd.

source
EnergyModelsFlex.period_duration — Method
period_duration(n::AbstractPeriodDemandSink)
period_duration(n::AbstractPeriodDemandSink, t_pd::TS.PeriodPartition)

Returns the demand periods of AbstractPeriodDemandSink n as TimeProfile or in demand period t_pd.

source
EnergyModelsFlex.periods — Method
periods(n::AbstractPeriodDemandSink, ts::TS.TimeStructure)

Returns the demand periods for a PeriodDemandSink n for the given time structure.

source
EnergyModelsFlex.number_of_periods — Function
number_of_periods(n::AbstractPeriodDemandSink, ts::TS.TimeStructure)

Returns the number of demand periods for a PeriodDemandSink n for the given time structure.

source

StratPeriodDemandSink node

EnergyModelsFlex.strategic_demand — Function
strategic_demand(n::StratPeriodDemandSink)
strategic_demand(n::StratPeriodDemandSink, t_inv::TS.AbstractStrategicPeriod)

Returns the strategic demands of StratPeriodDemandSink n as a TimeProfile or in strategic period t_inv.

source
EnergyModelsFlex.period_demand_min — Function
period_demand_min(n::StratPeriodDemandSink)
period_demand_min(n::StratPeriodDemandSink, t_pd::TS.PeriodPartition)

Returns the minimum period demands of StratPeriodDemandSink n as a TimeProfile or in demand period t_pd.

source
EnergyModelsFlex.period_demand_max — Function
period_demand_max(n::StratPeriodDemandSink)
period_demand_max(n::StratPeriodDemandSink, t_pd::TS.PeriodPartition)

Returns the minimum period demands of StratPeriodDemandSink n as a TimeProfile or in demand period t_pd.

source

ActivationCostNode node

EnergyModelsFlex.activation_consumption — Function
activation_consumption(n::ActivationCostNode)
activation_consumption(n::ActivationCostNode, p::Resource)

Returns the demand during activation of ActivationCostNode n as dictionary or for input Resource p. If p is not included in the dictionary, it returns a value of 0.

source
EnergyModelsFlex.cap_price — Function
cap_price(l::CapacityCostLink)
cap_price(l::CapacityCostLink, t::TS.TimePeriod)

Returns the price per unit of maximum capacity usage of of CapacityCostLink l as TimeProfile or in time period t.

source
EnergyModelsFlex.period_duration — Method
period_duration(l::CapacityCostLink)
period_duration(l::CapacityCostLink, t_pd::TS.PeriodPartition)

Returns the prices periods of CapacityCostLink l as TimeProfile or in price period t_pd.

source
EnergyModelsFlex.periods — Method
periods(l::CapacityCostLink, ts::TS.TimeStructure)

Returns the price periods of capacity cost link l for the given time structure.

source
EnergyModelsFlex.cap_resource — Function
cap_resource(l::CapacityCostLink)

Returns the resource for which the capacity is limited and has a price of a capacity cost link l.

source

Combustion node