LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write cost function in MPC

Hello everyone.. I need little guidance please .... J

I have attached image of equations, i want to implement MPC but don’t know how to write cost function. In equation (11) energy of fan is written ,,, i have write it in labview and now have Ek value 850W.. after that I don’t know how to do with equations 12-14. Please guide me how to implement remaining equations

0 Kudos
Message 1 of 3
(2,383 Views)

hello,

I saw the equations you posted. if you could write the equation 11 i assumed that the only operation you have to learn for completing equations 12-14 is how to integrate. I found and article that explains how to integrate with a LV node check it out and let me know if you could solve it.

 

http://zone.ni.com/reference/en-XX/help/371361H-01/gmath/integral_xt/

0 Kudos
Message 2 of 3
(2,314 Views)

thank you so much for your kind reply and your precious time Sir... In following attached VI i have implemented some part of E_k. and i will get the remaining part soon Insha allah.. let it be, if i get E_k value lets say 500W energy, than how to solve remaining two equations, please guide me in remaining two equations... 

eq1.png

0 Kudos
Message 3 of 3
(2,294 Views)