"Private energy producer" includes every person, corporation, city, county, district, and public agency of the state generating or producing electricity not generated from conventional sources or natural gas for energy either directly or as a byproduct solely for his or its own use or the use of his or its tenants; or generating or producing electricity, or owning the means thereof, to or for any electrical corporation, heat corporation, state agency, city, county, district, or an association thereof, but not to or for the public for any other purpose. Notwithstanding any other provision of law, a private energy producer shall not be found to be a public utility subject to the general jurisdiction of the commission solely because of conducting any activity authorized by this chapter.
Ca. Pub. Util. Code § 2802