Minn. farms get federal money for energy upgrades