SMS dit: The energy method of energy systems analysis