JacquesCarette / Drasil

Generate all the things (focusing on research software)
https://jacquescarette.github.io/Drasil
BSD 2-Clause "Simplified" License
142 stars 26 forks source link

Automatically handling systems of higher-order ODEs #3385

Open cd155 opened 1 year ago

cd155 commented 1 year ago

Currently, Drasil can generate explicit equations from InstanceModel, when it uses a single ODE as the mathematical model, including both 1st-order and higher-order.

This ticket would like to expand Drasil's ability to generate explicit equations from InstanceModel for systems of higher-order ODEs.

There are examples we use in Drasil

  1. NoPCM uses a first-order ode, we generate it
  2. PDController uses a second-order ode, we generate it
  3. Double Pendulum uses a system of ODEs, we manually write it down.

Useful resources

smiths commented 1 year ago

Thank you @cd155. Well-worded issue!