How can i Extract data from Xsteam?

2 visualizaciones (últimos 30 días)
vishnuvardhan naidu tanga
vishnuvardhan naidu tanga el 29 de Mayo de 2020
Comentada: Matilda Kylberg el 1 de Dic. de 2021
Hello,
I am trying to extract data from steam table for pressure range of 20bar and temperature range of 1000. I have written a code to call the data but it takes a lot of time and at end the values are just NaN. the code is as follows:
a = 1000;
b = 0.1;
c = 20;
h_out_SH = zeros(1,((a-1)/b));
L = length(h_out_SH);
M = length(h_out_SH);
for i = 1:L
for j = 1:M
T_SH(i)= 1+b*i;
p(j) = 1+c*j;
h_out_SH(i) = XSteam('h_pT', p(j), T_SH(i));
end
end
can someone please clear me this. Thank you.
  1 comentario
Matilda Kylberg
Matilda Kylberg el 1 de Dic. de 2021
I have the exact same problem! Can't seem to use values thath were just calculated as input in XSteam. Please help us!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by