I have a model (compressible flow through o r i f i c e s in series) that utilizes a solve block to find the mass flow and pressures. It works great for any single point analysis. I then tried to feed it multiple flow areas as a vector and haven't gotten it to work. It's slightly unique in that I have an IF inside the solve block. I have tried to vectorize everything and rearrange the IF, all to no avail.
PDF and 3.1 file attached.
P.S. I know that I can rework this to use the solve block as a function and call it that way to repeat calculations. That's just not what I'm after today.
P.P.S This is a dumbed-down version just to demonstrate the problem. No need to correct my physics as I know they're off.
Basically, I don't think Mathcad likes this IF inside solve block when trying to solve for a vector of inputs.