Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 12488

Re: Solve block ODE with nested functions take 2

$
0
0
  1. h(0 s)=0m, you omittes the unit s
  2. odesolve(h(t),t,...) you have V instead of t
  3. Q.out is feeded with V which is a vector, so the result is a vector. You want this to be the derivative of h wrt t - that can't work.

You still confuse others and I guess yourself with using the same name for completely different things. before we enter the solve block h and V are vectors. Then you try to derive a function h. You have to decide what V should be. If its dependent on time you have to make it a function of time.


Viewing all articles
Browse latest Browse all 12488

Trending Articles