jsthermalcomfort 1.1.2 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/models/adaptive_ashrae.js +18 -13
- package/lib/cjs/models/adaptive_en.js +28 -9
- package/lib/cjs/models/heat_index.js +25 -2
- package/lib/cjs/models/humidex.js +8 -0
- package/lib/cjs/models/index.js +4 -1
- package/lib/cjs/models/phs.js +32 -14
- package/lib/cjs/models/pmv_ppd.js +9 -16
- package/lib/cjs/models/set_tmp.js +7 -11
- package/lib/cjs/models/two_nodes.js +10 -4
- package/lib/cjs/models/use_fans_heatwave.js +7 -11
- package/lib/cjs/models/wind_chill_temperature.js +42 -0
- package/lib/cjs/psychrometrics/t_o.js +0 -25
- package/lib/cjs/types/models/adaptive_ashrae.d.ts +1 -1
- package/lib/cjs/types/models/adaptive_ashrae.d.ts.map +1 -1
- package/lib/cjs/types/models/adaptive_en.d.ts +1 -1
- package/lib/cjs/types/models/adaptive_en.d.ts.map +1 -1
- package/lib/cjs/types/models/heat_index.d.ts.map +1 -1
- package/lib/cjs/types/models/humidex.d.ts.map +1 -1
- package/lib/cjs/types/models/index.d.ts +3 -1
- package/lib/cjs/types/models/index.d.ts.map +1 -1
- package/lib/cjs/types/models/phs.d.ts +13 -1
- package/lib/cjs/types/models/phs.d.ts.map +1 -1
- package/lib/cjs/types/models/pmv_ppd.d.ts.map +1 -1
- package/lib/cjs/types/models/set_tmp.d.ts.map +1 -1
- package/lib/cjs/types/models/two_nodes.d.ts.map +1 -1
- package/lib/cjs/types/models/use_fans_heatwave.d.ts.map +1 -1
- package/lib/cjs/types/models/wind_chill_temperature.d.ts +4 -0
- package/lib/cjs/types/models/wind_chill_temperature.d.ts.map +1 -0
- package/lib/cjs/types/psychrometrics/t_o.d.ts +0 -15
- package/lib/cjs/types/psychrometrics/t_o.d.ts.map +1 -1
- package/lib/cjs/types/utilities/index.d.ts +3 -2
- package/lib/cjs/types/utilities/index.d.ts.map +1 -1
- package/lib/cjs/types/utilities/utilities.d.ts +28 -35
- package/lib/cjs/types/utilities/utilities.d.ts.map +1 -1
- package/lib/cjs/utilities/index.js +3 -2
- package/lib/cjs/utilities/utilities.js +138 -125
- package/lib/esm/models/adaptive_ashrae.js +19 -14
- package/lib/esm/models/adaptive_en.js +28 -9
- package/lib/esm/models/heat_index.js +24 -2
- package/lib/esm/models/humidex.js +8 -0
- package/lib/esm/models/index.js +3 -1
- package/lib/esm/models/phs.js +32 -14
- package/lib/esm/models/pmv_ppd.js +10 -17
- package/lib/esm/models/set_tmp.js +8 -12
- package/lib/esm/models/two_nodes.js +10 -4
- package/lib/esm/models/use_fans_heatwave.js +8 -12
- package/lib/esm/models/wind_chill_temperature.js +39 -0
- package/lib/esm/psychrometrics/t_o.js +0 -24
- package/lib/esm/types/models/adaptive_ashrae.d.ts +1 -1
- package/lib/esm/types/models/adaptive_ashrae.d.ts.map +1 -1
- package/lib/esm/types/models/adaptive_en.d.ts +1 -1
- package/lib/esm/types/models/adaptive_en.d.ts.map +1 -1
- package/lib/esm/types/models/heat_index.d.ts.map +1 -1
- package/lib/esm/types/models/humidex.d.ts.map +1 -1
- package/lib/esm/types/models/index.d.ts +3 -1
- package/lib/esm/types/models/index.d.ts.map +1 -1
- package/lib/esm/types/models/phs.d.ts +13 -1
- package/lib/esm/types/models/phs.d.ts.map +1 -1
- package/lib/esm/types/models/pmv_ppd.d.ts.map +1 -1
- package/lib/esm/types/models/set_tmp.d.ts.map +1 -1
- package/lib/esm/types/models/two_nodes.d.ts.map +1 -1
- package/lib/esm/types/models/use_fans_heatwave.d.ts.map +1 -1
- package/lib/esm/types/models/wind_chill_temperature.d.ts +4 -0
- package/lib/esm/types/models/wind_chill_temperature.d.ts.map +1 -0
- package/lib/esm/types/psychrometrics/t_o.d.ts +0 -15
- package/lib/esm/types/psychrometrics/t_o.d.ts.map +1 -1
- package/lib/esm/types/utilities/index.d.ts +3 -2
- package/lib/esm/types/utilities/index.d.ts.map +1 -1
- package/lib/esm/types/utilities/utilities.d.ts +28 -35
- package/lib/esm/types/utilities/utilities.d.ts.map +1 -1
- package/lib/esm/utilities/index.js +3 -2
- package/lib/esm/utilities/utilities.js +138 -124
- package/package.json +1 -1
|
@@ -41,6 +41,7 @@ const adaptive_en_js_1 = require("./adaptive_en.js");
|
|
|
41
41
|
* @param {boolean} limit_inputs - By default, if the inputs are outsude the standard applicability limits the
|
|
42
42
|
* function returns nan. If False returns pmv and ppd values even if input values are
|
|
43
43
|
* outside the applicability limits of the model.
|
|
44
|
+
* @param {boolean} [round_output=true] - if true, rounds `t_cmf` to one decimal place in SI before bounds are derived; if false, returns the unrounded values. Under `units = 'IP'` the rounded SI value is then converted to °F, so IP outputs carry the additional decimals from the °C-to-°F conversion.
|
|
44
45
|
*
|
|
45
46
|
* @returns {AdaptiveAshraeResult} set containing results for the model
|
|
46
47
|
*
|
|
@@ -84,9 +85,18 @@ const ADAPTIVE_ASHRAE_SCHEMA = {
|
|
|
84
85
|
v: { type: "number" },
|
|
85
86
|
units: { enum: ["SI", "IP"] },
|
|
86
87
|
limit_inputs: { type: "boolean" },
|
|
88
|
+
round_output: { type: "boolean", required: false },
|
|
87
89
|
};
|
|
88
|
-
function adaptive_ashrae(tdb, tr, t_running_mean, v, units = "SI", limit_inputs = true) {
|
|
89
|
-
(0, utilities_js_1.validateInputs)({
|
|
90
|
+
function adaptive_ashrae(tdb, tr, t_running_mean, v, units = "SI", limit_inputs = true, round_output = true) {
|
|
91
|
+
(0, utilities_js_1.validateInputs)({
|
|
92
|
+
tdb,
|
|
93
|
+
tr,
|
|
94
|
+
t_running_mean,
|
|
95
|
+
v,
|
|
96
|
+
units: units.toUpperCase(),
|
|
97
|
+
limit_inputs,
|
|
98
|
+
round_output,
|
|
99
|
+
}, ADAPTIVE_ASHRAE_SCHEMA);
|
|
90
100
|
const standard = "ASHRAE";
|
|
91
101
|
if (units.toUpperCase() === "IP") {
|
|
92
102
|
({
|
|
@@ -107,19 +117,14 @@ function adaptive_ashrae(tdb, tr, t_running_mean, v, units = "SI", limit_inputs
|
|
|
107
117
|
// Relation between comfort and outdoor temperature
|
|
108
118
|
let t_cmf = 0.31 * t_running_mean + 17.8;
|
|
109
119
|
if (limit_inputs) {
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
v: [v],
|
|
114
|
-
});
|
|
115
|
-
const trm_valid = t_running_mean >= 10.0 && t_running_mean <= 33.5 ? t_running_mean : NaN;
|
|
116
|
-
if (isNaN(tdb_valid[0]) ||
|
|
117
|
-
isNaN(tr_valid[0]) ||
|
|
118
|
-
isNaN(v_valid[0]) ||
|
|
119
|
-
isNaN(trm_valid))
|
|
120
|
+
const warnings = (0, utilities_js_1.check_standard_compliance)(standard, { tdb, tr, v });
|
|
121
|
+
const trm_valid = t_running_mean >= 10.0 && t_running_mean <= 33.5;
|
|
122
|
+
if (warnings.length > 0 || !trm_valid)
|
|
120
123
|
t_cmf = NaN;
|
|
121
124
|
}
|
|
122
|
-
|
|
125
|
+
if (round_output) {
|
|
126
|
+
t_cmf = (0, utilities_js_1.round)(t_cmf, 1);
|
|
127
|
+
}
|
|
123
128
|
let tmp_cmf_80_low = t_cmf - 3.5;
|
|
124
129
|
let tmp_cmf_90_low = t_cmf - 2.5;
|
|
125
130
|
let tmp_cmf_80_up = t_cmf + 3.5 + ce;
|
|
@@ -46,6 +46,7 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
46
46
|
* @param {boolean} [limit_inputs=true] - By default, if the inputs are outsude the standard applicability limits the
|
|
47
47
|
* function returns nan. If False returns pmv and ppd values even if input values are
|
|
48
48
|
* outside the applicability limits of the model.
|
|
49
|
+
* @param {boolean} [round_output=true] - if true, rounds the returned comfort temperature and bounds to one decimal place in the output unit (rounding is applied after any IP unit conversion); if false, returns the unrounded values.
|
|
49
50
|
*
|
|
50
51
|
* @returns {AdaptiveEnResult} result set
|
|
51
52
|
*
|
|
@@ -73,9 +74,18 @@ const ADAPTIVE_EN_SCHEMA = {
|
|
|
73
74
|
v: { type: "number" },
|
|
74
75
|
units: { enum: ["SI", "IP"] },
|
|
75
76
|
limit_inputs: { type: "boolean" },
|
|
77
|
+
round_output: { type: "boolean", required: false },
|
|
76
78
|
};
|
|
77
|
-
function adaptive_en(tdb, tr, t_running_mean, v, units = "SI", limit_inputs = true) {
|
|
78
|
-
(0, utilities_js_1.validateInputs)({
|
|
79
|
+
function adaptive_en(tdb, tr, t_running_mean, v, units = "SI", limit_inputs = true, round_output = true) {
|
|
80
|
+
(0, utilities_js_1.validateInputs)({
|
|
81
|
+
tdb,
|
|
82
|
+
tr,
|
|
83
|
+
t_running_mean,
|
|
84
|
+
v,
|
|
85
|
+
units: units.toUpperCase(),
|
|
86
|
+
limit_inputs,
|
|
87
|
+
round_output,
|
|
88
|
+
}, ADAPTIVE_EN_SCHEMA);
|
|
79
89
|
const standard = "ISO";
|
|
80
90
|
if (units.toLowerCase() == "ip") {
|
|
81
91
|
({
|
|
@@ -124,17 +134,26 @@ function adaptive_en(tdb, tr, t_running_mean, v, units = "SI", limit_inputs = tr
|
|
|
124
134
|
tmp_cmf_cat_iii_low: t_cmf_iii_lower,
|
|
125
135
|
}, "SI"));
|
|
126
136
|
}
|
|
137
|
+
if (round_output) {
|
|
138
|
+
t_cmf = (0, utilities_js_1.round)(t_cmf, 1);
|
|
139
|
+
t_cmf_i_lower = (0, utilities_js_1.round)(t_cmf_i_lower, 1);
|
|
140
|
+
t_cmf_ii_lower = (0, utilities_js_1.round)(t_cmf_ii_lower, 1);
|
|
141
|
+
t_cmf_iii_lower = (0, utilities_js_1.round)(t_cmf_iii_lower, 1);
|
|
142
|
+
t_cmf_i_upper = (0, utilities_js_1.round)(t_cmf_i_upper, 1);
|
|
143
|
+
t_cmf_ii_upper = (0, utilities_js_1.round)(t_cmf_ii_upper, 1);
|
|
144
|
+
t_cmf_iii_upper = (0, utilities_js_1.round)(t_cmf_iii_upper, 1);
|
|
145
|
+
}
|
|
127
146
|
return {
|
|
128
|
-
tmp_cmf:
|
|
147
|
+
tmp_cmf: t_cmf,
|
|
129
148
|
acceptability_cat_i: acceptability_i,
|
|
130
149
|
acceptability_cat_ii: acceptability_ii,
|
|
131
150
|
acceptability_cat_iii: acceptability_iii,
|
|
132
|
-
tmp_cmf_cat_i_up:
|
|
133
|
-
tmp_cmf_cat_ii_up:
|
|
134
|
-
tmp_cmf_cat_iii_up:
|
|
135
|
-
tmp_cmf_cat_i_low:
|
|
136
|
-
tmp_cmf_cat_ii_low:
|
|
137
|
-
tmp_cmf_cat_iii_low:
|
|
151
|
+
tmp_cmf_cat_i_up: t_cmf_i_upper,
|
|
152
|
+
tmp_cmf_cat_ii_up: t_cmf_ii_upper,
|
|
153
|
+
tmp_cmf_cat_iii_up: t_cmf_iii_upper,
|
|
154
|
+
tmp_cmf_cat_i_low: t_cmf_i_lower,
|
|
155
|
+
tmp_cmf_cat_ii_low: t_cmf_ii_lower,
|
|
156
|
+
tmp_cmf_cat_iii_low: t_cmf_iii_lower,
|
|
138
157
|
};
|
|
139
158
|
}
|
|
140
159
|
/**
|
|
@@ -12,6 +12,11 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
12
12
|
* The HI equation {@link #ref_12|[12]} is derived by multiple regression analysis in temperature and relative humidity from the first version
|
|
13
13
|
* of Steadman’s (1979) apparent temperature (AT) {@link #ref_13|[13]}.
|
|
14
14
|
*
|
|
15
|
+
* The Rothfusz regression is only valid above 27 °C (80.6 °F). Under the
|
|
16
|
+
* default `limit_inputs=true` the function returns `{ hi: NaN }` when `tdb`
|
|
17
|
+
* is below this threshold; pass `limit_inputs=false` to compute regardless.
|
|
18
|
+
* Matches pythermalcomfort 3.9.3 `heat_index_rothfusz`.
|
|
19
|
+
*
|
|
15
20
|
* @public
|
|
16
21
|
* @memberof models
|
|
17
22
|
* @docname Heat Index
|
|
@@ -21,11 +26,14 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
21
26
|
* @param {Object} [options] (Optional) Other parameters.
|
|
22
27
|
* @param {boolean} [options.round=true] - If True rounds output value, if False it does not round it.
|
|
23
28
|
* @param {"SI" | "IP"} [options.units="SI"] - Select the SI (International System of Units) or the IP (Imperial Units) system.
|
|
29
|
+
* @param {boolean} [options.limit_inputs=true] - If True (default), `tdb` below the Rothfusz applicability threshold (27 °C / 80.6 °F) returns `NaN`. If False, the regression is evaluated regardless of input range.
|
|
24
30
|
*
|
|
25
31
|
* @returns {HeatIndexResult} set containing results for the model
|
|
26
32
|
*
|
|
27
33
|
* @example
|
|
28
|
-
* const hi = heat_index(25, 50); // returns {hi:
|
|
34
|
+
* const hi = heat_index(25, 50); // returns {hi: NaN} (below 27 °C threshold)
|
|
35
|
+
* const hi2 = heat_index(25, 50, { limit_inputs: false }); // returns {hi: 25.9}
|
|
36
|
+
* const hi3 = heat_index(30, 80); // returns {hi: 37.7}
|
|
29
37
|
*
|
|
30
38
|
* @category Thermophysiological models
|
|
31
39
|
*/
|
|
@@ -34,11 +42,26 @@ const HEAT_INDEX_SCHEMA = {
|
|
|
34
42
|
rh: { type: "number" },
|
|
35
43
|
round: { type: "boolean", required: false },
|
|
36
44
|
units: { enum: ["SI", "IP"], required: false },
|
|
45
|
+
limit_inputs: { type: "boolean", required: false },
|
|
37
46
|
};
|
|
38
47
|
function heat_index(tdb, rh, options = { round: true, units: "SI" }) {
|
|
48
|
+
var _a;
|
|
39
49
|
if (options.units)
|
|
40
50
|
options.units = options.units.toUpperCase();
|
|
41
|
-
(0, utilities_js_1.validateInputs)({
|
|
51
|
+
(0, utilities_js_1.validateInputs)({
|
|
52
|
+
tdb,
|
|
53
|
+
rh,
|
|
54
|
+
round: options.round,
|
|
55
|
+
units: options.units,
|
|
56
|
+
limit_inputs: options.limit_inputs,
|
|
57
|
+
}, HEAT_INDEX_SCHEMA);
|
|
58
|
+
const limit_inputs = (_a = options.limit_inputs) !== null && _a !== void 0 ? _a : true;
|
|
59
|
+
if (limit_inputs) {
|
|
60
|
+
const threshold = options.units === "IP" ? 80.6 : 27;
|
|
61
|
+
if (tdb < threshold) {
|
|
62
|
+
return { hi: NaN };
|
|
63
|
+
}
|
|
64
|
+
}
|
|
42
65
|
let hi;
|
|
43
66
|
let tdb_squared = Math.pow(tdb, 2);
|
|
44
67
|
let rh_squared = Math.pow(rh, 2);
|
|
@@ -19,6 +19,9 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
19
19
|
* Humidex differs from the heat index in being related to the dew point
|
|
20
20
|
* rather than relative humidity {@link #ref_15|[15]}.
|
|
21
21
|
*
|
|
22
|
+
* Relative humidity outside [0, 100] is physically invalid and throws a
|
|
23
|
+
* `RangeError`.
|
|
24
|
+
*
|
|
22
25
|
* @public
|
|
23
26
|
* @memberof models
|
|
24
27
|
* @docname Humidex
|
|
@@ -29,6 +32,8 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
29
32
|
* @param {boolean} [options.round = true] - If true, rounds output value. If
|
|
30
33
|
* false, it does not.
|
|
31
34
|
*
|
|
35
|
+
* @throws {RangeError} when `rh` is outside `[0, 100]`.
|
|
36
|
+
*
|
|
32
37
|
* @returns {HumidexResult} the result given the provided temperature and
|
|
33
38
|
* relative humidity.
|
|
34
39
|
*
|
|
@@ -43,6 +48,9 @@ const HUMIDEX_SCHEMA = {
|
|
|
43
48
|
};
|
|
44
49
|
function humidex(tdb, rh, options = { round: true }) {
|
|
45
50
|
(0, utilities_js_1.validateInputs)({ tdb, rh, round: options.round }, HUMIDEX_SCHEMA);
|
|
51
|
+
if (rh < 0 || rh > 100) {
|
|
52
|
+
throw new RangeError("Relative humidity must be between 0 and 100%");
|
|
53
|
+
}
|
|
46
54
|
let hi = tdb +
|
|
47
55
|
(5 / 9) * ((6.112 * Math.pow(10, ((7.5 * tdb) / (237.7 + tdb))) * rh) / 100 - 10);
|
|
48
56
|
if (options.round) {
|
package/lib/cjs/models/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.wc = exports.wbgt = exports.vertical_tmp_grad_ppd = exports.use_fans_heatwaves = exports.utci = exports.two_nodes = exports.set_tmp = exports.solar_gain = exports.pmv = exports.pmv_ppd_iso = exports.pmv_ppd_ashrae = exports.pmv_ppd = exports.pet_steady = exports.phs = exports.net = exports.humidex = exports.heat_index = exports.discomfort_index = exports.cooling_effect = exports.clo_tout = exports.ankle_draft = exports.at = exports.e_pmv = exports.athb = exports.a_pmv = exports.adaptive_en = exports.adaptive_ashrae = void 0;
|
|
3
|
+
exports.wind_chill_temperature = exports.wc = exports.wbgt = exports.vertical_tmp_grad_ppd = exports.use_fans_heatwaves = exports.utci = exports.two_nodes = exports.set_tmp = exports.solar_gain = exports.pmv = exports.pmv_ppd_iso = exports.pmv_ppd_ashrae = exports.pmv_ppd = exports.pet_steady = exports.phs = exports.net = exports.humidex = exports.heat_index = exports.discomfort_index = exports.cooling_effect = exports.clo_tout = exports.ankle_draft = exports.at = exports.e_pmv = exports.athb = exports.a_pmv = exports.adaptive_en = exports.adaptive_ashrae = void 0;
|
|
4
4
|
const heat_index_js_1 = require("./heat_index.js");
|
|
5
5
|
Object.defineProperty(exports, "heat_index", { enumerable: true, get: function () { return heat_index_js_1.heat_index; } });
|
|
6
6
|
const phs_js_1 = require("./phs.js");
|
|
@@ -19,6 +19,8 @@ const set_tmp_js_1 = require("./set_tmp.js");
|
|
|
19
19
|
Object.defineProperty(exports, "set_tmp", { enumerable: true, get: function () { return set_tmp_js_1.set_tmp; } });
|
|
20
20
|
const wc_js_1 = require("./wc.js");
|
|
21
21
|
Object.defineProperty(exports, "wc", { enumerable: true, get: function () { return wc_js_1.wc; } });
|
|
22
|
+
const wind_chill_temperature_js_1 = require("./wind_chill_temperature.js");
|
|
23
|
+
Object.defineProperty(exports, "wind_chill_temperature", { enumerable: true, get: function () { return wind_chill_temperature_js_1.wind_chill_temperature; } });
|
|
22
24
|
const adaptive_en_js_1 = require("./adaptive_en.js");
|
|
23
25
|
Object.defineProperty(exports, "adaptive_en", { enumerable: true, get: function () { return adaptive_en_js_1.adaptive_en; } });
|
|
24
26
|
const at_js_1 = require("./at.js");
|
|
@@ -84,5 +86,6 @@ exports.default = {
|
|
|
84
86
|
vertical_tmp_grad_ppd: vertical_tmp_grad_ppd_js_1.vertical_tmp_grad_ppd,
|
|
85
87
|
wbgt: wbgt_js_1.wbgt,
|
|
86
88
|
wc: wc_js_1.wc,
|
|
89
|
+
wind_chill_temperature: wind_chill_temperature_js_1.wind_chill_temperature,
|
|
87
90
|
JOS3: JOS3_js_1.JOS3,
|
|
88
91
|
};
|
package/lib/cjs/models/phs.js
CHANGED
|
@@ -110,21 +110,22 @@ const PHS_SCHEMA = {
|
|
|
110
110
|
i_mst: { type: "number" },
|
|
111
111
|
a_p: { type: "number" },
|
|
112
112
|
drink: { enum: [0, 1] },
|
|
113
|
-
weight: { type: "number" },
|
|
113
|
+
weight: { type: "number", exclusiveMin: 0, max: 1000 },
|
|
114
114
|
height: { type: "number" },
|
|
115
115
|
walk_sp: { type: "number" },
|
|
116
116
|
theta: { type: "number" },
|
|
117
|
-
acclimatized: { type: "number" },
|
|
117
|
+
acclimatized: { type: "number", enum: [0, 100] },
|
|
118
118
|
duration: { type: "number" },
|
|
119
119
|
f_r: { type: "number" },
|
|
120
120
|
t_sk: { type: "number" },
|
|
121
121
|
t_cr: { type: "number" },
|
|
122
122
|
t_re: { type: "number" },
|
|
123
123
|
t_cr_eq: { type: "number" },
|
|
124
|
-
t_sk_t_cr_wg: { type: "number" },
|
|
125
|
-
sweat_rate_watt: { type: "number" },
|
|
126
|
-
evap_load_wm2_min: { type: "number" },
|
|
124
|
+
t_sk_t_cr_wg: { type: "number", min: 0, max: 1 },
|
|
125
|
+
sweat_rate_watt: { type: "number", min: 0 },
|
|
126
|
+
evap_load_wm2_min: { type: "number", min: 0 },
|
|
127
127
|
round: { type: "boolean", required: false },
|
|
128
|
+
limit_inputs: { type: "boolean", required: false },
|
|
128
129
|
};
|
|
129
130
|
function phs(tdb, tr, v, rh, met, clo, posture, wme = 0, model = "7933-2023", kwargs = {}) {
|
|
130
131
|
const defaults_kwargs = {
|
|
@@ -146,6 +147,7 @@ function phs(tdb, tr, v, rh, met, clo, posture, wme = 0, model = "7933-2023", kw
|
|
|
146
147
|
sweat_rate_watt: 0,
|
|
147
148
|
evap_load_wm2_min: 0,
|
|
148
149
|
round: true,
|
|
150
|
+
limit_inputs: true,
|
|
149
151
|
};
|
|
150
152
|
let joint_kwargs = Object.assign(defaults_kwargs, kwargs);
|
|
151
153
|
joint_kwargs.t_re = joint_kwargs.t_re || joint_kwargs.t_cr;
|
|
@@ -188,18 +190,10 @@ function phs(tdb, tr, v, rh, met, clo, posture, wme = 0, model = "7933-2023", kw
|
|
|
188
190
|
sweat_rate_watt: joint_kwargs.sweat_rate_watt,
|
|
189
191
|
evap_load_wm2_min: joint_kwargs.evap_load_wm2_min,
|
|
190
192
|
round: joint_kwargs.round,
|
|
193
|
+
limit_inputs: joint_kwargs.limit_inputs,
|
|
191
194
|
}, PHS_SCHEMA);
|
|
192
195
|
const met_watt = met * MET_WATT_PER_MET;
|
|
193
196
|
const wme_watt = wme * MET_WATT_PER_MET;
|
|
194
|
-
const warnings = (0, utilities_js_1.check_standard_compliance)("ISO7933", {
|
|
195
|
-
tdb,
|
|
196
|
-
tr,
|
|
197
|
-
v,
|
|
198
|
-
rh,
|
|
199
|
-
met: met_watt * (0, utilities_js_1.body_surface_area)(joint_kwargs.weight, joint_kwargs.height),
|
|
200
|
-
clo,
|
|
201
|
-
});
|
|
202
|
-
warnings.forEach((warning) => console.warn(warning));
|
|
203
197
|
let p_a;
|
|
204
198
|
if (model === "7933-2023") {
|
|
205
199
|
p_a = 0.6105 * Math.exp((17.27 * tdb) / (tdb + 237.3)) * (rh / 100);
|
|
@@ -207,6 +201,30 @@ function phs(tdb, tr, v, rh, met, clo, posture, wme = 0, model = "7933-2023", kw
|
|
|
207
201
|
else {
|
|
208
202
|
p_a = (((0, p_sat_js_1.p_sat)(tdb) / 1000) * rh) / 100;
|
|
209
203
|
}
|
|
204
|
+
const warnings = (0, utilities_js_1.check_standard_compliance)(model, {
|
|
205
|
+
tdb,
|
|
206
|
+
tr,
|
|
207
|
+
v,
|
|
208
|
+
p_a,
|
|
209
|
+
met: met_watt * (0, utilities_js_1.body_surface_area)(joint_kwargs.weight, joint_kwargs.height),
|
|
210
|
+
clo,
|
|
211
|
+
});
|
|
212
|
+
if (warnings.length > 0 && joint_kwargs.limit_inputs) {
|
|
213
|
+
warnings.forEach((warning) => console.warn(warning));
|
|
214
|
+
return {
|
|
215
|
+
t_re: NaN,
|
|
216
|
+
t_sk: NaN,
|
|
217
|
+
t_cr: NaN,
|
|
218
|
+
t_cr_eq: NaN,
|
|
219
|
+
t_sk_t_cr_wg: NaN,
|
|
220
|
+
d_lim_loss_50: NaN,
|
|
221
|
+
d_lim_loss_95: NaN,
|
|
222
|
+
d_lim_t_re: NaN,
|
|
223
|
+
sweat_rate_watt: NaN,
|
|
224
|
+
sweat_loss_g: NaN,
|
|
225
|
+
evap_load_wm2_min: NaN,
|
|
226
|
+
};
|
|
227
|
+
}
|
|
210
228
|
const variables_for_loop = _calculate_variables_for_loop(v, met_watt, posture, clo, tdb, p_a, joint_kwargs);
|
|
211
229
|
const result = _phs_loop(tdb, tr, v, met_watt, clo, wme_watt, p_a, joint_kwargs, variables_for_loop);
|
|
212
230
|
if (joint_kwargs.round) {
|
|
@@ -147,12 +147,12 @@ function pmv_ppd(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs =
|
|
|
147
147
|
// Conversion from IP to SI units
|
|
148
148
|
({ tdb, tr, vr } = (0, utilities_js_1.units_converter)({ tdb, tr, vr }, "IP"));
|
|
149
149
|
}
|
|
150
|
-
const
|
|
151
|
-
tdb
|
|
152
|
-
tr
|
|
153
|
-
v:
|
|
154
|
-
met
|
|
155
|
-
clo
|
|
150
|
+
const compliance_warnings = (0, utilities_js_1.check_standard_compliance)(standard, {
|
|
151
|
+
tdb,
|
|
152
|
+
tr,
|
|
153
|
+
v: vr,
|
|
154
|
+
met,
|
|
155
|
+
clo,
|
|
156
156
|
airspeed_control: kwargs.airspeed_control,
|
|
157
157
|
});
|
|
158
158
|
let ce = 0;
|
|
@@ -169,16 +169,9 @@ function pmv_ppd(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs =
|
|
|
169
169
|
Math.exp(-0.03353 * Math.pow(pmv, 4.0) - 0.2179 * Math.pow(pmv, 2.0));
|
|
170
170
|
// Checks that inputs are within the bounds accepted by the model if not return NaN
|
|
171
171
|
if (kwargs.limit_inputs) {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
if (isNaN(pmv) ||
|
|
176
|
-
tdb_valid.includes(NaN) ||
|
|
177
|
-
tr_valid.includes(NaN) ||
|
|
178
|
-
v_valid.includes(NaN) ||
|
|
179
|
-
met_valid.includes(NaN) ||
|
|
180
|
-
clo_valid.includes(NaN) ||
|
|
181
|
-
pmv_valid.includes(NaN)) {
|
|
172
|
+
// ISO 7730 limits PMV applicability to [-2, 2]; ASHRAE 55 has no equivalent output bound
|
|
173
|
+
const pmv_outside_iso_range = standard === "ISO" && (0, utilities_js_1.valid_range)([pmv], [-2, 2]).includes(NaN);
|
|
174
|
+
if (isNaN(pmv) || compliance_warnings.length > 0 || pmv_outside_iso_range) {
|
|
182
175
|
pmv = NaN;
|
|
183
176
|
ppd = NaN;
|
|
184
177
|
}
|
|
@@ -112,18 +112,14 @@ function set_tmp(tdb, tr, v, rh, met, clo, wme = 0, body_surface_area, p_atm, bo
|
|
|
112
112
|
({ tmp: set_tmp } = (0, utilities_js_1.units_converter)({ tmp: set_tmp }, "SI"));
|
|
113
113
|
}
|
|
114
114
|
if (limit_inputs) {
|
|
115
|
-
const
|
|
116
|
-
tdb
|
|
117
|
-
tr
|
|
118
|
-
v
|
|
119
|
-
met
|
|
120
|
-
clo
|
|
115
|
+
const warnings = (0, utilities_js_1.check_standard_compliance)("ASHRAE", {
|
|
116
|
+
tdb,
|
|
117
|
+
tr,
|
|
118
|
+
v,
|
|
119
|
+
met,
|
|
120
|
+
clo,
|
|
121
121
|
});
|
|
122
|
-
if (
|
|
123
|
-
isNaN(tr_valid[0]) ||
|
|
124
|
-
isNaN(v_valid[0]) ||
|
|
125
|
-
isNaN(met_valid[0]) ||
|
|
126
|
-
isNaN(clo_valid[0])) {
|
|
122
|
+
if (warnings.length > 0) {
|
|
127
123
|
set_tmp = NaN;
|
|
128
124
|
}
|
|
129
125
|
}
|
|
@@ -66,9 +66,6 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
66
66
|
* - The Predicted Percent Dissatisfied Due to Draft (PD)
|
|
67
67
|
* - Predicted Percent Satisfied With the Level of Air Movement” (PS)
|
|
68
68
|
*
|
|
69
|
-
* **Warning:** Some tests are currently failing for this function. Please refer to the test
|
|
70
|
-
* suite or the project's issue tracker for more details.
|
|
71
|
-
*
|
|
72
69
|
* @public
|
|
73
70
|
* @memberof models
|
|
74
71
|
* @docname Gagge et al. two-node model
|
|
@@ -344,10 +341,19 @@ function calculate_et(tSkin, qSkin, pSSk, w, rA, rClo, rEa, rEcl) {
|
|
|
344
341
|
* @returns {number} Thermal discomfort
|
|
345
342
|
*/
|
|
346
343
|
function calculate_discomfort(eRsw, eComfort, eMax, wMax, eDiff, tSens) {
|
|
347
|
-
let disc
|
|
344
|
+
let disc;
|
|
345
|
+
if (tSens > 0 && eMax * wMax - eComfort - eDiff < 0) {
|
|
346
|
+
disc = 6.0;
|
|
347
|
+
}
|
|
348
|
+
else {
|
|
349
|
+
disc = (4.7 * (eRsw - eComfort)) / (eMax * wMax - eComfort - eDiff);
|
|
350
|
+
}
|
|
348
351
|
if (disc <= 0) {
|
|
349
352
|
disc = tSens;
|
|
350
353
|
}
|
|
354
|
+
if (disc > 6) {
|
|
355
|
+
disc = 6.0;
|
|
356
|
+
}
|
|
351
357
|
return disc;
|
|
352
358
|
}
|
|
353
359
|
/**
|
|
@@ -165,18 +165,14 @@ function use_fans_heatwaves(tdb, tr, v, rh, met, clo, wme = 0, body_surface_area
|
|
|
165
165
|
}
|
|
166
166
|
Object.assign(joint_output, heatwave_output);
|
|
167
167
|
if (joint_kwargs.limit_inputs) {
|
|
168
|
-
const
|
|
169
|
-
tdb
|
|
170
|
-
tr
|
|
171
|
-
v
|
|
172
|
-
met
|
|
173
|
-
clo
|
|
168
|
+
const warnings = (0, utilities_js_1.check_standard_compliance)("FAN_HEATWAVES", {
|
|
169
|
+
tdb,
|
|
170
|
+
tr,
|
|
171
|
+
v,
|
|
172
|
+
met,
|
|
173
|
+
clo,
|
|
174
174
|
});
|
|
175
|
-
if (
|
|
176
|
-
isNaN(tr_valid[0]) ||
|
|
177
|
-
isNaN(v_valid[0]) ||
|
|
178
|
-
isNaN(met_valid[0]) ||
|
|
179
|
-
isNaN(clo_valid[0])) {
|
|
175
|
+
if (warnings.length > 0) {
|
|
180
176
|
for (let key in joint_output) {
|
|
181
177
|
if (key === "heat_strain" ||
|
|
182
178
|
key === "heat_strain_blood_flow" ||
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.wind_chill_temperature = wind_chill_temperature;
|
|
4
|
+
const utilities_js_1 = require("../utilities/utilities.js");
|
|
5
|
+
/**
|
|
6
|
+
* Calculates the Wind Chill Temperature (WCT) using the North American
|
|
7
|
+
* formula adopted by the US National Weather Service and Environment
|
|
8
|
+
* Canada in 2001 {@link https://en.wikipedia.org/wiki/Wind_chill#North_American_and_United_Kingdom_wind_chill_index}.
|
|
9
|
+
*
|
|
10
|
+
* WCT estimates the equivalent perceived air temperature on exposed skin
|
|
11
|
+
* given dry-bulb air temperature and 10 m wind speed. It is reported in
|
|
12
|
+
* the same unit as `tdb` (°C). The formula is empirical and is intended
|
|
13
|
+
* for cold-weather conditions; outside that range it still evaluates but
|
|
14
|
+
* carries no physical interpretation. Following `pythermalcomfort`, this
|
|
15
|
+
* implementation does not gate inputs against an applicability range; the
|
|
16
|
+
* formula is computed for any finite input.
|
|
17
|
+
*
|
|
18
|
+
* @public
|
|
19
|
+
* @memberof models
|
|
20
|
+
* @docname Wind chill temperature
|
|
21
|
+
*
|
|
22
|
+
* @param {number} tdb - dry-bulb air temperature, [°C]
|
|
23
|
+
* @param {number} v - wind speed 10 m above ground level, [km/h]
|
|
24
|
+
* @param {boolean} [round_output=true] - if true, rounds the returned value to one decimal place; if false, returns the unrounded value.
|
|
25
|
+
* @returns {{wct: number}} wind chill temperature, [°C]
|
|
26
|
+
*/
|
|
27
|
+
const WCT_SCHEMA = {
|
|
28
|
+
tdb: { type: "number" },
|
|
29
|
+
v: { type: "number" },
|
|
30
|
+
round_output: { type: "boolean", required: false },
|
|
31
|
+
};
|
|
32
|
+
function wind_chill_temperature(tdb, v, round_output = true) {
|
|
33
|
+
(0, utilities_js_1.validateInputs)({ tdb, v, round_output }, WCT_SCHEMA);
|
|
34
|
+
let wct = 13.12 +
|
|
35
|
+
0.6215 * tdb -
|
|
36
|
+
11.37 * Math.pow(v, 0.16) +
|
|
37
|
+
0.3965 * tdb * Math.pow(v, 0.16);
|
|
38
|
+
if (round_output) {
|
|
39
|
+
wct = (0, utilities_js_1.round)(wct, 1);
|
|
40
|
+
}
|
|
41
|
+
return { wct };
|
|
42
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.t_o = t_o;
|
|
4
|
-
exports.t_o_array = t_o_array;
|
|
5
4
|
/**
|
|
6
5
|
* Calculates operative temperature in accordance with ISO 7726:1998 {@link #ref_5|[5]}.
|
|
7
6
|
*
|
|
@@ -28,30 +27,6 @@ function t_o(tdb, tr, v, standard = "ISO") {
|
|
|
28
27
|
throw new Error("standard must be one of ISO or ASHRAE");
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
|
-
/**
|
|
32
|
-
* Calculates operative temperature in accordance with ISO 7726:1998 {@link #ref_5|[5]}.
|
|
33
|
-
*
|
|
34
|
-
* @public
|
|
35
|
-
* @memberof psychrometrics
|
|
36
|
-
*
|
|
37
|
-
* @see {@link t_o} for a version that supports scalar arguments
|
|
38
|
-
*
|
|
39
|
-
* @param {number[]} tdb - air temperature [C]
|
|
40
|
-
* @param {number[]} tr - mean radiant temperature [C]
|
|
41
|
-
* @param {number[]} v - air speed [m/s]
|
|
42
|
-
* @param {("ISO" | "ASHRAE")} standard - the standard to use
|
|
43
|
-
* @returns {number[]} operative temperature [C]
|
|
44
|
-
*/
|
|
45
|
-
function t_o_array(tdb, tr, v, standard = "ISO") {
|
|
46
|
-
if (tdb.length !== tr.length || tr.length !== v.length) {
|
|
47
|
-
throw new Error("Provided arrays are not the same lengths");
|
|
48
|
-
}
|
|
49
|
-
if (standard === "ISO")
|
|
50
|
-
return tdb.map((_tdb, index) => _t_o_calculation_iso(_tdb, tr[index], v[index]));
|
|
51
|
-
if (standard === "ASHRAE")
|
|
52
|
-
return tdb.map((_tdb, index) => _t_o_calculation_ashrae(_tdb, tr[index], v[index]));
|
|
53
|
-
throw new Error("standard must be one of ISO or ASHRAE");
|
|
54
|
-
}
|
|
55
30
|
/**
|
|
56
31
|
* Runs the ISO t_o calculation for scalar values
|
|
57
32
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function adaptive_ashrae(tdb: any, tr: any, t_running_mean: any, v: any, units?: string, limit_inputs?: boolean): {
|
|
1
|
+
export function adaptive_ashrae(tdb: any, tr: any, t_running_mean: any, v: any, units?: string, limit_inputs?: boolean, round_output?: boolean): {
|
|
2
2
|
tmp_cmf: number;
|
|
3
3
|
tmp_cmf_80_low: number;
|
|
4
4
|
tmp_cmf_80_up: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adaptive_ashrae.d.ts","sourceRoot":"","sources":["../../../../src/models/adaptive_ashrae.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"adaptive_ashrae.d.ts","sourceRoot":"","sources":["../../../../src/models/adaptive_ashrae.js"],"names":[],"mappings":"AA8FA;;;;;;;;EAwFC;;;;;aA3Ka,MAAM;;;;oBACN,MAAM;;;;mBACN,MAAM;;;;oBACN,MAAM;;;;mBACN,MAAM;;;;sBACN,OAAO;;;;sBACP,OAAO"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function adaptive_en(tdb: any, tr: any, t_running_mean: any, v: any, units?: string, limit_inputs?: boolean): {
|
|
1
|
+
export function adaptive_en(tdb: any, tr: any, t_running_mean: any, v: any, units?: string, limit_inputs?: boolean, round_output?: boolean): {
|
|
2
2
|
tmp_cmf: number;
|
|
3
3
|
acceptability_cat_i: boolean;
|
|
4
4
|
acceptability_cat_ii: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adaptive_en.d.ts","sourceRoot":"","sources":["../../../../src/models/adaptive_en.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"adaptive_en.d.ts","sourceRoot":"","sources":["../../../../src/models/adaptive_en.js"],"names":[],"mappings":"AAiFA;;;;;;;;;;;EA0GC;AACD;;;;;GAKG;AACH,0BAJW,MAAM,MACN,MAAM,GACJ,MAAM,CAclB;;;;;;;;aArMa,MAAM;;;;yBACN,OAAO;;;;0BACP,OAAO;;;;2BACP,OAAO;;;;sBACP,MAAM;;;;uBACN,MAAM;;;;wBACN,MAAM;;;;uBACN,MAAM;;;;wBACN,MAAM;;;;yBACN,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heat_index.d.ts","sourceRoot":"","sources":["../../../../src/models/heat_index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"heat_index.d.ts","sourceRoot":"","sources":["../../../../src/models/heat_index.js"],"names":[],"mappings":"AA6CA;;;;;EAoDC;;;;;QA7Fa,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"humidex.d.ts","sourceRoot":"","sources":["../../../../src/models/humidex.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"humidex.d.ts","sourceRoot":"","sources":["../../../../src/models/humidex.js"],"names":[],"mappings":"AAgDA;;;;;EA8BC;;;;;;;;;;aAzEa,MAAM;;;;;gBAEN,MAAM"}
|
|
@@ -26,6 +26,7 @@ declare namespace _default {
|
|
|
26
26
|
export { vertical_tmp_grad_ppd };
|
|
27
27
|
export { wbgt };
|
|
28
28
|
export { wc };
|
|
29
|
+
export { wind_chill_temperature };
|
|
29
30
|
export { JOS3 };
|
|
30
31
|
}
|
|
31
32
|
export default _default;
|
|
@@ -56,6 +57,7 @@ import { use_fans_heatwaves } from "./use_fans_heatwave.js";
|
|
|
56
57
|
import { vertical_tmp_grad_ppd } from "./vertical_tmp_grad_ppd.js";
|
|
57
58
|
import { wbgt } from "./wbgt.js";
|
|
58
59
|
import { wc } from "./wc.js";
|
|
60
|
+
import { wind_chill_temperature } from "./wind_chill_temperature.js";
|
|
59
61
|
import { JOS3 } from "./JOS3.js";
|
|
60
|
-
export { adaptive_ashrae, adaptive_en, a_pmv, athb, e_pmv, at, ankle_draft, clo_tout, cooling_effect, discomfort_index, heat_index, humidex, net, phs, pet_steady, pmv_ppd, pmv_ppd_ashrae, pmv_ppd_iso, pmv, solar_gain, set_tmp, two_nodes, utci, use_fans_heatwaves, vertical_tmp_grad_ppd, wbgt, wc };
|
|
62
|
+
export { adaptive_ashrae, adaptive_en, a_pmv, athb, e_pmv, at, ankle_draft, clo_tout, cooling_effect, discomfort_index, heat_index, humidex, net, phs, pet_steady, pmv_ppd, pmv_ppd_ashrae, pmv_ppd_iso, pmv, solar_gain, set_tmp, two_nodes, utci, use_fans_heatwaves, vertical_tmp_grad_ppd, wbgt, wc, wind_chill_temperature };
|
|
61
63
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAegC,sBAAsB;4BAL1B,kBAAkB;sBAUxB,YAAY;qBAFb,WAAW;sBAIV,YAAY;mBAXf,SAAS;4BAUA,kBAAkB;yBAIrB,eAAe;+BART,qBAAqB;iCAZnB,uBAAuB;2BAL7B,iBAAiB;wBAEpB,cAAc;oBAClB,UAAU;oBAFV,UAAU;2BA0BH,iBAAiB;wBAfpB,cAAc;+BACP,qBAAqB;4BACxB,kBAAkB;oBAK1B,UAAU;2BAHH,iBAAiB;wBATpB,cAAc;0BADZ,gBAAgB;qBAoBrB,WAAW;mCAFG,wBAAwB;sCADrB,4BAA4B;qBAnB7C,WAAW;mBAIb,SAAS;uCACW,6BAA6B;qBAmB/C,WAAW"}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export function phs(tdb: any, tr: any, v: any, rh: any, met: any, clo: any, posture: any, wme?: number, model?: string, kwargs?: {}):
|
|
1
|
+
export function phs(tdb: any, tr: any, v: any, rh: any, met: any, clo: any, posture: any, wme?: number, model?: string, kwargs?: {}): {
|
|
2
|
+
t_re: number;
|
|
3
|
+
t_sk: number;
|
|
4
|
+
t_cr: number;
|
|
5
|
+
t_cr_eq: number;
|
|
6
|
+
t_sk_t_cr_wg: number;
|
|
7
|
+
d_lim_loss_50: number;
|
|
8
|
+
d_lim_loss_95: number;
|
|
9
|
+
d_lim_t_re: number;
|
|
10
|
+
sweat_rate_watt: number;
|
|
11
|
+
sweat_loss_g: number;
|
|
12
|
+
evap_load_wm2_min: number;
|
|
13
|
+
};
|
|
2
14
|
export type Speeds = {
|
|
3
15
|
v: number;
|
|
4
16
|
walk_speed: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phs.d.ts","sourceRoot":"","sources":["../../../../src/models/phs.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"phs.d.ts","sourceRoot":"","sources":["../../../../src/models/phs.js"],"names":[],"mappings":"AAyIA;;;;;;;;;;;;EAwJC;;OA2Ba,MAAM;gBACN,MAAM;;;YA0BN,MAAM;WACN,MAAM;SACN,MAAM;cACN,MAAM;aACN,MAAM;WACN,MAAM;WACN,MAAM;YACN,MAAM;OACN,MAAM;WACN,MAAM;YACN,MAAM;cACN,MAAM;aACN,MAAM;gBACN,MAAM;mBACN,MAAM;mBACN,MAAM;cACN,MAAM;cACN,MAAM;gBACN,MAAM;gBACN,MAAM;cACN,MAAM;;;;;;UA/VN,MAAM;;;;UACN,MAAM;;;;UACN,MAAM;;;;aACN,MAAM;;;;kBACN,MAAM;;;;mBACN,MAAM;;;;mBACN,MAAM;;;;gBACN,MAAM;;;;qBACN,MAAM;;;;kBACN,MAAM;;;;uBACN,MAAM;;;;;;YAMN,MAAM;;;;UACN,MAAM;;;;YACN,CAAC,GAAG,CAAC;;;;aACL,MAAM;;;;aACN,MAAM;;;;cACN,MAAM;;;;YACN,MAAM;;;;mBACN,MAAM;;;;eACN,MAAM;;;;UACN,MAAM;;;;WACN,MAAM;;;;WACN,MAAM;;;;WACN,MAAM;;;;cACN,MAAM;;;;iBACN,MAAM;;;;YACN,OAAO;;;WAMP,MAAM;SACN,MAAM;WACN,CAAC,GAAG,CAAC;YACL,MAAM;YACN,MAAM;aACN,MAAM;WACN,MAAM;kBACN,MAAM;cACN,MAAM;SACN,MAAM;UACN,MAAM;UACN,MAAM;UACN,MAAM;aACN,MAAM;kBACN,MAAM;qBACN,MAAM;uBACN,MAAM;WACN,OAAO;WACP,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pmv_ppd.d.ts","sourceRoot":"","sources":["../../../../src/models/pmv_ppd.js"],"names":[],"mappings":"AAgIA;;;
|
|
1
|
+
{"version":3,"file":"pmv_ppd.d.ts","sourceRoot":"","sources":["../../../../src/models/pmv_ppd.js"],"names":[],"mappings":"AAgIA;;;EAoFC;AAED;;;;;;;;;;GAUG;AACH,qCAVW,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,OACN,MAAM,OACN,MAAM,OACN,MAAM,GAEJ,MAAM,CA0ElB;;;;;WA9Ra,IAAI,GAAC,IAAI;;;;;;;;;;;kBACR,OAAO;;;;;;;;;;sBAQP,OAAO;;;;kBAOP,OAAO;;;;;;SAMP,MAAM;;;;SACN,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set_tmp.d.ts","sourceRoot":"","sources":["../../../../src/models/set_tmp.js"],"names":[],"mappings":"AA0EA;;
|
|
1
|
+
{"version":3,"file":"set_tmp.d.ts","sourceRoot":"","sources":["../../../../src/models/set_tmp.js"],"names":[],"mappings":"AA0EA;;EAsGC;;;;;SAtKa,MAAM;;;;;;;;;YAMN,OAAO;;;;mBACP,OAAO;;;WAMP,OAAO;kBACP,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"two_nodes.d.ts","sourceRoot":"","sources":["../../../../src/models/two_nodes.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"two_nodes.d.ts","sourceRoot":"","sources":["../../../../src/models/two_nodes.js"],"names":[],"mappings":"AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyGC;AAaD;;;;;;GAMG;AACH,kCAJW,MAAM,EAAE,aACR,MAAM,YAQhB;;;;;YA/Pa,MAAM;;;;WACN,MAAM;;;;WACN,MAAM;;;;gBACN,MAAM;;;;YACN,MAAM;;;;WACN,MAAM;;;;YACN,MAAM;;;;YACN,MAAM;;;;UACN,MAAM;;;;WACN,MAAM;;;;OACN,MAAM;;;;WACN,MAAM;;;;SACN,MAAM;;;;QACN,MAAM;;;;eACN,MAAM;;;;aACN,MAAM;;;;UACN,MAAM;;;;YACN,MAAM;;;;;;;;;YAMN,OAAO;;;;mBACP,OAAO;;;;mBACP,MAAM;;;;YACN,MAAM;;;WAMN,OAAO;kBACP,OAAO;kBACP,MAAM;WACN,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_fans_heatwave.d.ts","sourceRoot":"","sources":["../../../../src/models/use_fans_heatwave.js"],"names":[],"mappings":"AAwHA,
|
|
1
|
+
{"version":3,"file":"use_fans_heatwave.d.ts","sourceRoot":"","sources":["../../../../src/models/use_fans_heatwave.js"],"names":[],"mappings":"AAwHA,mOA4IC;;;;;YA1Pa,MAAM;;;;WACN,MAAM;;;;YACN,MAAM;;;;WACN,MAAM;;;;gBACN,MAAM;;;;YACN,MAAM;;;;WACN,MAAM;;;;YACN,MAAM;;;;YACN,MAAM;;;;UACN,MAAM;;;;WACN,MAAM;;;;OACN,MAAM;;;;WACN,MAAM;;;;iBACN,OAAO,GAAG,SAAS;;;;4BACnB,OAAO,GAAG,SAAS;;;;mBACnB,OAAO,GAAG,SAAS;;;;0BACnB,OAAO,GAAG,SAAS;;;;;;;;;mBAMnB,MAAM;;;;YACN,OAAO;;;;;;;mBACP,OAAO;;;WASP,OAAO;kBACP,MAAM;kBACN,OAAO"}
|