Cal. Water Code § 71663.5
(b) The electric powerplant or plants and transmission lines constructed pursuant to this section may be leased for operation. The power generated shall be used by a district for its own purposes. A district may sell surplus power to a public or private entity that is engaged in the distribution or sale of electricity. For purposes of this section, “for its own purposes” means a district performing only functions in its capacity as a water district, including, but not be limited to, any of the following:
(e)
(f) A district that generates its own electricity pursuant to this section shall be responsible for paying the following:
(g) A district generating its own electricity pursuant to this section shall reimburse the electrical corporation that previously served the district for all of the following:
(h)