Physics-informed neural networks for time-domain simulations: Accuracy, computational cost, and flexibility | Synapse