osl-pocs / fqlearn

A library to help teaching mass transfer and thermodynamics.
https://osl-pocs.github.io/fqlearn/
Other
2 stars 0 forks source link

Include steam diagrams #9

Open EverVino opened 9 months ago

EverVino commented 7 months ago

Name SteamTable()

sistema = SteamTable()
sistema.data() # Imprimir la tabla de 20 en filas saturado
sistema.plot("Pv")
sistema.plot("PT")
sistema.plot("TS")
sistema.3dplot()

punto = State(p=784) # si solo es un valor se asume que es saturado
punto.hl, punto,hv, punto.ul, punto.uv, punto,sl, punto.sv
punto(x=.5) # Calidad de Vapor
punto2 State(p=34, T=124) # Si son dos valores sobrecalentado
punto.h, punto.u, punto,sl

https://www.nist.gov/system/files/documents/srd/NISTIR5078.htm