Move energy grid related variables to energy_grid module.