Python Forum
Hi can you help me this reaction kinetics
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hi can you help me this reaction kinetics
#3
When I run the posted script just as it is, I get:
Error:
Traceback (most recent call last): File "tester.py", line 31, in <module> Conc = odeint(rxn,M0,t) File "/home/bash/.local/lib/python3.8/site-packages/scipy/integrate/odepack.py", line 241, in odeint output = _odepack.odeint(func, y0, t, args, Dfun, col_deriv, ml, mu, File "tester.py", line 25, in rxn dY1dt = 2*K1*M[1]**3+K2*M[1]*M[3]-K3*M[1](M[3]-M[4])-K4*M[2]*(M[3]-M[4])-(K5+K6)*M[3]*M[4] TypeError: 'numpy.float64' object is not callable shell returned 1
Reply


Messages In This Thread
RE: Hi can you help me this reaction kinetics - by BashBedlam - Feb-11-2022, 06:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I tried to solve basic reaction kinetics ode but i cant run the simulation. Plz help Vengdasan 1 1,302 Feb-08-2022, 12:16 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020