@adaskothebeast/psychrometrics
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

Psychrometrics

Description

Psychrometrics formulas

Installation

yarn add @adaskothebeast/psychrometrics

or

npm install @adaskothebeast/psychrometrics --save

Usage

It is important to invoke Initializer.initialize before usage function saturationVaporPressureToTemperature. It stores values of function temperatureToSaturationVaporPressure in memory and then uses monotone cubic Hermit interpolation to interpolate value based on stored values.

  Initializer.initialize();

You have ability to setup decimal point accuracy of stored values (meaningful decimal places). Default is 2 -> $10^{-2}$ = 0.01. Values are stored between -100°C and 100°C - so when decimal point accuracy is 2 then 20k values are stored in memory. Decimal point accuracy can be between 0 and 4.

Decimal point accuracy Number of values stored
0 200
1 2000
2 20000
3 200000
4 2000000

Package Sidebar

Install

npm i @adaskothebeast/psychrometrics

Weekly Downloads

5

Version

6.0.0

License

AGPL-3.0-or-later

Unpacked Size

162 kB

Total Files

171

Last publish

Collaborators

  • adasko