Upholding safety in future energy systems