energy production through a mill