Advancing fluid dynamics simulations: A comprehensive approach to optimizing physics-informed neural networks | Synapse