Illustration details: THE MARKET AS A CLASSROOM 01 OFFER Price + quantity 02 CLEAR Match supply and demand 03 LEARN Compare price + volume

Conceptual editorial illustration; not a screenshot of the LEX platform.

Why might electricity command a higher wholesale price after sunset than at midday? The answer can depend on which generators are available, how much energy buyers require and what suppliers offer. A simulated trading exercise makes these relationships visible without exposing learners to actual financial or operational risks.

The Lanka Energy Exchange (LEX) educational demo introduces electricity-market concepts through fictional day-ahead, intraday and green-energy markets, hourly order books, practice orders and illustrative clearing results. The live workspace was checked on 30 November 2026. It is intended for students, energy professionals, businesses and interested members of the public. Prices, volumes and orders are simulated; the demo does not trade real electricity or move real money.

Learning through market clearing

Imagine a virtual auction for one delivery interval. Suppliers offer quantities of electricity at specified prices, while a buyer represents demand. Under a simple uniform-price auction, the lowest offers are accepted first until demand is met. In the example below, the last partially accepted offer establishes the price paid for each accepted unit of energy. This simplified approach illustrates a mechanism used in some real wholesale markets [1].

In the hypothetical classroom auction below, changing demand or available generation reveals why a price can move even when the offers themselves remain unchanged. A learner can then compare the clearing price, accepted volumes and hypothetical revenue across scenarios. Try reducing demand by shifting consumption to a sunnier hour, or reducing a wind offer to mimic weaker winds. These exercises illustrate how flexible demand and uncertain renewable output can influence market outcomes.

One auction, two very different outcomes

Consider four fictional offers for a one-hour interval. With demand at 75 MWh, the solar and wind blocks clear in full and 25 MWh of hydro is accepted. If demand rises to 95 MWh, the thermal offer is needed and sets a higher clearing price.

Offer Qty (MWh) LKR/kWh 75 MWh 95 MWh
Solar 30 10 30 30
Wind 20 15 20 20
Hydro 40 25 25 40
Thermal 40 45 0 5

Illustrative inputs and accepted MWh by demand scenario. Offers are not actual Sri Lankan prices or generation costs.

UNIFORM CLEARING PRICE / LKR per kWh

Demand (MWh) Uniform clearing price (LKR/kWh)
75 MWh 25
95 MWh 45

At 75 MWh, settlement is 75,000 kWh × LKR 25 = LKR 1,875,000. At 95 MWh, it is 95,000 kWh × LKR 45 = LKR 4,275,000. Both are hypothetical gross energy settlements, not profits or retail bills. A 1 MWh quantity equals 1,000 kWh.

Why this matters in Sri Lanka

Sri Lanka’s Electricity (Amendment) Act, No. 14 of 2025, provides for a National Electricity Market that may include short-term spot procurement, long-term wholesale contracts, ancillary services and retail markets. Section 19 amends section 30 of the 2024 Act and provides for separate commencement dates and market models [2]. The law is not proof that any particular market or LEX platform is operational or licensed.

Real systems must also manage network constraints, losses, reserves, generator limits and the balance between production and consumption [2, 3]. This classroom example excludes those factors, fees and taxes. Its value is in testing how assumptions affect outcomes, not predicting actual tariffs, investment returns or dispatch decisions.

For readers interested in energy reform, the central lesson is that understanding the market is useful before participating in one. Open the LEX exchange demo to explore its sample market products, order books, practice orders and clearing results. The numerical auction in this article is an explanatory classroom example, not a statement of live Sri Lankan market prices.

[1] ISO New England, How Resources Are Selected and Prices Are Set. [2] Parliament of Sri Lanka, Sri Lanka Electricity (Amendment) Act, No. 14 of 2025, s. 19, pp. 30–32 (PUCSL copy). [3] SMARD / Bundesnetzagentur, This is how the electricity market works.

Sources and references

More in Electricity Trading & Energy MarketsAll research & insights