Introduction to energy systems and resources