The California Assembly on Tuesday passed Senate Bill 100 that sets a goal for the state to get 100% of its electricity from carbon-free sources by 2045.