Supply contract with bound -------------------------- Alt text **Technology ID: SUPPLY_CONTRACT_WITH_BOUND** **Output energy interface, with default energy:** - PRODUCTION: electricity **Technology parameters:** | ID | Label | Unit | Behaviors | Description | | --- | --- | --- | --- | --- | | PRODUCTION_COST | Production cost | Euro/MW.h | | Production cost (emission cost excluded) | | PMAX | Pmax | MW | | Installed power capacity | | | **Model code:** ``` python stateON = AssetState('ON') addEnergyCost(stateON, asset.getParameter(ENERGY_DELIVERY), False, asset.getData(PRODUCTION_COST)) stateON.addUpperBound( asset.getParameter(ENERGY_DELIVERY), False, asset.getData(PMAX) ) MODEL.addState(stateON) ```