The effects of the regulation system on the thermoeconomic diagnosis of a power plant. Part I: The diagnosis procedure.