(a)
All generation-related projects and enterprises financed pursuant to this division shall provide electricity to the consumers of this state at the cost of generating that electricity, including the costs of financing those projects or enterprises. To the extent that electricity is not needed in the state, or that it is financially advantageous to California consumers, the electricity may be sold outside the state at just and reasonable rates.
(b)
If a participating party is an electrical corporation, the commission shall determine the cost of generating electricity and to which entities the electricity is sold.
(c)
If a participating party is a local publicly owned electric utility seeking to provide electricity to consumers in its service territory, the governing board of that utility shall determine the cost of generating electricity and to which entities the electricity is sold.
(d)
If neither subdivision (b) nor subdivision (c) applies, the authority shall determine the cost of generating electricity and to which entities the electricity is sold, consistent with subdivision (a).