The Port of Los Angeles and Port of Long Beach have exempted ships from the requirements mandating the use of shore power while in port and allowed the use of stationary and portable generators or auxiliary ship engines to reduce the strain on the energy infrastructure and increase energy capacity during the heatwave. The Port of Long Beach has invested more than $180 million to ensure all its six container terminals have shore power.