Systems and methods are described for a power aggregation system. In one implementation, a service establishes individual Internet connections to numerous electric resources intermittently connected to the power grid, such as electric vehicles. The Internet connection may be made over the same wire that connects the resource to the power grid. The service optimizes power flows to suit the needs of each resource and each resource owner, while aggregating flows across numerous resources to suit the needs of the power grid. The service can bring vast numbers of electric vehicle batteries online as a new, dynamically aggregated power resource for the power grid. Electric vehicle owners can participate in an electricity trading economy regardless of where they plug into the power grid.