ELMP

ELMP#

Extended Locational Marginal Pricing implementation.

API path: apem.unit_based_model.pricing.algorithms.elmp

class ELMP[source]#

Bases: PricingAlgorithm

Implementation of Extended Locational Marginal Pricing.

compute_prices(
allocation,
scenario,
configuration,
file_prices=None,
fixed_prices=None,
)[source]#

Formulates and solves an ELMP problem similar to the one from “Pricing Optimal Outcomes in Coupled and Non-Convex Markets: Theory and Applications to Electricity Markets” (Appendix C, https://arxiv.org/abs/2209.07386). The method can also be used to compute the GLOCs for an allocation-prices pair.

Parameters:
  • allocation (Allocation) – allocation for which supporting prices are computed

  • scenario (Scenario) – scenario for which prices are computed

  • configuration (SolverConfiguration) – configuration object containing the parameters for the pricing algorithm

  • file_prices (str | None) – name of the file in which results are written

  • fixed_prices (Pricing | None) – prices for which GLOCs should be computed

Returns:

Pricing object if prices could be computed or Error object otherwise

Return type:

Pricing | Error