One of the reasons it's so complicated is that the State in California intervenes in the market in so many (sometimes contradictory) ways. The incentives are often perverse and exactly the opposite of what you would expect.
In attempting to protect consumers, California in the long run has created a market with almost the highest prices in the nation. Simultaneously, and surprisingly, those high prices have not translated into some kind of futuristic or resilient grid. California has not had power outages not because California is better than Texas in terms of technology ... rather California is blessed with a climate that doesn't really suffer state-wide extremes.
As bad as California's public schools are, I think within twenty years we will realize that the thing Sacramento politicians fucked up the most was not the schools ... it was the power grid. Talk to anyone that runs a power intensive manufacturing enterprise in CA. They have already moved their facilities to another state or they already have a plan to do so.
California imports from other states all the energy-intensive inputs and exports its pollution and smugly pats itself on the back. All while taxing its citizens with some of the highest residential power pricing too.