Quantifying network energy and sustainability