Confusing results with ODEsolve and DAE equation sets.
- September 1, 2015
- 4 replies
- 2361 views
Hi there! I'm messing around with the start of a Mathcad Prime 3.0 model of a hydraulic valve and have built a set equations that partially define it. I stopped because there are several things happening that confuse me. Please take a look and see if you can explain the issues and help me work around them.
1. In my odesolve statement you'll see the one variable name turned green. I can change the variable's name and it still happens. Why??? And what does it indicate?
2. The A(t) formulas can't generated a negative value. The pi/2 vertical shift to atan forces its low limit to 0. Yet you'll see on the graph that this value dips negative
3. The initial values for the Q's don't show up correctly at x=0, but they calculate correctly further out in the x-axis
4. The A(t) plots (red and black) should be 180 degrees out of phase with each other. One's min should coincide with the other's max, but there's a shift. Think of it this way... The motion equation produces an x value that represents spool position, both A(t) equations reference the same x.
I'm so far removed from solving differential equations and even algebraic equation sets, so I'm going to guess there's operator error involved. But on the other hand, mixing ODE's with algebraic equations in a solve block does have complications from what I've read, perhaps I'm stumbling onto some of those???
Any help would be greatly appreciated!

