Financial model for a thermal power plant