long-term energy management