# Problem Formulation

**Download the Challenge 2 Problem Formulation document, with Data Format Appendices, dated July 20, 2020.**

The Challenge 2 problem is a type of a security-constrained (AC based) optimal power flow, or SCOPF. Entrants are tasked with determining the optimal dispatch and control settings for power generation and grid control equipment in order to maximize the market surplus associated with the operation of the grid, subject to pre- and post-contingency constraints. Feasible solutions must conform to operating standards including, but not limited to: minimum and maximum bus voltage magnitude limits, minimum and maximum real and reactive power generation from each generator, thermal transmission constraints, and constraints to ensure the reliability of the system while responding to unexpected events (i.e., a contingency). Feasible solutions must also be able to respond to contingencies of generators and transmission elements. This formulation allows for bus real and reactive power imbalance as well as branch (transmission line and transformer) rating exceedance, both at a cost included in the objective function.

Features added to this formulation since the Challenge 1 Competition include transformer tap settings, phase angle regulators, switchable shunts, transmission branch and transformer switching, generator ramp rate response to contingencies, start up and shut down of qualified generators, and price responsive demand. Please note that shunts are no longer modeled as using continuous variables within this formulation.

Challenge 2 will include power system network models that vary in size and complexity. The size of each network flow problem (number of nodes and branches) as well as the number of contingencies will vary across datasets. The largest models will reach to at least the size of the largest independent system operator in the United States. The problem presented here is a two-stage single period problem with a given operating point prior to a base case state and then a post-contingency state. The modeling of the pre-contingency base case is a reflection of the first stage of a two-stage mathematical program whereas the post-contingency state represents the second stage. Limited unit commitment (the commitment/decommitment of generators) is included within the formulation only for generators designated as “fast-start”. Other generators may not change their commitment in either the pre-contingency base case or the post-contingency state. Generator response between states (from the given prior operating point to the pre-contingency base case state, and from the pre-contingency base case to the post-contingency state) is limited to the available ramp rate response within each generator’s operational limit given the length of time between each state. The first priority of post-contingency generator response should be to ensure a feasible post-contingency state, but this problem will also consider the market surplus of both the pre- and the post-contingency states.

**Divisions 1 and 2** will allow competitors to use any feature of the loads, generators, and transmission assets described in the formulation and within the limits of the input datasets to optimize each scenario for both the base case and each contingency response with the exception of topology optimization (line switching).

**Divisions 3 and 4** will allow competitors to employ all these previously described features as well as **topology optimization**. See the Scoring document for details.

**The ‘problem formulation’ document includes more than just the mathematical problem definition. There are** **several appendices that describe properties of the input and output data and their required formats.**