Law library · Sierra Leone · Grid Code for Sierra Leone Electricity Market (2021)
Appendix 1: Generic Model Formulation
Status not yet checkedGrid Code for Sierra Leone Electricity Market (2021), Sierra Leone
Cite asGrid Code for Sierra Leone Electricity Market 2021, Appendix 1
**APPENDICES**
The formulation of the schedule and dispatch model is expected to consist of an objective function which maximizes the economic gains to the entire power system through a co-optimization of energy and applicable ancillary services (e.g., regulation reserve, spinning reserve, fast start reserves, cold start, and RMR) while subject to a set of constraint equations. Where the model cannot find a feasible solution, the constraint equations may be violated in accordance with the penalty value which signal the priority for violation set in the market rules so that the solver will be able to find a feasible solution and at the same time identify signal the stresses in the power system.
Set out below is a generic model formulation for the scheduling and dispatch model which co-optimize energy and reserves and includes a hydro energy constraint equation. It is noted that different versions of the model may be used for different purposes and time frames. For example, real time dispatch may not include the hydro energy constraint, but medium term security of supply assessment is likely to.
Objective function: To maximize economic gains to the entire power system
{ ∑(D)_i (PD)_i − ∑(G)_i (PG)_i − ∑(R)_i (PR)_i − CVP }
Di : Demand quantity of customer, or power pool operator “i”
PDi : Value of demand of customer or power pool operator “i” (fixed high value)
Gi : Energy quantity bid of generator or power pool operator “i”
PGi : Price of energy bid of generator or power pool operator “i”
Ri : Reserve quantity bid of ancillary services provider “i” in a reserve zone (given by the SO)
PRi : Price of reserve bid of ancillary services provider “i” in a reserve zone
CVP : Total cost of constraint violation
Subject to the following constraint equations¹:
1. Generator or power pool operator energy resource constraint
G_(min,ramp,i) ≤ G_i ≤ G_(max,ramp,i)
the minimum and maximum generation of a generating unit, or power pool interconnection point (Gi) is dependent on its ability to ramp-down or ramp-up to its minimum and maximum generation
¹ The CVP parameter in each constraint equation is omitted.
2. Reserve resource constraint
R_(k,i) ≤ R_(max,k,i)
the reserve schedule for resource “i” of reserve category “k” should be less than or equal to maximum reserve for category “k” of resource “i”
where:
k=1, Regulation reserve
k=2, Contingency reserve
3. Reserve and energy constraint
(R_(i,k=1) + R_(i,k=2)) + G_i ≤ G_(max,i)
the sum of reserve schedule for each reserve category “k” and plus the energy schedule (Gi), for each resource generator “i”, must be less than or equal to the maximum stable generation (Gmax) of generator or power pool interconnection resource “i”.
4. Bid limit constraint
Bid PG_i by a generator “i” has to be between the floor PG_(floor,i) and the cap PG_(cap,i) applicable to generator or power pool operator
PG_(floor,i) ≤ PG_i ≤ PG_(cap,i)
5. Nodal energy balance constraint
For each node “n”, the total energy injection at node “n” must be equal to the energy withdrawal from node “n” inclusive transmission losses
∑G_(i,n) + ∑line_flow_in = ∑D_(i,n) + ∑line_flow_out + losses
6. Area reserve requirement constraint
∑_i ∑_j R_(i,j,k) + Q_(R_(k,a)) = R^req_(k,a)
Area “a” Reserve Requirement Constraint for each reserve type “k” - the Reserve requirement (Rreq) for each area shall be satisfied by local generators or dispatchable loads on each specified area “a.”
Where:
Q_(R_(a,k)) refers to the MW amount by which each reserve type “k” was violated in area “a.”
R_(i,j,k) refers to the MW quantity of the jth reserve offer block of the ith resource.
7. Line flow constraint
P_(i,j) ≤ P_(l,limit)
Line flow constraint for any line “l” where:
P_(i,j) = MW power flow from node “i” to “j.”
P_(l,limit) = MW limit of line “l” connecting node “i” to “j.”
8. Regulation headroom constraint
G_i − R_(i,k=1) ≥ G_(min,i)
The head-room constraint is imposed on REG reserve resources in order to schedule the energy output of the generator or power pool interconnection resource “i” with consideration of its minimum stable generation limit
9. Hydro energy constraint
Hydro power plant is permitted to bid the maximum water volume
∑(t=1 to T) G_t ≤ G_day
Where G_day is the maximum generation output based on the maximum water volume for the day
10 Imports and exports
Power pool imports and exports are included in the scheduling and dispatch process as generation offers and demand bids at the interconnection point as incorporated above.
11. Other security constraints
f(G, R, P) = c
Where G is generation output, R is reserve, P is line flow.
12. Constraint violation coefficient
During the optimization process, the solver may not be able to find a feasible solution. To enable the solver find a solution, some constraint(s) will need to be violated. The constraint violation penalty regime sets out the priority for the constraints to be violated. Generally, the constraints that have least impacts on the security of the system (e.g., contingency requirements) are allowed to be violated before other constraints (e.g., generation resource constraints).
| Constraint type | Violation priority |
|---|---|
| Regulation | 1 |
| Contingency reserve | 2 |
| Over generation | 3 |
| Under generation | 4 |
| Hydro energy constraint | 5 |
| Transmission line | 6 |
| Other security constraint | 7 |
Read the whole lawDownload PDFAsk Tima what this means
Explain in plain EnglishExplain in Krio
Check the current official version before relying on this text. MiLAWYER shares legal information, not legal advice.