Dynamic modeling, simulation and control of energy generation design, modeling, simulation, and control