is it possible to determine the values of the input parameters ca, cb, cc and cd for which the cc value at the output would be maximal?
2 views (last 30 days)
Show older comments
is it possible to determine the values of the input parameters ca, cb, cc and cd for which the cc value at the output would be maximal?
dca/dt=-theta(1) * ca-theta(2).cA;
dcb/dt= theta(1).*cA+theta(4).*cc*theta(3).*cb-theta(5).*cd
dcc/dt= theta(2).*cA+theta(3).*cb*theta(4).*cCtheta(6).*cd
dd/dt= theta(5).*cb*theta(6).*cd
Values for all thetas are known.
Thanks in advance.
20 Comments
Walter Roberson
on 5 May 2019
I went through the scenarios in
If you start with ca 0, cb 0, cd 0, then the output for cc will be the same as your input for cc. Therefore you can get any output you want for cc by using that same input for cc. This is the same as Torsten told you, that to maximize cc then start with cc being +infinity.
This is the "generate1" scenario. You start with all 0 and you get the same cc output as input. Nothing ever changes.
The "generate2" scenario starts with a non-zero cb, and has a cb that changes over time. However, the cc stays the same as input, so to maximize cc, start with cc being infinity.
The "generate3" scenario does have a cc that changes. But look at it: it has terms that are independent of time, and it has a term which is -ca0*theta2*exp(-(theta1+theta2)*t) / (theta1+theta2) .
If theta1+theta2 is positive, then -(theta1+theta2)*t gets more negative as time increases, and exp() of a more negative term decreases towards 0, so -ca0*theta2 times the term will get closer and closer to 0 (even if ca0 or theta2 are negative.) Thus in that situation, yes, cc would increase, but it would increase towards a constant upper bound determined by the terms that are independent of time.
If theta1+theta2 is negative, then -(theta1+theta2)*t gets more positve as time increases, and exp() of a more positive term increases rapidly, and the negative of that grows rapidly smaller. But with the division by (theta1+theta2) and (theta1+theta2) being negative, that would give you a term that would grow rapidly larger in time. But theta1+theta2 would have to be negative, and your input theta are all positive.
If you have to maximize cc, and you want one of the situations where cc is not constant, then you are down to two possibilities:
- The generate3 scenario where cc starts as small as it can ever get and grows towards a constant upper bound as the exponential contribution of it decreases until you can ignore it; or
- The formulation with ca(0) non-zero, cb(0) non-zero, cc(0) non-zero, cd(0) irrelevant, in which case the situation is too complicated to analyze analytically without a lot of work. ca(t), cb(t), cc(t) would all have to be expressed in terms of functions of integrals.
Answers (0)
See Also
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!