Skip to main content
8-Gravel
December 2, 2020
Question

Efficiency Optimization

  • December 2, 2020
  • 1 reply
  • 4329 views

Hi Guys,

I have one question about how to use mathcad prime 6 to optimize two parameters in order to get a highest efficiency. For example, I have two variables A and B as input, and I already wrote one efficiency calculation file that using this two as variables, and output an fixed efficiency result. How can I use the optimization function in prime 6 that can help me get a highest efficiency (3D curve) when the two input A and B vary in a specific range?

If you have any examples, please let me know. Thanks.

1 reply

23-Emerald IV
December 2, 2020

Please attach your Prime worksheet.

That should help us to help you.

 

Success!

Luc

WeiXu8-GravelAuthor
8-Gravel
December 2, 2020

Hi, attached is my calculation file for a set of fixed variables, such as switching frequency fs=15kHz and inductance Lpri=35uH.

 

WeiXu_0-1606929044708.png

And the final efficiency curve is showed in the second last section. Attached is the efficiency curve, but I can do one more step calculation. I can use only one value to represent the final optimization target, efficiency index.

For example, CEC Efficiency = 0.04 x Eff10% + 0.05 x Eff20% + 0.12 x Eff30% + 0.21 x Eff50% + 0.53 x Eff75%. (California Energy Commission (CEC) has proposed another weighting, which is now specified for some inverters used in the US.)

WeiXu_1-1606929123874.png

What I want to achieve is that I can vary the switching frequency into a specific range, such as 15kHz to 100kHz, and also specify Lpri ranging from 20uH to 100uH. Then I should be able to get a 3D matrix that has variable fs, Lpri as inputs and efficiency as output.

Hope you can take a look at this file. I know it's a bit complicated, but I can try to simplify the calculation algorithm. If you have any idea about how to use prime 6 to achieve this kind of optimization methodology, please let me know. Thanks.

 

 

WeiXu8-GravelAuthor
8-Gravel
December 4, 2020

Still working on the optimization. 

"Other options are to save the graph data to a file and plot it with other software."

I tried to export my graph into excel and then use MATLAB to re-plot it, looks good.

But do you know what should I do if it's 3D graph (like the one attached below)? Do you have any example?

I know for the f(x,y) below, we can easily re-write the function and plot it using MATLAB, but what if it's a more complicated calculation result that can only generated by MathCAD? 

 
 

Capture.JPG