The exergy method of energy systems analysis