Biomass supply -------------- Alt text **Technology ID: BIOMASS_SUPPLY** **Input energy interface, with default energy:** - CO2_CONSUMPTION: co2 **Output energy interface, with default energy:** - PRODUCTION: biomass **Technology parameters:** | ID | Label | Unit | Behaviors | Description | | --- | --- | --- | --- | --- | | CO2_CONSUMPTION_YIELD | CO2 consumption yield w.r.t production | t/MW.h | | Yield between the CO2 consumption and the production | | PRODUCTION_COST | Production cost | Euro/MW.h | | Production cost (emission cost excluded) | | | **Model code:** ``` python stateON = AssetState('ON') addEnergyCost(stateON, asset.getParameter(ENERGY_DELIVERY), False, asset.getData(PRODUCTION_COST)) # Biomass supply consumes CO2 to ensure the carbon neutrality of Biomass consuming assets if getAssetData(asset, CO2_CONSUMPTION_YIELD, mustExist=False, dataName=LABELS[CO2_CONSUMPTION_YIELD]) is not None: addEnergyYield(stateON, asset.getData(CO2_CONSUMPTION_YIELD), asset.getParameter(ENERGY_DELIVERY), asset.getParameter(CO2_PICKUP), False, True) MODEL.addState(stateON) ```