Internal library

Index

EnergyModelsCompliance.compliance_opex_varMethod
compliance_opex_var(n::EMB.Node)
compliance_opex_var(n::Sink)

Returns a Bool indicating whether the function opex_var is applicable for the developed Node or alternatively the functions surplus_penalty and deficit_penalty.

The function checks both opex_var(n) (surplus_penalty(n) and deficit_penalty(n)) and opex_var(n, t) (surplus_penalty(n, t) and deficit_penalty(n, t)) even if the former is not directly used.

source
EnergyModelsCompliance.compliance_opex_fixedMethod
compliance_opex_fixed(n::EMB.Node)
compliance_opex_fixed(n::Sink)

Returns a Bool indicating whether the function opex_fixed is applicable for the developed Node.

The function checks both opex_fixed(n) and opex_fixed(n, t_inv) even if the former is not directly used.

source
EnergyModelsCompliance.compliance_inputsMethod
compliance_inputs(n::EMB.Node)

Returns a Tuple{Bool} indicating whether the function inputs is applicable for the developed Node.

The first entry of the Tuple is indicating whether the model can build while the second entry indicates whether problems with existing base functions may occur.

The function checks both inputs(n) and inputs(n, p).

source
EnergyModelsCompliance.compliance_outputsMethod
compliance_outputs(n::EMB.Node)

Returns a Tuple{Bool} indicating whether the function outputs is applicable for the developed Node.

The first entry of the Tuple is indicating whether the model can build while the second entry indicates whether problems with existing base functions may occur.

The function checks both outputs(n) and outputs(n, p).

source

Areas and TransmissionModes

EMGExt.compliance_lossFunction
compliance_loss(tm::TransmissionMode)

Returns a Bool indicating whether the function loss is applicable for the developed TransmissionMode.

The function checks both loss(tm) and loss(tm, t) even if the former is not directly used.

source
EMGExt.compliance_con_rateFunction
compliance_con_rate(tm::TransmissionMode)
compliance_con_rate(tm::PipeMode)

Returns a Bool indicating whether the function consumption_rate is applicable for the developed TransmissionMode.

It is only required if you create a new PipeMode.

The function checks both consumption_rate(tm) and consumption_rate(tm, t) even if the former is not directly used.

source