"The new standards are poised to hike construction costs by $25,000 to $30,000 (about half of which is directly due to solar), but the self-produced energy is estimated to save owners $50,000 to $60,000 in operating costs over the solar technology's expected 25-year lifespan."
https://www.engadget.com/2018/05/06/california-to-require-solar-panels-on-most-new-homes/
https://www.engadget.com/2018/05/06/california-to-require-solar-panels-on-most-new-homes/