Set off differential Equations in Simulink

In summary, the conversation is about a problem with modeling the change in biomass over time. The person has tried using separate equations for biomass, S, and V, but has not been able to achieve the expected exponential growth. Suggestions are given to solve this problem, including using a numerical method and checking initial conditions. Collaboration and assistance are also offered.
  • #1
rem88
5
0
hi,

I have a problem where i am trying to model a change in X (biomass) over time, its a growth of biomass over time.

I have three equations that are linked

The first for Biomass is

dX/dt = [0.25*S/(0.005 + S)]X - (X/V)*dv/dt

Where dv/dt = 529.68*EXP(0.177t)

and ds/dt = 120.37*EXP(0.177t) - 0.074.

I tried doing the equation for S seperatly, i used a clock and gain into a math function (e^u), then mulitplied by another gain of 529.68. So this gave a change in S over time. I then linked this into the formula for dX/dt.

I did the same for dV/dt. but when i plot the graph all i see is a straight line, when it should be expontenitial growth which levels off.

And to simplify things i kept V constant as 2772.3 for now (for x/v)

I would appreciate any help as i have been stuck on this for ages.

Thanks.
 
Physics news on Phys.org
  • #2


Hi there,

Thank you for sharing your problem and your approach to solving it. It seems like you have a good understanding of the equations involved and have attempted to solve them by breaking them down into smaller parts. However, it is important to note that these equations are linked, meaning that the changes in S and V will also affect the rate of change in X.

One way to approach this problem is to use a numerical method such as Euler's method or Runge-Kutta method to solve for X, S, and V simultaneously. This will take into account the interdependence of the equations and provide a more accurate solution. You can also try using a software program like MATLAB or Python to solve these equations numerically.

Additionally, it might be helpful to check your initial conditions and make sure they are appropriate for the system you are modeling. For example, if your initial biomass is too high or too low, it may affect the overall growth pattern.

I hope this helps and I wish you the best of luck in solving this problem. If you need any further assistance, please don't hesitate to reach out. As scientists, we are always happy to help and collaborate. Good luck!
 
  • #3


Hi, it seems like you are trying to model a growth process using differential equations in Simulink. It's great that you have identified the equations that are linked and have tried to implement them in Simulink.

To solve your issue, I would suggest breaking down the equations into smaller parts and implementing them one by one in Simulink. For example, you can start with just the equation for dX/dt and see if you are able to get the desired output. If yes, then move on to adding the other equations one by one and checking the output at each step.

Also, make sure to check the units of your inputs and outputs in Simulink as they should be consistent with the equations. Additionally, you can try using different solvers in Simulink to see if that makes a difference in the output.

If you are still facing difficulties, I would recommend reaching out to the Simulink community or seeking help from a Simulink expert who can guide you through the process.

I hope this helps and good luck with your modeling!
 

What is Simulink?

Simulink is a visual programming environment in MATLAB that allows users to model and simulate dynamic systems, including set off differential equations.

What are set off differential equations?

Set off differential equations are a type of differential equation where the rate of change of a variable is dependent on the value of another variable. They are commonly used to model systems that involve delays or feedback.

How do I create a set off differential equation model in Simulink?

To create a set off differential equation model in Simulink, you can use the Differential Equation block from the Simulink Library Browser. This block allows you to specify the equations and initial conditions for your system.

What are some common applications of set off differential equations?

Set off differential equations are commonly used in fields such as biology, physics, and engineering to model systems with delays or feedback. They are also used in control systems and circuit analysis.

How can I verify the accuracy of my set off differential equation model in Simulink?

You can verify the accuracy of your set off differential equation model in Simulink by comparing the simulation results to known analytical solutions or by running sensitivity analyses with different parameter values. You can also use the built-in debugging tools in Simulink to identify and fix any errors in your model.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
579
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Introductory Physics Homework Help
Replies
9
Views
6K
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Differential Equations
Replies
25
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Introductory Physics Homework Help
Replies
16
Views
1K
  • Classical Physics
Replies
15
Views
537
Back
Top