Electricity Market Game PCM implementation by Rim Baltaduonis, written by Val Gorbatyuk.

This game employs the PCM algorithm. To allocate electricity generation contracts, the PCM algorithm minimizes the actual procurement costs. The chosen suppliers are paid their offered start-up costs and the market clearing price ( i.e. the highest accepted offer price) for the supplied units of electricity. The market demand is for two units of electricity, unless the actual procurement cost is greater than the maximum willingness to pay.
Supplier 1 has a capacity of two generation units.
Supplier 2 has a capacity of one generation unit.

The maximum willingness to pay per unit of electricity is:
Supplier 2's actual start-up costs are:
Supplier 2's actual per unit costs are:
Supplier 1's actual start-up costs are:
Supplier 1's actual per unit costs are:
Supplier 2's offered start-up costs are:
Supplier 2's offered per unit costs are:
Enter your start-up costs offer:
Enter your per unit costs offer:
To clear the market, press SUBMIT button: