The modelling of large electricity-generation systems with door