Principles of renewable energy sources