Virtual Power Systems for Active Networks