Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

contract

iLab Assistant

Represents a financial market contract which allows for additional buying and selling of power outside the market

Input connectionsbusbar
Output connectionsbusbar
LicenseSHOP_CONTRACT
Release version13.0.0.a

Examples

Attributes

AttributeData typeI/ORequiredUnitDefaultLicenseVersion addedNaN allowed
initial_tradedoubleInputNoMWSHOP_CONTRACT14.5.0.0Yes
trade_curvexytInputYesx: MW and y: NOK/MWHNone/nullSHOP_CONTRACT14.5.0.0No
min_tradetimeseriesInputNoMWNone/nullSHOP_CONTRACT14.5.0.0Yes
max_tradetimeseriesInputNoMWNone/nullSHOP_CONTRACT14.5.0.0Yes
ramping_uptimeseriesInputNoMW_HOURNone/nullSHOP_CONTRACT14.5.0.0No
ramping_downtimeseriesInputNoMW_HOURNone/nullSHOP_CONTRACT14.5.0.0No
ramping_up_penalty_costtimeseriesInputNoNOK/MWNone/nullSHOP_CONTRACT14.5.0.0Yes
ramping_down_penalty_costtimeseriesInputNoNOK/MWNone/nullSHOP_CONTRACT14.5.0.0Yes
tradetimeseriesOutputNoMWNone/nullSHOP_CONTRACT14.5.0.0No
ramping_up_penaltytimeseriesOutputNoNOKNone/nullSHOP_CONTRACT14.5.0.0No
ramping_down_penaltytimeseriesOutputNoNOKNone/nullSHOP_CONTRACT14.5.0.0No

initial_trade

Data type: double. Unit: MW.

The amount of power traded on the contract right before the optimization horizon begins, only used to implement ramping constraints for the first time step. If this value is not specified (default value 1e40), no ramping constraints are built for the first time step.

trade_curve

Data type: xyt. Unit: x: MW and y: NOK/MWH.

The trade_curve defines the size and price of the sale (negative volume) and buy (positive volume) steps of the financial contract. The X values of each XY table represents a step curve of volumes that can be traded, while the Y values defines the price for each volume step. Each XY table is valid from the specified start time until the start time of a later XY table is reached.

min_trade

Data type: timeseries. Unit: MW.

The minimum amount of power that must be traded on this contract, can be a negative number.

max_trade

Data type: timeseries. Unit: MW.

The maximum amount of power that must be traded on this contract, can be a negative number.

ramping_up

Data type: timeseries. Unit: MW_HOUR.

The limit for ramping up the power traded in the contract between time steps. The ramping up constraints are hard limits if ramping_up_penalty_cost is not specified on the contract.

ramping_down

Data type: timeseries. Unit: MW_HOUR.

The limit for ramping down the power traded in the contract between time steps. The ramping down constraints are hard limits if ramping_down_penalty_cost is not specified on the contract.

ramping_up_penalty_cost

Data type: timeseries. Unit: NOK/MW.

The cost of breaking the ramping up constraints.

ramping_down_penalty_cost

Data type: timeseries. Unit: NOK/MW.

The cost of breaking the ramping down constraints.

trade

Data type: timeseries. Unit: MW.

The total amount of power traded on the contract.

ramping_up_penalty

Data type: timeseries. Unit: NOK.

The penalty for breaking the upward ramping constraints on the contract.

ramping_down_penalty

Data type: timeseries. Unit: NOK.

The penalty for breaking the downward ramping constraints on the contract.