Carlsbad-based Smartville Inc., an electric vehicle battery-repurposing company, was awarded $10 million from the U.S. Department of Energy as part of a $325 million investment to develop long-duration energy storage technologies, it was announced Wednesday.