Giter Site home page Giter Site logo

Comments (2)

sashahafner avatar sashahafner commented on July 29, 2024

For example, at 35C for headspace and measurement, with 3 atm in headspace, error is around 1%:

> stdVol(1, temp = 35, pres = 3, rh = 1)
Using a standard pressure of 1 atm and standard temperature of 0 C for standardizing volume.
[1] 2.609401
Warning message:
In stdVol(1, temp = 35, pres = 3, rh = 1) :
  pres ranges from 3 atm to 3 atm. Is this really correct?

> stdVol(1, temp = 35, pres = 3, rh = 1/3)
Using a standard pressure of 1 atm and standard temperature of 0 C for standardizing volume.
[1] 2.642638
Warning message:
In stdVol(1, temp = 35, pres = 3, rh = 1/3) :
  pres ranges from 3 atm to 3 atm. Is this really correct?
> 1 - 261/264
[1] 0.01136364

from biogas.

sashahafner avatar sashahafner commented on July 29, 2024

For 3 atm and measurement at 20C, it is around 0.4%.

> stdVol(1, temp = 35, pres = 3, rh = 0, temp.std = 20, pres.std = 1)
Using a standard pressure of 1 atm and standard temperature of 20 C for standardizing volume.
[1] 2.853967

> biogas:::watVap(temp = 20 + 273.15)
[1] 2333.441
> biogas:::watVap(temp = 35 + 273.15)/2.85
[1] 1971.077
> stdVol(1, temp = 20, pres = 1, rh = 1)
Using a standard pressure of 1 atm and standard temperature of 0 C for standardizing volume.
[1] 0.9102041
> stdVol(1, temp = 20, pres = 1, rh = 1971/2333)
Using a standard pressure of 1 atm and standard temperature of 0 C for standardizing volume.
[1] 0.9135512
> 1 - 910/914
[1] 0.004376368

from biogas.

Related Issues (20)

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.