I'm working on a thermodynamic problem, and i have to find a pressure value that solves:
Value of η and are known, are function of that is the value i'm looking for.
in particular:
s9_1s = s8 ; %known
x9_1 = 0.98;h9_1s = XSteam('h_ps',p9_1,s9_1s); % as you can see h values that are functions in wich p9_1 (that is the objective) is a parameter.
x9_1s = XSteam('x_ps',p9_1,s9_1s);h9_1 = XSteam('h_px',p9_1,x9_1);
The problem is that i can't write in a explicit form, because of the function XSteam, so i'm not able to use Fsolve or similar.
Can anyone give me some help?
Best Answer