Discuss the theoretical principles and emerging trends in the design and optimization of renewable energy systems, such as wind turbines, solar collectors, and tidal generators, within the realm of me ?