Modeling electricity generation systems by