Authors notebook
ltesan@unizar.esPhD student Mikel M. Iparraguirre |
mikel.martinez@unizar.esAMB, Aragón Institute of Engineering Research.
This material was created for the UKACM and SEMNI Autumn School 2024, focused on the intersection of physics and machine learning.
This repository contains two Jupyter notebooks that demonstrate how to solve Ordinary Differential Equations (ODEs) using both data-driven methods and Physics-Informed Neural Networks (PINNs). Each notebook walks through the problem setup and solution process, clearly highlighting the differences between these two approaches and providing the required basis to build a solid and comprehensive deep learning pipeline.
This notebook provides a detailed walkthrough for solving a Sinusoidal Velocity ODE using both methods. It offers a clear comparison between the data-driven solver and the PINNs approach, covering model setup, training, and result analysis.
Problem statement for the example.
- Let's look at the ODE:
- Initial condition:
- The exact solution:
Focuses on the Underdamped Harmonic Oscillator problem, showcasing the differences between data-driven and PINNs solutions. It includes a detailed implementation and comparative results.
Problem statement for the example.
- Let's look at the ODE:
- Initial conditions in position and velocity
- Because under-damped state:
This has the following exact solution:
Visualizations of the model's performance and additional insights inside the notebook...