Giter VIP home page Giter VIP logo

xsteam's Introduction

XSteam was developed by Magnus Holmgren in 2006 and was published at www.x-eng.com. Unfortunately that site has been unavailable for several years now, making it very difficult to obtain the various versions of XSteam. Having used XSteam extensively in the past, I have created this repo to ensure that it remains available.

XSteam

XSteam is a implementation of the IAPWS IF97 standard formulation. It provides accurate data for water and steam and mixtures of water and steam properties from 0 - 1000 bar and from 0 - 2000°C. It is available for MATLAB, Excel, OpenOffice, and as a DLL.

Provided thermodynamic properties are:

  • Temperature
  • Pressure
  • Enthalpy
  • Specific volume
  • Density
  • Specific entropy
  • Specific internal energy
  • Specific isobaric heat capacity
  • Specific isochoric heat capacity
  • Speed of sound
  • Viscosity
  • Vapour fraction

All properties can be calculated with the inputs, p and T known, p and h known, h and s known and some with pressure and density known.

XSteam is a full implementation of the IF-97 formulation including all regions and all backward functions for good calculation speed. The code is speed optimized with pressure and enthalpy as inputs for dynamic simulations.

Examples:

>> XSteam('h_pt', 1, 20) # returns the enthalpy of water at 1 bar and 20 °C
>> 84.0118 kJ/kg

>> XSteam('rho_ph', 1, 3000) # returns the density of steam at 1 bar and 3000 kJ/kg
>> 0.4056 kg/m3

>> XSteam('w_pt', 1, 20) # returns the speed of sound at 1 bar and 20  °C
>> 1483.4 m/s

>> XSteam('tSat_p', 1) returns the saturation temperature at 1 bar.
>> 99.6059  °C

The X Steam Tables are the perfect tool both for replacing paper tables and for advanced calculations. The XSteam tables are open source and free of charge.

xsteam's People

Contributors

kurtjacobson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.