Fundamentals of Energy Management