Energy and environmental systems