SourceLoad

Model interface of SourceLoad

This component represents either a source (injection) or a load (extraction). To extend the definition, for instance, a source can be a powerplant or a photovoltaic panel, whilst a load could be the demand of hydrogen of a building.

Thus, an imposed flow of energy or material can be inserted as input for:

  • Power for electrical or thermal carriers

  • Flow rates for fluids, biomass, etc.

Main Features

  • MaxFlow limits the absolute value of injected or extracted flow.

  • Different strategies of load handling can be implemented:

    • Load Shedding: optional load shedding model for demand-side management (available only for loads, compatible with Rolling Horizon usage).

    • Peak Shaving: optional peak shaving model for demand-side management (available only for loads).

    • Optimization of Price or Size: - Can optimize the size (capacity) or the price signal for injected/extracted flow.

Focus

  • Load shedding:

    IO Shedding

    Fig. 52 Load Shedding Graphics

This method introduces optional load shedding capability for a load component. Load shedding represents the deliberate reduction of demand when it’s beneficial or necessary (e.g., during system stress or high price events). This model could be used for

  • Demand Response modeling

  • Robust optimization scenarios with load flexibility

  • Scenario analysis for energy-constrained systems

  • Peak Shaving:

    IO Shaving

    Fig. 53 Peak Shaving Graphics

This method introduces optional peak shaving capability for a load component. Peak shaving represents the redistribution of charge when a peak is highlighted, over hours where load is less important. The imposed flow (ImposedFlow) can be balanced in this way: it can be increased or decreased by MaxEffect but the total energy over the period TimeSpan must be conserved.

The imposed quantity depends on the connected energy vector.

ImposedFlow and MaxFlow define the input data on which to apply flexibility:

  • ImposedFlow: the time distribution to be balanced using flexibility.

  • MaxFlow: used to scale ImposedFlow. Scaling is done in order to set MaxFlow as the maximum of ImposedFlow. (The obtained distribution is referred to as “old flux”)

Generated Variables and Expressions

  • Variables for controlled or weighted flux, shedding, and reactive power.

  • Expressions for:

    • Total imposed flux

    • Input and output powers

    • Costs (regular and shedding)

Expressions table of SourceLoad

See also Expressions table of TechnicalSubModel for generic options

Table. 27 SourceLoad

Expression name

Unit

Mandatory

Description

FluxWeight

mExpFluxWeight

Unit

Input expression for flux weighting if mUseWeightedFlux=true \

SourceLoadFlow

mExpFlux

mEnergyVector->pFluxUnit

Computed or Controlled Imposed flow injected (source) or extracted (sink) - Positive value means injection for Source field and extraction for Sink field \

MaxFlow

mExpSizeMax

mEnergyVector->pFluxUnit

Maximum injected or extracted flow \

Weight

mExpSizeMax

Unit

Computed weight of identical component, if optimized else equals input weight \

OptimalPrice

mExpSizeMax

mCurrency

Computed optimal price used by component, if optimized else equals input weight \

OUTPUTFlux1

mExpPowerOut

mEnergyVector->pFluxUnit

Computed output power output port 1 \

INPUTFlux1

mExpPowerIn

mEnergyVector->pFluxUnit

Computed output power output port 1 \

ReactivePower

mExpReactivePower

mEnergyVector->pFluxUnit

Reactive power associated to the production of the source load. If static compensation is not given it is an optimized factor\

OptimalStaticCompensation

mExpStaticCompensation

Units

\

PowerShedding

mExpPowerShedding

mEnergyVector->pPowerUnit

\

CostShedding

mExpCostShedding

mEnergyVector->pPowerUnit , mCurrency

\

Model variables of SourceLoad

Table. 28 SourceLoad variables table

Variable name

dimension

Associated Expr

size

varMin

varMax

varType

mVarControlledFlux

1

mExpFlux

mHorizon

fabs(mMaxFlux)

double

mVarFluxWeight

1

mExpFluxWeight

mHorizon

1.e6

double

mStaticCompensation

0

mExpStaticCompensation

-1.

double

mReactivePower

1

mExpReactivePower

mHorizon

double

mVarPowerShedding

1

mExpPowerShedding

mHorizon

fabs(mMaxShedding)

double

mShedState

1

mExpShedState

mHorizon

0

1

int

mShedOn

1

mExpShedOn

mHorizon

0

1

int

mShedOff

1

mExpShedOff

mHorizon

0

1

int

mVarFluxGrid

1

mExpFlux

mHorizon

mMaxFlux + fabs(mMaxEffect)

double

mVarMaxEffect

0

fabs(mMaxEffect)

double