2. Methods: A General EPEC Formalism for Zonal Pricing
This section details a model of a two-sided strategic market. We explicitly accommodate market power on both the supply side, representing competing generation companies, and the demand side, representing large final consumers.
This two-sided framework captures a fundamental asymmetry in modern power systems. Generators compete to sell energy while large consumers compete to procure it, and both sides can strategically leverage their ability to affect market-clearing prices. The following sections justify this approach and lay out the formal EPEC structure.
2.1. Why Model Strategic Demand?
Supply-side market power in electricity markets is well-documented. Generators can exercise market power by withholding capacity, particularly when transmission constraints create localized scarcity. The existence and magnitude of such behaviour has been extensively studied both theoretically and empirically.
Demand-side market power is less common but can still be relevant in specific contexts. Large energy-intensive industries such as aluminum smelters, steel production facilities, and chemical plants can shift or curtail production in response to price signals, effectively exercising monopsony power in their local market. Similarly, demand aggregators that coordinate the response of many small consumers can act as a single strategic player with significant market impact. Large consumers with substitution options—– such as data centers, industrial facilities with on-site generation, or consumers with energy storage –—can credibly threaten to withdraw demand, thereby affecting market prices. Finally, as renewable generation increases, the strategic timing of flexible demand becomes more valuable, creating opportunities for demand-side market power.
Beyond these specific applications, the two-sided framework serves a deeper analytical purpose. By modeling both supply and demand as potentially strategic, this approach constructs a general equilibrium framework that nests several important special cases. When demand elasticity approaches infinity, meaning all demand is perfectly flexible, the model recovers a pure supply-side oligopoly. When supply elasticity approaches infinity, corresponding to perfectly competitive generation, the framework obtains a pure demand-side oligopsony. When both sides are inelastic, the analysis recovers the perfectly competitive market-clearing model from earlier sections. This generality allows the study of how network topology and transmission constraints affect the nature of strategic competition, independent of which side of the market dominates.
2.2. The Role of Network Constraints
In a standard single-node Cournot game, strategic firms compete in quantities, taking the aggregate output of rivals as given. The Nash equilibrium is determined by the intersection of best-response functions, and the welfare loss from market power can be quantified by comparing the oligopolistic equilibrium to the competitive benchmark. Network constraints fundamentally alter this structure in ways that cannot be captured by simply extending the single-node model.
Transmission congestion creates artificial scarcity, giving rise to spatial market power and local monopolies. A zone that would be competitive in an uncongested network can become a local monopoly when its import capacity is exhausted. Conversely, a generator with negligible market power in an integrated market may exercise substantial market power when transmission constraints segment the network. The degree of market power becomes endogenous to the network state rather than being determined solely by market structure.
Unlike a single-node market with one price, a zonal market has n prices, one per zone, which are linked by transmission flows and congestion rents. This price multiplicity means each strategic agent must reason about multiple interconnected markets simultaneously. A generator in Zone 1 must consider not only its local competitors but also the impact of its production on prices in other zones and the resulting transmission flows. The strategic problem becomes inherently spatial and interdependent.
The competitive structure changes discontinuously when transmission lines congest or decongest, leading to regime-dependent competition. A market that operates as a unified competitive system when all lines are uncongested can fragment into isolated local monopolies when congestion occurs. The Nash equilibrium is therefore piecewise: different network states—uncongested versus various congestion patterns—give rise to qualitatively different equilibria. This discontinuity is a fundamental feature of electricity markets with binding transmission constraints, not a modeling artifact.
Finally, each strategic agent must anticipate how the independent system operator’s welfare-maximizing dispatch responds to its actions. This creates a bilevel structure known as an Equilibrium Problem with Equilibrium Constraints, or EPEC. The upper level consists of strategic firms playing a Nash game, while the lower level is the ISO’s optimization problem. The coupling between levels occurs through the price function , which is determined by the ISO’s first-order conditions. Computing equilibria therefore requires solving for the fixed point where each firm’s best response is consistent with the market-clearing prices that emerge from all firms’ simultaneous decisions.
2.3. The EPEC Formulation
This zonal electricity market is modeled as a two-level Equilibrium Problem with Equilibrium Constraints (EPEC).
The upper level consists of a simultaneous Nash game played by two sets of strategic agents: G generation companies and K large final consumers. Generators choose production quantities to maximize profit, while consumers choose consumption quantities to maximize surplus.
The lower level is the independent system operator’s (ISO) market-clearing problem. The ISO takes the strategic quantities and as given and determines passive demand and transmission flows to maximize social welfare.
The Nash equilibrium of this game is the solution to the EPEC formed by the simultaneous optimality conditions of all upper-level agents, constrained by the optimality conditions of the lower-level market clearing.
2.4. Upper Level: Strategic Agents
Each generation company
g located in zone
chooses its production quantity
to maximize profit, which is revenue minus cost
where
is the market-clearing price in the generator’s zone, which depends on the actions of all agents, and
denotes the production quantities of all other generators. We assume quadratic generation costs
, giving marginal cost
. This functional form ensures that marginal cost is increasing and that all optimization problems are well-behaved. The first-order condition for profit maximization requires that the derivative of profit with respect to quantity equals zero
Rearranging, the optimality condition equating marginal revenue to marginal cost is
The strategic markup term captures the firm’s market power. A competitive firm that takes price as given has , so price equals marginal cost. A strategic firm recognizes that increasing production lowers the market price, creating a negative price impact. Consequently, it produces less than the competitive level, earning a markup of price over marginal cost. The magnitude of this markup depends on the firm’s production level and the sensitivity of price to its output.
Note that the derivative is not a primitive parameter that can be specified exogenously. Rather, it emerges endogenously from the ISO’s market-clearing problem and depends on the network state. When transmission constraints bind, this derivative can change discontinuously as the market transitions from one regime to another. Understanding how network topology shapes these price impacts is central to our analysis.
Each large final consumer
k located in zone
chooses its consumption quantity
to maximize consumer surplus, which is utility minus expenditure
where
is the consumer’s utility function and
denotes the consumption of all other large final consumers. We assume quadratic utility
, which corresponds to a linear inverse demand curve
. The marginal utility is therefore
, which decreases with consumption. This functional form is the mirror image of the generator’s cost function, ensuring analytical symmetry between supply and demand. The first-order condition for surplus maximization requires that the derivative of surplus with respect to consumption equals zero,
Rearranging yields the optimality condition equating marginal utility to marginal expenditure
A competitive consumer that takes price as given has , so marginal utility equals price. A strategic consumer recognizes that increasing consumption raises the market price for all units consumed. The price impact means the consumer’s effective cost for the marginal unit—its marginal expenditure—exceeds the market price. This causes the consumer to consume less than the competitive level. The strategic markdown is the mirror image of the generator’s markup: where generators withhold supply to raise prices, strategic consumers suppress demand to lower them.
2.5. Lower Level: ISO Market Clearing
The independent system operator takes the strategic quantities
and
as given and clears the market by determining passive demand
and transmission flows
to maximize social welfare. The passive demand in each zone represents all the small, price-taking consumers whose aggregate behaviour can be summarized by a linear inverse demand curve
. We use location matrices
and
to map firm-level decisions to zonal quantities. The entry
if generation company
g is located in zone
i and zero otherwise. The matrix
is defined similarly for large final consumers. These matrices allow us to write the aggregate strategic generation in each zone as
and the aggregate strategic consumption as
. The ISO’s optimization problem is
The objective function represents the social welfare derived from passive consumption. The power balance constraint ensures that in each zone, the sum of all generation (strategic and passive) equals the sum of all consumption plus net flows out of the zone. The matrix is the node-arc incidence matrix that relates flows to nodal injections. The dual variable associated with the power balance constraint is the vector of zonal prices. The transmission capacity constraints are enforced with dual variables and , which represent congestion rents in the forward and reverse directions respectively.
The Karush-Kuhn-Tucker conditions for this problem define the relationship between prices, flows, and congestion. These conditions provide the link between the upper and lower levels of the game: they determine how the price function responds to changes in strategic quantities, which in turn determines the derivatives and required for the strategic agents’ optimality conditions. Without explicitly solving the ISO’s problem, the strategic agents cannot compute their best responses.
2.6. Solution Methodology
The Nash equilibrium is characterized by the simultaneous solution of three sets of conditions: the
G generation company optimality conditions from Equation (
3), the
K large final consumer optimality conditions from Equation (
6), and the ISO’s KKT conditions from Problem (
7). This system of equations defines the EPEC.
However, the complementary slackness conditions for transmission constraints introduce a discrete structure that prevents a unified analytical solution. Each possible pattern of binding constraints—– such as no congestion, forward congestion on certain lines, or reverse congestion on others –—defines a distinct regime. Within each regime, the complementary slackness conditions resolve into simple equalities (for binding constraints) and inequalities (for non-binding constraints). This resolution simplifies the EPEC to a system of algebraic equations that can be solved analytically or numerically. Different regimes correspond to different competitive structures: an uncongested network behaves as a single integrated market, while congested networks fragment into partially or fully isolated zones. This is the exact analytical parallel to the competitive benchmark, where this same piecewise structure defined the market-clearing outcomes [
1].
The solution methodology proceeds in three stages. First, enumerate all feasible network states based on the topology and the number of transmission lines. For a network with m lines, each of which can be uncongested, forward-congested, or reverse-congested, there are in principle possible regimes. However, many of these are either physically impossible or symmetrically equivalent, reducing the number of distinct cases.
Second, for each regime, assume a specific pattern of binding constraints. This assumption resolves the complementary slackness conditions into simple equalities and inequalities, transforming the EPEC into a standard system of equations. For example, if we assume line ℓ is forward-congested, then and , while . We then solve the resulting system— using symbolic computation packages such as SymPy and Mathematica —to obtain candidate equilibrium quantities, prices, and congestion rents.
Third, verify which candidate equilibrium is self-consistent by checking validity conditions. These conditions ensure that the calculated flows and congestion rents are consistent with the assumed regime. For instance, if it is assumed that line ℓ is forward-congested, we must verify that and that the price difference supports this flow direction, meaning where the flow goes from zone i to zone j. For any given set of parameters—cost functions, utility functions, and transmission capacities—exactly one regime will have satisfied validity conditions. This regime’s solution is the Nash equilibrium.
The equilibrium is therefore piecewise: it consists of multiple analytical formulas, each valid in a different region of parameter space, with regime boundaries determined by the validity conditions. This piecewise structure is unavoidable. The complementary slackness conditions create a discrete, non-convex problem that cannot be solved in a unified manner. The piecewise methodology is not a limitation of our analytical approach but rather a fundamental property of electricity markets with binding transmission constraints.