How to do optimization?
조회 수: 1 (최근 30일)
이전 댓글 표시
optimization of efficiency is required for variation of following parameters,
d = 5: 1: 15; I_t = 400: 100: 1200; U = 2: 0.1: 3; Fr = 0.5: 0.1: 0.9;
Ti = 300; To = 350; x =0.9; m = 0.5; Cp = 4200; F = 0.8;
eta = Q/I_t*A; %efficiency
A = pi*(d^2)/4;
Q = A*Fr*(S - U (Ti - To));
Fr = m*Cp*(1-exp((-F*U*A)/(m*Cp)));
S = x*I_t;
댓글 수: 0
답변 (1개)
Alan Weiss
2021년 7월 2일
I am not 100% sure that I understand you, because you have two different definitions of Fr, namely
Fr = 0.5: 0.1: 0.9;
Fr = m*Cp*(1-exp((-F*U*A)/(m*Cp)));
In any case, it seems that your problem is straightforward.
eta = Q/I_t*A; %efficiency
I suppose that you are trying to maximize eta. In that case, you should maximize Q and A and minimize I_t.
I_t = 400: 100: 1200;
So minimizing I_t means taking I_t = 400.
A = pi*(d^2)/4;
d = 5: 1: 15;
Maximizing A means taking d = 15.
Q = A*Fr*(S - U (Ti - To));
Fr = 0.5: 0.1: 0.9;
Ti = 300; To = 350; % So Ti - To = -50
U = 2: 0.1: 3; % So -U*(Ti - To) = 50*3 at a maximum
S = x*I_t; x =0.9; % So Q/I_t = A*Fr*x + A*Fr*50*3/I_t
% So indeed you want to minimize I_t to maximize Q
Maybe I misunderstand something, but it doesn't seem to me that there are any non-monotone things here.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 PID Controller Tuning에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!