Gas exports#
Technology ID: GAS_EXPORTS
Input energy interface, with default energy:
CONSUMPTION: 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 |
EXPORTS |
Exports |
MW |
MUST_RUN |
Exports |
PRICE |
Price |
Euro |
Price |
|
Model code:
# Asset parameters definition
# Price can't be of type curve because of -1 multiplication
consumptionCost = - asset.getData(PRICE)
# Modelling asset state ON
stateON = AssetState('ON')
if asset.isActiveBehavior(BH_MUST_RUN):
stateON.setEquality(asset.getParameter(ENERGY_PICKUP), True, asset.getData(EXPORTS))
else:
addTargetInVolume(asset, stateON, interfaceName=ENERGY_PICKUP, isInput=True, maxVolume=STORAGE_CAPACITY, minVolume="MINIMUM_VOLUME" , maxProfile=STORAGE_AVAILABILITY, minProfile="MIN_PROFILE")
addEnergyConsumption(asset, stateON, energyPickup=ENERGY_PICKUP, consumptionCost=None, pmaxIn=PMAX)
addEnergyCost(stateON, asset.getParameter(ENERGY_PICKUP), True, consumptionCost, asset=asset)
finalize(stateON)