Fundamentals of Renewable Energy