Skip to main content
. 2021 Aug 30;21(17):5819. doi: 10.3390/s21175819
Algorithm 2 Energy Provider’s Dynamic Pricing Decision Algorithm
  • 1:

    procedurePricing Information  (x*, g*, e*)

  • 2:

     while each lρ do

  • 3:

      adjust R*(νl,ol), G*(νl,ol) by solving subproblem (29)

  • 4:

      update pricing data as follows

  • 5:

      νl+1=νlτiNgi*(νl,ol)xi*(νl,ol)ei*(νl,ol)+G*(νl,ol)+

  • 6:

      ol+1=olτiNgi*(νl,ol)R*(νl,ol)

  • 7:

      dispatch updated pricing data to every consumer

  • 8:

     end while

  • 9:

     return νl+1,ol+1

  • 10:

    end procedure