how to extract data from xsteam to simulink using lookup tables?

2 ビュー (過去 30 日間)
vishnuvardhan naidu tanga
vishnuvardhan naidu tanga 2020 年 5 月 26 日
p = p_in;
a = 1000;
b = 0.01;
h_vap = zeros(1,((a-1)/b));
L = length(h_vap);
for i = 1:L
T(i)= 1+b*i;
h_vap(i) =XSteam('h_pT',p, T(i));
end
I am calling the data using teh basic code and I am using h_vap and T as break points and table data. The value i am getting is not correct, but when i use
XSteam('h_pT',10, 200)
the value is accurate. Please let me know is there any way to obtain data.

回答 (0 件)

カテゴリ

Help Center および File ExchangeLookup Tables についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by