Renewable energy resources in energy management systems