The Almaraz plant, which contributes around 7% of Spain's electricity production, is slated to close in 2028.