Neural Management for Heat and Power Cogeneration Plants