Join

Join#

Join pricing implementation.

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

class Join[source]#

Bases: PricingAlgorithm

Implementation of Join Pricing.

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

Formulates and solves a Join pricing problem similar to Appendix F in Pricing Optimal Outcomes in Coupled and Non-Convex Markets: Theory and Applications to Electricity Markets (https://arxiv.org/abs/2209.07386).

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) – Pricing object with fixed prices

Returns:

Pricing object if prices could be computed or Error object otherwise

Return type:

Pricing | Error