contract#

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

Input connections

busbar

Output connections

busbar

License

SHOP_CONTRACT

Release version

13.0.0.a

Examples#

Attributes#

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.