Category "ode"

How to improve speed simulation results with ODE45/23/23s/15s

I want to simulate an ODE system, very fast. I usually use Euler-Method because it's fast, but not the most stable nor accurate. But I want to use a more standa

Setting up boundary conditions to solve PDEs using method of lines

Objective: To add boundary/initial conditions (BCs/ICs) to a system of ODEs I have used the method of lines to convert a system of PDEs into a system of ODEs. T

Problem on solving Partial Differential Equations with Gekko Python

I get a converging solution while trying to solve a Partial Differential Equation attached below. In my code, I want to calculate a volume flow rate over time b

Solving ODE with Python reversely

In Python we solve a differential equation OD_H with an initial point y0 = od0 in a specific point z similar to the following code def OD_H(od, z, c, b): ..