Modeling And Optimization Techniques For Sizing And Scheduling Applications In Power And Energy