Dynamic phasors to enable distributed real-time simulation