Cost#

Common Parameters: u, name, idx, gen

Available models: GCost, SFRCost, VSGCost, DCost

GCost#

Generator cost model, similar to MATPOWER gencost format.

type is the cost model type. 1 for piecewise linear, 2 for polynomial.

In piecewise linear cost model, cost function f(p) is defined by a set of points: (p0, c0), (p1, c1), (p2, c2), where p0 < p1 < p2.

In quadratic cost model, cost function f(p) is defined by a set of coefficients: f(p) = c2 * p^2 + c1 * p + c0.

Parameters#

Name

Symbol

Description

Default

Unit

Properties

idx

unique device idx

u

\(u\)

connection status

1

bool

name

device name

gen

static generator index

mandatory

type

\(t_{ype}\)

Cost model type. 1 for piecewise linear, 2 for polynomial

2

csu

\(c_{su}\)

startup cost in US dollars

0

$

csd

\(c_{sd}\)

shutdown cost in US dollars

0

$

c2

\(c_{2}\)

coefficient 2

0

$/(p.u.*h)^2

c1

\(c_{1}\)

coefficient 1

0

$/p.u.*h

c0

\(c_{0}\)

coefficient 0

0

$

SFRCost#

Linear SFR cost model.

Parameters#

Name

Symbol

Description

Default

Unit

Properties

idx

unique device idx

u

\(u\)

connection status

1

bool

name

device name

gen

static generator index

mandatory

cru

\(c_{r}\)

cost for RegUp reserve

0

$/(p.u.*h)

crd

\(c_{r}\)

cost for RegDn reserve

0

$/(p.u.*h)

VSGCost#

Linear cost model for VSG emulated inertia (M) and damping (D).

Parameters#

Name

Symbol

Description

Default

Unit

Properties

idx

unique device idx

u

\(u\)

connection status

1

bool

name

device name

reg

Renewable generator idx

mandatory

cm

\(c_{r}\)

cost for emulated inertia (M)

0

$/s

cd

\(c_{r}\)

cost for emulated damping (D)

0

$/p.u.

DCost#

Linear cost model for dispatchable loads.

Parameters#

Name

Symbol

Description

Default

Unit

Properties

idx

unique device idx

u

\(u\)

connection status

1

bool

name

device name

pq

static load index

mandatory

cdp

\(c_{d,p}\)

cost for unserve load penalty

999

$/(p.u.*h)