Code written by Eric Lemmon. Posted on the NIST website. But now in JavaScript, the best EOS for natural gases straight from the browser.
Github page in the following link...
Code written by Eric Lemmon. Posted on the NIST website. But now in JavaScript, the best EOS for natural gases straight from the browser.
License: MIT License
Code written by Eric Lemmon. Posted on the NIST website. But now in JavaScript, the best EOS for natural gases straight from the browser.
Github page in the following link...
I have a doubt on how you calculate the residual Helmholtz energy, specifically the first derivative with the reduced density.
According to the GERG-2008 paper the polinomial term should be:
In your code, around line 555:
for(let k = 1; k <= kpol[i]; k++){
ndt = x[i] * delp[doik[i][k]] * taup[i][k];
ndtd = ndt * doik[i][k];
ar[0][1] = ar[0][1] + ndtd;
For what I understood, taup[i][k]
equals to n_{oi,k} * tau ^ t_{oi,k}
. So each term of the derivative is calculated like:
delta^d_{oi,j} * n_{oi,k} * tau ^ t_{oi,k} * d_{oi,j}
When the term of the paper is:
delta^(d_{oi,j}-1) * n_{oi,k} * tau ^ t_{oi,k} * d_{oi,j}
I'm sure your code work, since I've tested a bit of it and reached good results, could you tell me what I'm reading wrongly?
(I'm trying to make my own implementation on Python and Fortran and not getting the expected results)
Thank you for your time!
Hi Joaquin,
There's no licence file in this repository, so I'm not sure whether you're open to this being used by others or if the code is just here for reference.
Would you mind adding a licence file? The convention is simply to put your licence terms in a file named LICENCE.md in the root of your repository. (I'd love to see it with an MIT licence, but anything describing permitted use would be helpful)
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.