Choi Okos Equation GUI

by

 

Find ThermoPhysical Properties of Foods using the Choi Okos Equation w/ GUI

[W,I]=frachieloagua(w,i,p,f,c,fi,a,T)
function [W,I]=frachieloagua(w,i,p,f,c,fi,a,T)
MW=18.02;
MP=50000;
MC=180.2;
MF=50000;
MFi=342.3;
MA=37.42;
if T<0
    XA=exp(333.5*MW*(1/273.15-1./(T+273.15))/8.31441);
    msi=sum(p/(100*MP)+f/(100*MF)+c/(100*MC)+fi/(100*MFi)+a/(100*MA));
    ma=MW*XA.*msi./(1-XA);
    i=w-ma*100;
    w=ma*100;
else
    i=0;
end
I=i';
W=w';

Contact us