Python 🐍 Solve 4 ODEs

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 16

  • @rvilleg95
    @rvilleg95 5 років тому +9

    This is one of the most interesting UA-cam channels I have seen.

    • @apm
      @apm  5 років тому +3

      Thanks, Rafael! There are also course web-sites available from apmonitor.com - I'm glad that you are enjoying the content.

  • @professorlucassilva6911
    @professorlucassilva6911 2 роки тому +1

    Excellent explanation . Would it be possible for you to simulate the transesterification reaction of an oil in a batch reactor?

    • @apm
      @apm  2 роки тому +1

      It looks like it is possible. See this publication: Yusuff, A.S., Ekwonu, M.C., Ajala, I.I., Adeyi, A.A. and Awofolaju, T.T., 2014. Modelling and simulation of transesterification reaction in a batch reactor. Journal Of Bioprocessing And Chemical Engineering, p.V1i1.

  • @ganeshmaddikeri
    @ganeshmaddikeri 4 роки тому +1

    Thanks Dr John
    any tutorial for solving PDE or any PDE library in python?

    • @apm
      @apm  4 роки тому

      Yes, here are tutorials on hyperbolic and parabolic PDEs in Python: apmonitor.com/do/index.php/Main/PartialDifferentialEquations

  • @cbvaswar8345
    @cbvaswar8345 4 роки тому +1

    Is it possible to solve a set of non-linear equations in this approach?

    • @self-made-datascientist1181
      @self-made-datascientist1181 4 роки тому

      It is, you can search for Newton Raphson to solve nonlinear equation systems using numeric method approach

    • @self-made-datascientist1181
      @self-made-datascientist1181 4 роки тому

      There is a library in python called, scipy.integrate.ode that is used for solving differential equations using numeric methods and can take non linear equations

    • @apm
      @apm  4 роки тому

      Yes, nonlinear equations are allowed. Check out Gekko and ODEINT. With Gekko, you can also solve high index DAEs, unlike scipy.integrate.ODEINT

  • @AliGabrielLara
    @AliGabrielLara 5 років тому +2

    Hello Dr. John
    It was a little mistake when you extracted the concentration of D from variable C (solution of odeint).
    Otherwise, thank you very much for allowing us to learn from you

    • @apm
      @apm  5 років тому +2

      You are correct - there is a mistake at 16:06. It should be Cd = C[:,3].

    • @AliGabrielLara
      @AliGabrielLara 5 років тому +1

      APMonitor.com thank you, Sir. Please continue bringing us ways to do amazing things.
      It would be an honor to meet you at BYU

    • @apm
      @apm  5 років тому +1

      @@AliGabrielLara Thanks!

  • @ahmedrezk82
    @ahmedrezk82 3 роки тому +1

    Superb

  • @perceptronsaber4479
    @perceptronsaber4479 5 років тому +1

    well done