District gets grant for energy project