Analysis And Design Of Energy Systems