System analysis with energy applications