Optimizing equations - Mathcad 14
Optimizing equations - Mathcad 14
(OP)
Hello,
I am looking for help with a optimization routine that will replace the trial and error method I normally use.
I am trying to find the least number of panels for a given length (L) and gap (G). The panel width (x) also needs to be less than a specified width (y).
Thank you.
I am looking for help with a optimization routine that will replace the trial and error method I normally use.
I am trying to find the least number of panels for a given length (L) and gap (G). The panel width (x) also needs to be less than a specified width (y).
Thank you.

RE: Optimizing equations - Mathcad 14
Take initial 'n' number of panels guess as total width /(y + gap) rounded up to nearest whole number. This will always ensure you are slightly less than y width because you're counting an extra gap in doing this. Provided the gap is small compared to panel width this will be correct.
Then solve 1st equation for actual 'x' width of individual panels? Compare to ensure x<y.
If gap is large relative to panel width then compare n+1 panels and see if it results in an extra panel being able to satisfy x<y.
Probably a more elegant way to do it, but it's a fairly simple linear system.
RE: Optimizing equations - Mathcad 14
RE: Optimizing equations - Mathcad 14
https://files.engineering.com/getfile.aspx?folder=...
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: Optimizing equations - Mathcad 14
Here is an example of my version.