Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
I'm having trouble getting a minimization function to work for my HETP graph.
Solved! Go to Solution.
That did help get an answer, but I am looking for the minimum of the top line of the graph on the second page. The minimum should be around 0.167 mm
Your plot is the answer in cm/s.
I see now, thank you!
As @ttokoro already noticed - minimize is quite sensible with respect to the initial guess value.
You may also use the root of the derivative and you don't even need to use symbolic calculation if you use the "root" function ("root" function with a provided guess value or a solve block with "find" would be other numeric ways to determine the desired position).
As you can see, using the derivative and the "root" function returns a result which is slightly more accurate (the corresponding H-value is slightly smaller).
Here is even another way to skin this cat, but I won't recommend it.
First we create vectors for u- and corresponding H-values and then use the "min" function to determine the smallest H-value. Lookup then gives us the corresponding velocity value.