cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

solving a system of n ODEs

LertPianapitham
5-Regular Member

solving a system of n ODEs

Dear all,

 

im trying to solve the energy balance equations of a system of heat exchangers that the in- and outlets are linked with the others. I think that the equation should look like this, but i cannot bring the Odesolve to function:

 

 

Can someone tell me, how to finish that? Can Odesolve calculate those T.i(z) in vector? In the attached file, you can see my test value of pairing matrices and initial values.

 

Thx!

 

ps.: Im using Mathcad 14

1 REPLY 1

Hi,

Consider the first differential equation in the solution block. In the cell-pairing column we have the product of the matrix M.pairh for a vector that  gives a vector, and to which is added the vector T1.initial, I suppose, therefore that T1 (z) is a vector !!! If on the right of an equation, there is a vector, also on the left there must be a vector and then T1 (z) is a vector as well as T2 (z) and T3 (z). And so it becomes all very strange. See below:

strangness.jpg

Announcements

Top Tags