Skip to main content
1-Visitor
December 13, 2014
Solved

How can I find maximize value?

  • December 13, 2014
  • 19 replies
  • 5687 views

33.PNG

I want to find max value about omega when v is variable.

I make solve block and I retrict each range.

But I can't get omega max with variable v.

In other words, I want to find max location about curves.

Best answer by Werner_E

jinsuk Lee wrote:

thank you for information

You can do as shown below, but I would suggest that you make your function P() more stable as it will fail for certain values. At least put a try command around it and replace values where it fails by NaNs.

I used a vector with just 24 values for Omega as calculation time for any valy of P is quite long. That way the accuracy is just 0.5 rpm. For an accuracy of two decimals you would need more than thousend values in Omega and I bet it will take much longer than using maximize (which still yields a more accurate result).

1.png

19 replies

24-Ruby IV
December 13, 2014

Send please the Mathcad-sheet

jlee-21-VisitorAuthor
1-Visitor
December 14, 2014

I am sorry. l am late

I attached my file.

19-Tanzanite
December 14, 2014

There is another spreadsheet of data required: NREL-5MW data.xlsx.

jlee-21-VisitorAuthor
1-Visitor
December 14, 2014

I delete unnecessary files to clean my file according to Werner opinion and then I attached my file again

Werner_E
25-Diamond I
December 14, 2014

Sorry, can't help. Doubt that all stuff is really needed. Still too large and far to slow - but probably thats just me.

jlee-21-VisitorAuthor
1-Visitor
December 14, 2014

that's okay.

Anyway, I wonder how to reduce calculating time in my work.

I don't know how I can reduce althogh you said to me to reduce calculating before.