Giter Club home page Giter Club logo

coolprop.jl-1's Introduction

test

CoolProp.jl

A Julia wrapper for CoolProp (http://www.coolprop.org)

This is not my work, and all the credit goes to the cool CoolProp contributors. I only put this together to make things easier for a friend of mine.

Installation

using Pkg
Pkg.add("CoolProp")

Usage

The API is described in http://www.coolprop.org/coolprop/HighLevelAPI.html.

You can obtain e.g. the boiling point of water like this:

using CoolProp
PropsSI("T", "P", 101325.0, "Q", 0.0, "Water")
373.1242958476844

The Unitful package is also supported. When you make a call to PropsSI using units, the result will also have the relevant units:

using CoolProp
using Unitful: °C, Pa

PropsSI("P", "T", 100°C, "Q", 0.0, "Water")
101417.99665788244 Pa

Humid air properties are available using the HAPropsSI function, e.g. getting the enthalpy at 20°c and 50 % relative humidity:

using CoolProp
using Unitful: °C, Pa

HAPropsSI("H", "Tdb", 20°C, "RH", 0.5, "P", 101325Pa)
38622.83892391293 J kg⁻¹

coolprop.jl-1's People

Contributors

dana-laboratory avatar alblaz avatar barche avatar vimalaad avatar ibell avatar ederag 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.