## Mathematical models

In the short term, accurate optimization models are used to define scheduling of the power plants, and network coordination, over tipically one day to one week horizon with one hour or tens of minutes discretization. If the electricity system is a market based one, then generation is separated from transmission (e.g. the so called unbundling) and different problems are solved by different actors, basically generation companies (*GenCo*), Transmission System Operator (*TSO*) and Market Operator (*MO*) but there are also Distribution System Operator (*DSO*), traders and other possible actors. Alternatively if one speaks about monopolist systems, then many problems are solved in a centralized manner by a single centralized entity since the paradigm is quite different.

In the following table a primer of the most important class of problems is presented. As noted before we distinguish the monopolist systems from those market based.

## Monopolist Systems | ## Single Bus Economic Dispatch (SBED) | ## Optimal Power Flow (OPF) | ## Single Bus Unit Commitment (SBUC) | ## Security Constrained UC (SCUC) |

## Market based Systems | ## GenCo: Max Profit ED/UC | ## MO: Energy Markets clearing | ## TSO: Balancing Markets clearing |

At the heart of short term optimization problems there is the (short-term) Unit Commitment (UC). This problem requires to optimally operate a set of hydro and thermal generating units, over a given time horizon in order to satisfy a forecast energy demand at minimum total cost. The generating units are subject to various technical restrictions, depending on their type and characteristics. The UC is typically a large-scale, non-convex complex optimization problem.

Here we list several optimization problems from different entities perspective:

**Monopolist systems**: here the actors are centralized in a single entity that manages the production, the transmission and distribution systems. Its main goal is a least cost schedule in order to supply load while respecting the several physical constraints. Depending on the power plants mix and level of details, several fuel unit constraints, hydro units (see below) and network constraints (e.g. voltage profile across the nodes, maximum active power flow across branches) are take into account. In increasing order of complexity we have the following problems:*Single centralized entity:*- Load Flow
- Single Bus Economic Dispatch: only active power from units are optimized, status is assumed to be fixed, network is not considered
- AC/DC Optimal Power Flow: only active power from units are optimized, status is assumed to be fixed, network is considered only with DC approximation or full AC equations
- Short Term UC: both status and power of units can change, but network is not considered
- Security Constrained UC: both status and power of units can change, network is considered (with DC/AC equations)

**Market based models**:*GenCo*: For GenCo the main goal is to maximize profit from selling energy and balancing capabilities. Depending on the size and risk profile GenCos can approach the maximum profit with different models, such as:- Pure Price Taker
- Supply function equilibrium
- Residual Supply
- Cournot competition
- Bertrand competition
- Other more complicated models could include multi market maximum profit optimization models. In these models one tries to optimally allocate energy of power units among the different markets on cascade possibly with different clearing logic while respecting the operating - often multi periodal - restrictions of the power units. Also, if zonal prices are considered by the electricity market, some form of arbitrage could be tried by GenCos with production plants geographically spread across the system.

*MO*: For Market Operators the goal is to clear the (hourly) energy market solving a maximum welfare optimization problems. Depending on the market rules MO problems can have different additional peculiarities, such as portfolio bid (i.e. the GenCos are allowed to bid energy from a portfolio of generation units), zonal prices (i.e. MO problem includes zonal transmission constraints that potentially creates different prices for GenCos) and other.These peculiarities do change the form of the maximum welfare optimization problem ranging from middle scale Linear Programming to much more complex Mixed Integer Non linear Problems. From the beginning of 2015 European Community started the so called Price Coupling of Regions (PCR), a unified electricity market at European level that clears energy prices at EC level including the several differences among previous national market rules.*TSO*: For Transmission System Operator the goal is to maintain overall system stability including network. This broad goal is achieved at different time scale, in the short term this basically amount of solving:- Residual Demand Offer Based SCUC (i.e. a residual demand SCUC, after energy market are cleared. This SCUC is based on the offer made by GenCos to the TSO). This essentially is the goal of the Balancing Markets.
- Detailed OPF including full Alternative Current (AC) representation of the network laws. (see also the section Operational-Network Management)
- Renewable coordination, since these types of production plants are subject to uncertainty, TSO in modern systems must take care of these issues in solving BM. This calls for specialized methodologies for the reserve requirements satisfaction.
- Optimal Transmission Switching (OTS). Very recently TSO are investigating the possibility of opening (tripping out) some line of the High Voltage network in order to alleviate some constraints in the network itself. This problem must be solved in conjunction with SCUC or OPF and give raise to very complex optimization problems. (see also the section Operational-Network Management)

- Residual Demand Offer Based SCUC (i.e. a residual demand SCUC, after energy market are cleared. This SCUC is based on the offer made by GenCos to the TSO). This essentially is the goal of the Balancing Markets.

In both monopolist and market based models of course production power plants dynamics have to be modeled in a correct way. In the short term, GenCos must consider these constraints in the most detailed way, here we sketch some of the most important:

**Thermal units:**Thermal (including nuclear) power plant are modeled in a somehow detailed manner. Main constraints and objective function include:

- quadratic cost curves possibly including some important (interdicted) valve point.
- min and maximum stable production.
- ramp rates and start up rates, possibly depending on the working points for bigger coal plants.
- complex operating dynamics for Combined Cycle Gas Turbine (CCGT) that have several Gas Turbine (GT) coupled with Steam Turbine (ST).

**Hydro Units:**Also hydro units are modeled in a somehow detailed manner. Main constraints include:

- Water-to-Power non linear relationships, for thin basin the bilinear dependency of the basin level, together with the discharge, can be included. This severely complicates the models.
- Complex cascade dynamics, including delays in the water flows from one basin to another. These delays can be also of different hours for big cascade and as a results their consideration strongly couples the decision variables along the time dimension.
- Additionally a forecast of possible natural inflows must be considered, due to rain or snow melt in some situations.

**Renewable non programmable (i.e. wind and solar):**These power plants do not actually have operational constraints but due to their intermittency the TSO (or the monopolist) must carefully forecast their production profile perhaps by geographical aggregation. In turns the inherent uncertainty in their (forecasted) schedule calls for stochastic-like approaches.

## Optimization methods

## Data and Software