psychart
Version:
View air conditions on a psychrometric chart
61 lines (60 loc) • 1.17 kB
TypeScript
import { Datum, Point, PsychartOptions } from './types';
/**
* Represents a single air condition using several states.
*/
export declare class PsyState {
readonly state: Datum;
private readonly options;
/**
* Dry Bulb
*/
readonly db: number;
/**
* Relative Humidity
*/
readonly rh: number;
/**
* Wet Bulb
*/
readonly wb: number;
/**
* Dew Point
*/
readonly dp: number;
/**
* Humidity Ratio
*/
readonly hr: number;
/**
* Vapor Pressure
*/
readonly vp: number;
/**
* Moist Air Enthalpy
*/
readonly h: number;
/**
* Moist Air Volume
*/
readonly v: number;
/**
* Degree of Saturation
*/
readonly s: number;
/**
* Standard Atmospheric Air Pressure
*/
private readonly atm;
/**
* Maximum Humidity Ratio
*/
private readonly hrMax;
/**
* Initialize a new psychrometric state.
*/
constructor(state: Datum, options: PsychartOptions);
/**
* Convert this psychrometric state to an X-Y coordinate on a psychrometric chart.
*/
toXY(): Point;
}