By 2020, California is required to obtain at least 33% of electricity from renewable sources, and has been changing its energy portfolio over recent years.