Comparison of Detailed and Simplified Optimization Approaches for the Performance Simulation of Cogeneration Plants