Gas imports#
Technology ID: GAS_IMPORTS
Output energy interface, with default energy:
PRODUCTION: gas
Technology behaviors:
MUST_RUN
VOLUME_TARGET
Technology parameters:
ID |
Label |
Unit |
Behaviors |
Description |
---|---|---|---|---|
PMAX |
Pmax |
MW |
not MUST_RUN |
Installed power capacity |
MIN_LOAD |
Fleet min load |
% |
not MUST_RUN |
Minimum production level, expressed as a percentage of the available capacity |
AVAILABILITY |
Availability |
% |
not MUST_RUN |
Available capacity, expressed as a percentage of the installed capacity |
MINIMUM_VOLUME |
Minimal target volume |
MW.h |
VOLUME_TARGET and not MUST_RUN |
Minimal export volume over the horizon |
STORAGE_CAPACITY |
Storage capacity |
MW.h |
VOLUME_TARGET and not MUST_RUN |
Storage capacity |
MIN_PROFILE |
Minimal export profile |
% |
VOLUME_TARGET and not MUST_RUN |
Minimal export profile |
STORAGE_AVAILABILITY |
Storage availability |
% |
VOLUME_TARGET and not MUST_RUN |
Storage availability, expressed as a percentage of the installed storage capacity |
IMPORTS |
Imports |
MW |
MUST_RUN |
Sets inelastic imports |
PRODUCTION_COST_CURVE |
Production cost |
Euro/MW.h HHV |
Production cost (emission cost excluded) |
|
Model code:
# Asset parameters definition
cost = asset.getData(PRODUCTION_COST_CURVE)
# Modelling asset state ON
stateON = AssetState('ON')
if asset.isActiveBehavior(BH_MUST_RUN):
stateON.setEquality(asset.getParameter(ENERGY_DELIVERY), False, asset.getData(IMPORTS))
else:
addTargetInVolume(asset, stateON, interfaceName=ENERGY_DELIVERY, isInput=False, maxVolume=STORAGE_CAPACITY, minVolume="MINIMUM_VOLUME" , maxProfile=STORAGE_AVAILABILITY, minProfile="MIN_PROFILE")
addEnergyProduction(asset, stateON, energyDelivery=ENERGY_DELIVERY, productionCost=None, pmax=PMAX)
addEnergyCost(stateON, asset.getParameter(ENERGY_DELIVERY), False, cost, asset=asset)
finalize(stateON)