Solving system of non-linear equations

2 Ansichten (letzte 30 Tage)
chinhui ooi
chinhui ooi am 10 Feb. 2016
Bearbeitet: imen baklouti am 27 Apr. 2016
Hi, I am new to this program. I am currently given one project, finding the steady state values of a wastewater treatment system using Activated Sludge Model (ASM model) which consist about 10 non-linear equations (means about 10 components) or more than that simultaneously.
For further explanation, by using mass balance equation:
Accumulation = mass in - mass out + reaction - consumption
At steady state, accumulation = 0
I am given the inlet component value, the reaction and consumption equation is represented by ASM model, and the steady value of the component at the outlet is same as ASM model (reaction and consumption). Example mass balance of component x1:
0=x1i-x1+(x3*x5/x1)+x1*(1-x4)-(x2*x3)
With more than 10 equations and I want to get the steady state of x1,x2,x3.... simultaneously
1. How to solve this with reference of MATLAB coding? (numerically like secant, newton method? using fsolve? or any other idea?)
2. How can we determine if there is more than one steady state value? (graphical method??)
  1 Kommentar
imen baklouti
imen baklouti am 27 Apr. 2016
Bearbeitet: imen baklouti am 27 Apr. 2016
hi sir
please i need the equation of input qin (t) fresh water input flow thanks

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Torsten
Torsten am 10 Feb. 2016
ad 1) Use fsolve.
ad 2) Use different initial guesses for x1, x2, ... .
Best wishes
Torsten.
  2 Kommentare
chinhui ooi
chinhui ooi am 11 Feb. 2016
thanks for answering my question any relevant reference about fsolve?
any other method to detect more than one steady state value? is it possible to use graphical method with relevant reference??
Torsten
Torsten am 11 Feb. 2016
thanks for answering my question any relevant reference about fsolve?
any other method to detect more than one steady state value? is it possible to use graphical method with relevant reference??
Graphical methods for a system with 5 unknowns ? No.
Best wishes
Torsten.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by