Practical Examples of Energy Optimization Models