jsthermalcomfort 1.1.1 → 1.3.1
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/JOS3.js +5 -6
- package/lib/cjs/models/a_pmv.js +1 -1
- package/lib/cjs/models/adaptive_ashrae.js +3 -10
- package/lib/cjs/models/ankle_draft.js +1 -1
- package/lib/cjs/models/e_pmv.js +2 -2
- package/lib/cjs/models/heat_index.js +25 -2
- package/lib/cjs/models/humidex.js +8 -0
- package/lib/cjs/models/phs.js +24 -6
- package/lib/cjs/models/pmv.js +6 -2
- package/lib/cjs/models/pmv_ppd.js +20 -20
- package/lib/cjs/models/pmv_ppd_ashrae.js +3 -0
- package/lib/cjs/models/pmv_ppd_iso.js +3 -0
- 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/vertical_tmp_grad_ppd.js +1 -1
- package/lib/cjs/models/wbgt.js +6 -6
- package/lib/cjs/psychrometrics/t_o.js +0 -25
- package/lib/cjs/types/models/JOS3.d.ts.map +1 -1
- package/lib/cjs/types/models/adaptive_ashrae.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/phs.d.ts +13 -1
- package/lib/cjs/types/models/phs.d.ts.map +1 -1
- package/lib/cjs/types/models/pmv.d.ts +7 -1
- package/lib/cjs/types/models/pmv.d.ts.map +1 -1
- package/lib/cjs/types/models/pmv_ppd.d.ts +4 -0
- package/lib/cjs/types/models/pmv_ppd.d.ts.map +1 -1
- package/lib/cjs/types/models/pmv_ppd_ashrae.d.ts.map +1 -1
- package/lib/cjs/types/models/pmv_ppd_iso.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/wbgt.d.ts +1 -1
- 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 +1 -2
- package/lib/cjs/types/utilities/index.d.ts.map +1 -1
- package/lib/cjs/types/utilities/utilities.d.ts +17 -35
- package/lib/cjs/types/utilities/utilities.d.ts.map +1 -1
- package/lib/cjs/utilities/index.js +1 -2
- package/lib/cjs/utilities/utilities.js +89 -114
- package/lib/esm/models/JOS3.js +1 -2
- package/lib/esm/models/a_pmv.js +1 -1
- package/lib/esm/models/adaptive_ashrae.js +4 -11
- package/lib/esm/models/ankle_draft.js +1 -1
- package/lib/esm/models/e_pmv.js +2 -2
- package/lib/esm/models/heat_index.js +24 -2
- package/lib/esm/models/humidex.js +8 -0
- package/lib/esm/models/phs.js +24 -6
- package/lib/esm/models/pmv.js +6 -2
- package/lib/esm/models/pmv_ppd.js +21 -21
- package/lib/esm/models/pmv_ppd_ashrae.js +3 -0
- package/lib/esm/models/pmv_ppd_iso.js +3 -0
- 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/vertical_tmp_grad_ppd.js +1 -1
- package/lib/esm/models/wbgt.js +6 -6
- package/lib/esm/psychrometrics/t_o.js +0 -24
- package/lib/esm/types/models/JOS3.d.ts.map +1 -1
- package/lib/esm/types/models/adaptive_ashrae.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/phs.d.ts +13 -1
- package/lib/esm/types/models/phs.d.ts.map +1 -1
- package/lib/esm/types/models/pmv.d.ts +7 -1
- package/lib/esm/types/models/pmv.d.ts.map +1 -1
- package/lib/esm/types/models/pmv_ppd.d.ts +4 -0
- package/lib/esm/types/models/pmv_ppd.d.ts.map +1 -1
- package/lib/esm/types/models/pmv_ppd_ashrae.d.ts.map +1 -1
- package/lib/esm/types/models/pmv_ppd_iso.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/wbgt.d.ts +1 -1
- 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 +1 -2
- package/lib/esm/types/utilities/index.d.ts.map +1 -1
- package/lib/esm/types/utilities/utilities.d.ts +17 -35
- package/lib/esm/types/utilities/utilities.d.ts.map +1 -1
- package/lib/esm/utilities/index.js +2 -2
- package/lib/esm/utilities/utilities.js +90 -114
- package/package.json +1 -1
package/lib/cjs/models/JOS3.js
CHANGED
|
@@ -65,7 +65,6 @@ const local_q_work_js_1 = require("../jos3_functions/thermoregulation/local_q_wo
|
|
|
65
65
|
const cr_ms_fat_blood_flow_js_1 = require("../jos3_functions/thermoregulation/cr_ms_fat_blood_flow.js");
|
|
66
66
|
const resp_heat_loss_js_1 = require("../jos3_functions/thermoregulation/resp_heat_loss.js");
|
|
67
67
|
const sum_bf_js_1 = require("../jos3_functions/thermoregulation/sum_bf.js");
|
|
68
|
-
const object_js_1 = __importDefault(require("lodash/object.js"));
|
|
69
68
|
/**
|
|
70
69
|
* Create an array of shape (17,) with the given input.
|
|
71
70
|
*
|
|
@@ -231,7 +230,7 @@ class JOS3 {
|
|
|
231
230
|
// Iterate until the PMV (Predicted Mean Vote) value is less than 0.001
|
|
232
231
|
let vpmv;
|
|
233
232
|
for (let i = 0; i < 100; i++) {
|
|
234
|
-
vpmv = (0, pmv_js_1.pmv)(to, to, va, rh, met, clo);
|
|
233
|
+
vpmv = (0, pmv_js_1.pmv)(to, to, va, rh, met, clo).pmv;
|
|
235
234
|
// Break the loop if the absolute value of PMV is less than 0.001
|
|
236
235
|
if (math.abs(vpmv) < 0.001) {
|
|
237
236
|
break;
|
|
@@ -577,7 +576,7 @@ class JOS3 {
|
|
|
577
576
|
dict_out = Object.assign(Object.assign({}, dict_out), detail_out);
|
|
578
577
|
}
|
|
579
578
|
else if (Array.isArray(this._ex_output)) {
|
|
580
|
-
const out_keys =
|
|
579
|
+
const out_keys = Object.keys(detail_out);
|
|
581
580
|
for (const key in this._ex_output) {
|
|
582
581
|
if (out_keys.includes(key)) {
|
|
583
582
|
dict_out[key] = detail_out[key];
|
|
@@ -600,7 +599,7 @@ class JOS3 {
|
|
|
600
599
|
return args.some((arg) => word.includes(arg));
|
|
601
600
|
};
|
|
602
601
|
let key2keys = {}; // Column keys
|
|
603
|
-
for (let [key, value] of
|
|
602
|
+
for (let [key, value] of Object.entries(this._history[0])) {
|
|
604
603
|
let keys;
|
|
605
604
|
if (value.length !== undefined) {
|
|
606
605
|
if (typeof value === "string") {
|
|
@@ -629,7 +628,7 @@ class JOS3 {
|
|
|
629
628
|
}
|
|
630
629
|
let data = this._history.map((dictout) => {
|
|
631
630
|
let row = {};
|
|
632
|
-
for (let [key, value] of
|
|
631
|
+
for (let [key, value] of Object.entries(dictout)) {
|
|
633
632
|
let keys = key2keys[key];
|
|
634
633
|
let values = keys.length === 1 ? [value] : value;
|
|
635
634
|
keys.forEach((k, i) => {
|
|
@@ -639,7 +638,7 @@ class JOS3 {
|
|
|
639
638
|
return row;
|
|
640
639
|
});
|
|
641
640
|
let outDict = {};
|
|
642
|
-
|
|
641
|
+
Object.keys(data[0]).forEach((key) => {
|
|
643
642
|
outDict[key] = data.map((row) => row[key]);
|
|
644
643
|
});
|
|
645
644
|
return outDict;
|
package/lib/cjs/models/a_pmv.js
CHANGED
|
@@ -101,7 +101,7 @@ function a_pmv(tdb, tr, vr, rh, met, clo, a_coefficient, wme = 0, kwargs = {}) {
|
|
|
101
101
|
limit_inputs: true,
|
|
102
102
|
};
|
|
103
103
|
kwargs = Object.assign(default_kwargs, kwargs);
|
|
104
|
-
let _pmv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, wme, "ISO", kwargs);
|
|
104
|
+
let _pmv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, wme, "ISO", kwargs).pmv;
|
|
105
105
|
_pmv = (0, utilities_js_1.round)(_pmv / (1 + a_coefficient * _pmv), 2);
|
|
106
106
|
return { a_pmv: _pmv };
|
|
107
107
|
}
|
|
@@ -107,16 +107,9 @@ function adaptive_ashrae(tdb, tr, t_running_mean, v, units = "SI", limit_inputs
|
|
|
107
107
|
// Relation between comfort and outdoor temperature
|
|
108
108
|
let t_cmf = 0.31 * t_running_mean + 17.8;
|
|
109
109
|
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))
|
|
110
|
+
const warnings = (0, utilities_js_1.check_standard_compliance)(standard, { tdb, tr, v });
|
|
111
|
+
const trm_valid = t_running_mean >= 10.0 && t_running_mean <= 33.5;
|
|
112
|
+
if (warnings.length > 0 || !trm_valid)
|
|
120
113
|
t_cmf = NaN;
|
|
121
114
|
}
|
|
122
115
|
t_cmf = (0, utilities_js_1.round)(t_cmf, 1);
|
|
@@ -83,7 +83,7 @@ function ankle_draft(tdb, tr, vr, rh, met, clo, v_ankle, units = "SI") {
|
|
|
83
83
|
for (const warn of warns) {
|
|
84
84
|
console.warn("Warning:", warn);
|
|
85
85
|
}
|
|
86
|
-
const tsv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, 0, "ASHRAE");
|
|
86
|
+
const tsv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, 0, "ASHRAE").pmv;
|
|
87
87
|
const ppd_val = (0, utilities_js_1.round)((Math.exp(-2.58 + 3.05 * v_ankle - 1.06 * tsv) /
|
|
88
88
|
(1 + Math.exp(-2.58 + 3.05 * v_ankle - 1.06 * tsv))) *
|
|
89
89
|
100, 1);
|
package/lib/cjs/models/e_pmv.js
CHANGED
|
@@ -104,9 +104,9 @@ function e_pmv(tdb, tr, vr, rh, met, clo, e_coefficient, wme = 0, kwargs = {}) {
|
|
|
104
104
|
units: ((_a = kwargs.units) !== null && _a !== void 0 ? _a : "SI").toUpperCase(),
|
|
105
105
|
limit_inputs: kwargs.limit_inputs,
|
|
106
106
|
}, E_PMV_SCHEMA);
|
|
107
|
-
let _pmv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, wme, "ISO", kwargs);
|
|
107
|
+
let _pmv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, wme, "ISO", kwargs).pmv;
|
|
108
108
|
met = _pmv > 0 ? met * (1 + _pmv * -0.067) : met;
|
|
109
|
-
_pmv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, wme, "ISO", kwargs);
|
|
109
|
+
_pmv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, wme, "ISO", kwargs).pmv;
|
|
110
110
|
_pmv = (0, utilities_js_1.round)(_pmv * e_coefficient, 2);
|
|
111
111
|
return { e_pmv: _pmv };
|
|
112
112
|
}
|
|
@@ -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/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,6 +190,7 @@ 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;
|
|
@@ -199,7 +202,22 @@ function phs(tdb, tr, v, rh, met, clo, posture, wme = 0, model = "7933-2023", kw
|
|
|
199
202
|
met: met_watt * (0, utilities_js_1.body_surface_area)(joint_kwargs.weight, joint_kwargs.height),
|
|
200
203
|
clo,
|
|
201
204
|
});
|
|
202
|
-
warnings.
|
|
205
|
+
if (warnings.length > 0 && joint_kwargs.limit_inputs) {
|
|
206
|
+
warnings.forEach((warning) => console.warn(warning));
|
|
207
|
+
return {
|
|
208
|
+
t_re: NaN,
|
|
209
|
+
t_sk: NaN,
|
|
210
|
+
t_cr: NaN,
|
|
211
|
+
t_cr_eq: NaN,
|
|
212
|
+
t_sk_t_cr_wg: NaN,
|
|
213
|
+
d_lim_loss_50: NaN,
|
|
214
|
+
d_lim_loss_95: NaN,
|
|
215
|
+
d_lim_t_re: NaN,
|
|
216
|
+
sweat_rate_watt: NaN,
|
|
217
|
+
sweat_loss_g: NaN,
|
|
218
|
+
evap_load_wm2_min: NaN,
|
|
219
|
+
};
|
|
220
|
+
}
|
|
203
221
|
let p_a;
|
|
204
222
|
if (model === "7933-2023") {
|
|
205
223
|
p_a = 0.6105 * Math.exp((17.27 * tdb) / (tdb + 237.3)) * (rh / 100);
|
package/lib/cjs/models/pmv.js
CHANGED
|
@@ -21,6 +21,7 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
21
21
|
* On the other hand, if the occupant has no control over the airspeed,
|
|
22
22
|
* the ASHRAE 55 imposes an upper limit for v which varies as a function of
|
|
23
23
|
* the operative temperature, for more information please consult the Standard.
|
|
24
|
+
* @property {boolean} round_output - If true, rounds pmv to 2 decimal places. Defaults to true.
|
|
24
25
|
* @public
|
|
25
26
|
*/
|
|
26
27
|
/**
|
|
@@ -78,7 +79,7 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
78
79
|
* {@link https://www.ashrae.org/file%20library/technical%20resources/standards%20and%20guidelines/standards%20addenda/55_2020_c_20210430.pdf|Addendum_C to Standard 55-2020}
|
|
79
80
|
* @param {PmvKwargs} kwargs - additional arguments
|
|
80
81
|
*
|
|
81
|
-
* @returns {number}
|
|
82
|
+
* @returns {{ pmv: number }} result - Object containing the Predicted Mean Vote
|
|
82
83
|
*
|
|
83
84
|
* @example
|
|
84
85
|
* const tdb = 25;
|
|
@@ -108,6 +109,7 @@ const PMV_SCHEMA = {
|
|
|
108
109
|
units: { enum: ["SI", "IP"] },
|
|
109
110
|
limit_inputs: { type: "boolean", required: false },
|
|
110
111
|
airspeed_control: { type: "boolean", required: false },
|
|
112
|
+
round_output: { type: "boolean", required: false },
|
|
111
113
|
};
|
|
112
114
|
function pmv(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs = {}) {
|
|
113
115
|
var _a;
|
|
@@ -115,6 +117,7 @@ function pmv(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs = {})
|
|
|
115
117
|
units: "SI",
|
|
116
118
|
limit_inputs: true,
|
|
117
119
|
airspeed_control: true,
|
|
120
|
+
round_output: true,
|
|
118
121
|
};
|
|
119
122
|
kwargs = Object.assign(default_kwargs, kwargs);
|
|
120
123
|
(0, utilities_js_1.validateInputs)({
|
|
@@ -129,10 +132,11 @@ function pmv(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs = {})
|
|
|
129
132
|
units: ((_a = kwargs.units) !== null && _a !== void 0 ? _a : "SI").toUpperCase(),
|
|
130
133
|
limit_inputs: kwargs.limit_inputs,
|
|
131
134
|
airspeed_control: kwargs.airspeed_control,
|
|
135
|
+
round_output: kwargs.round_output,
|
|
132
136
|
}, PMV_SCHEMA);
|
|
133
137
|
const pmv_ppdValue = (0, pmv_ppd_js_1.pmv_ppd)(tdb, tr, vr, rh, met, clo, wme, standard, kwargs);
|
|
134
138
|
if (!pmv_ppdValue.hasOwnProperty("pmv")) {
|
|
135
139
|
throw new Error("pmv property not found in pmv_ppdValue");
|
|
136
140
|
}
|
|
137
|
-
return pmv_ppdValue.pmv;
|
|
141
|
+
return { pmv: pmv_ppdValue.pmv };
|
|
138
142
|
}
|
|
@@ -22,6 +22,7 @@ const cooling_effect_js_1 = require("./cooling_effect.js");
|
|
|
22
22
|
* On the other hand, if the occupant has no control over the airspeed,
|
|
23
23
|
* the ASHRAE 55 imposes an upper limit for v which varies as a function of
|
|
24
24
|
* the operative temperature, for more information please consult the Standard.
|
|
25
|
+
* @property { boolean } round_output - If true, rounds pmv to 2 decimal places and ppd to 1. Defaults to true.
|
|
25
26
|
* @public
|
|
26
27
|
*/
|
|
27
28
|
/**
|
|
@@ -117,6 +118,7 @@ const PMV_PPD_SCHEMA = {
|
|
|
117
118
|
units: { enum: ["SI", "IP"], required: false },
|
|
118
119
|
limit_inputs: { type: "boolean", required: false },
|
|
119
120
|
airspeed_control: { type: "boolean", required: false },
|
|
121
|
+
round_output: { type: "boolean", required: false },
|
|
120
122
|
};
|
|
121
123
|
function pmv_ppd(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs = {}) {
|
|
122
124
|
var _a;
|
|
@@ -124,6 +126,7 @@ function pmv_ppd(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs =
|
|
|
124
126
|
units: "SI",
|
|
125
127
|
limit_inputs: true,
|
|
126
128
|
airspeed_control: true,
|
|
129
|
+
round_output: true,
|
|
127
130
|
};
|
|
128
131
|
kwargs = Object.assign(default_kwargs, kwargs);
|
|
129
132
|
(0, utilities_js_1.validateInputs)({
|
|
@@ -138,17 +141,18 @@ function pmv_ppd(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs =
|
|
|
138
141
|
units: (_a = kwargs.units) === null || _a === void 0 ? void 0 : _a.toUpperCase(),
|
|
139
142
|
limit_inputs: kwargs.limit_inputs,
|
|
140
143
|
airspeed_control: kwargs.airspeed_control,
|
|
144
|
+
round_output: kwargs.round_output,
|
|
141
145
|
}, PMV_PPD_SCHEMA);
|
|
142
146
|
if (kwargs.units && kwargs.units.toUpperCase() === "IP") {
|
|
143
147
|
// Conversion from IP to SI units
|
|
144
148
|
({ tdb, tr, vr } = (0, utilities_js_1.units_converter)({ tdb, tr, vr }, "IP"));
|
|
145
149
|
}
|
|
146
|
-
const
|
|
147
|
-
tdb
|
|
148
|
-
tr
|
|
149
|
-
v:
|
|
150
|
-
met
|
|
151
|
-
clo
|
|
150
|
+
const compliance_warnings = (0, utilities_js_1.check_standard_compliance)(standard, {
|
|
151
|
+
tdb,
|
|
152
|
+
tr,
|
|
153
|
+
v: vr,
|
|
154
|
+
met,
|
|
155
|
+
clo,
|
|
152
156
|
airspeed_control: kwargs.airspeed_control,
|
|
153
157
|
});
|
|
154
158
|
let ce = 0;
|
|
@@ -165,24 +169,20 @@ function pmv_ppd(tdb, tr, vr, rh, met, clo, wme = 0, standard = "ISO", kwargs =
|
|
|
165
169
|
Math.exp(-0.03353 * Math.pow(pmv, 4.0) - 0.2179 * Math.pow(pmv, 2.0));
|
|
166
170
|
// Checks that inputs are within the bounds accepted by the model if not return NaN
|
|
167
171
|
if (kwargs.limit_inputs) {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
if (isNaN(pmv) ||
|
|
172
|
-
tdb_valid.includes(NaN) ||
|
|
173
|
-
tr_valid.includes(NaN) ||
|
|
174
|
-
v_valid.includes(NaN) ||
|
|
175
|
-
met_valid.includes(NaN) ||
|
|
176
|
-
clo_valid.includes(NaN) ||
|
|
177
|
-
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) {
|
|
178
175
|
pmv = NaN;
|
|
179
176
|
ppd = NaN;
|
|
180
177
|
}
|
|
181
178
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
179
|
+
if (kwargs.round_output) {
|
|
180
|
+
return {
|
|
181
|
+
pmv: (0, utilities_js_1.round)(pmv, 2),
|
|
182
|
+
ppd: (0, utilities_js_1.round)(ppd, 1),
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
return { pmv, ppd };
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
188
|
* @param {number} tdb
|
|
@@ -35,6 +35,7 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
35
35
|
* @param {'SI'|'IP'} [kwargs.units='SI'] - Unit system
|
|
36
36
|
* @param {boolean} [kwargs.limit_inputs=true] - Return NaN for out-of-range inputs
|
|
37
37
|
* @param {boolean} [kwargs.airspeed_control=true] - Occupant controls airspeed
|
|
38
|
+
* @param {boolean} [kwargs.round_output=true] - Round pmv to 2 decimal places and ppd to 1
|
|
38
39
|
* @returns {PmvPpdAshrae} PMV and PPD values
|
|
39
40
|
*
|
|
40
41
|
* @example
|
|
@@ -57,6 +58,7 @@ const PMV_PPD_ASHRAE_SCHEMA = {
|
|
|
57
58
|
units: { enum: ["SI", "IP"], required: false },
|
|
58
59
|
limit_inputs: { type: "boolean", required: false },
|
|
59
60
|
airspeed_control: { type: "boolean", required: false },
|
|
61
|
+
round_output: { type: "boolean", required: false },
|
|
60
62
|
};
|
|
61
63
|
function pmv_ppd_ashrae(tdb, tr, vr, rh, met, clo, wme = 0, kwargs = {}) {
|
|
62
64
|
var _a;
|
|
@@ -71,6 +73,7 @@ function pmv_ppd_ashrae(tdb, tr, vr, rh, met, clo, wme = 0, kwargs = {}) {
|
|
|
71
73
|
units: (_a = kwargs.units) === null || _a === void 0 ? void 0 : _a.toUpperCase(),
|
|
72
74
|
limit_inputs: kwargs.limit_inputs,
|
|
73
75
|
airspeed_control: kwargs.airspeed_control,
|
|
76
|
+
round_output: kwargs.round_output,
|
|
74
77
|
}, PMV_PPD_ASHRAE_SCHEMA);
|
|
75
78
|
return (0, pmv_ppd_js_1.pmv_ppd)(tdb, tr, vr, rh, met, clo, wme, "ASHRAE", kwargs);
|
|
76
79
|
}
|
|
@@ -36,6 +36,7 @@ const utilities_js_1 = require("../utilities/utilities.js");
|
|
|
36
36
|
* @param {Object} [kwargs={}] - Optional overrides
|
|
37
37
|
* @param {'SI'|'IP'} [kwargs.units='SI'] - Unit system
|
|
38
38
|
* @param {boolean} [kwargs.limit_inputs=true] - Return NaN for out-of-range inputs
|
|
39
|
+
* @param {boolean} [kwargs.round_output=true] - Round pmv to 2 decimal places and ppd to 1
|
|
39
40
|
* @returns {PmvPpdIso} PMV and PPD values
|
|
40
41
|
*
|
|
41
42
|
* @example
|
|
@@ -57,6 +58,7 @@ const PMV_PPD_ISO_SCHEMA = {
|
|
|
57
58
|
wme: { type: "number" },
|
|
58
59
|
units: { enum: ["SI", "IP"], required: false },
|
|
59
60
|
limit_inputs: { type: "boolean", required: false },
|
|
61
|
+
round_output: { type: "boolean", required: false },
|
|
60
62
|
};
|
|
61
63
|
function pmv_ppd_iso(tdb, tr, vr, rh, met, clo, wme = 0, kwargs = {}) {
|
|
62
64
|
var _a;
|
|
@@ -70,6 +72,7 @@ function pmv_ppd_iso(tdb, tr, vr, rh, met, clo, wme = 0, kwargs = {}) {
|
|
|
70
72
|
wme,
|
|
71
73
|
units: (_a = kwargs.units) === null || _a === void 0 ? void 0 : _a.toUpperCase(),
|
|
72
74
|
limit_inputs: kwargs.limit_inputs,
|
|
75
|
+
round_output: kwargs.round_output,
|
|
73
76
|
}, PMV_PPD_ISO_SCHEMA);
|
|
74
77
|
return (0, pmv_ppd_js_1.pmv_ppd)(tdb, tr, vr, rh, met, clo, wme, "ISO", kwargs);
|
|
75
78
|
}
|
|
@@ -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" ||
|
|
@@ -75,7 +75,7 @@ function vertical_tmp_grad_ppd(tdb, tr, vr, rh, met, clo, vertical_tmp_grad, uni
|
|
|
75
75
|
clo: clo,
|
|
76
76
|
});
|
|
77
77
|
warnings.forEach((warning) => console.warn(warning));
|
|
78
|
-
const tsv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, 0, "ASHRAE");
|
|
78
|
+
const tsv = (0, pmv_js_1.pmv)(tdb, tr, vr, rh, met, clo, 0, "ASHRAE").pmv;
|
|
79
79
|
const ppd_vg = calculate_ppd_vg(tsv, vertical_tmp_grad);
|
|
80
80
|
const acceptability = check_acceptability(ppd_vg);
|
|
81
81
|
return {
|
package/lib/cjs/models/wbgt.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.wbgt = wbgt;
|
|
4
4
|
const utilities_js_1 = require("../utilities/utilities.js");
|
|
5
5
|
const optionDefaults = {
|
|
6
|
-
|
|
6
|
+
round_output: true,
|
|
7
7
|
tdb: undefined,
|
|
8
8
|
with_solar_load: false,
|
|
9
9
|
};
|
|
@@ -38,7 +38,7 @@ const optionDefaults = {
|
|
|
38
38
|
* @param {number} twb - natural (no forced air flow) wet bulb temperature, [°C]
|
|
39
39
|
* @param {number} tg - globe temperature, [°C]
|
|
40
40
|
* @param {object} [options] - configuration options for the function.
|
|
41
|
-
* @param {boolean} [options.
|
|
41
|
+
* @param {boolean} [options.round_output = true] - If true rounds output value. If
|
|
42
42
|
* false it does not round it.
|
|
43
43
|
* @param {number} [options.tdb = undefined] - Dry bulb air temperature, [°C].
|
|
44
44
|
* This value is needed as input if the person is exposed to direct solar
|
|
@@ -60,7 +60,7 @@ const optionDefaults = {
|
|
|
60
60
|
const WBGT_SCHEMA = {
|
|
61
61
|
twb: { type: "number" },
|
|
62
62
|
tg: { type: "number" },
|
|
63
|
-
|
|
63
|
+
round_output: { type: "boolean", required: false },
|
|
64
64
|
tdb: { type: "number", required: false },
|
|
65
65
|
with_solar_load: { type: "boolean", required: false },
|
|
66
66
|
};
|
|
@@ -69,7 +69,7 @@ function wbgt(twb, tg, options) {
|
|
|
69
69
|
(0, utilities_js_1.validateInputs)({
|
|
70
70
|
twb,
|
|
71
71
|
tg,
|
|
72
|
-
|
|
72
|
+
round_output: opt.round_output,
|
|
73
73
|
tdb: opt.tdb,
|
|
74
74
|
with_solar_load: opt.with_solar_load,
|
|
75
75
|
}, WBGT_SCHEMA);
|
|
@@ -83,8 +83,8 @@ function wbgt(twb, tg, options) {
|
|
|
83
83
|
else {
|
|
84
84
|
t_wbg = 0.7 * twb + 0.3 * tg;
|
|
85
85
|
}
|
|
86
|
-
if (opt.
|
|
87
|
-
|
|
86
|
+
if (opt.round_output) {
|
|
87
|
+
t_wbg = (0, utilities_js_1.round)(t_wbg, 1);
|
|
88
88
|
}
|
|
89
89
|
return { wbgt: t_wbg };
|
|
90
90
|
}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JOS3.d.ts","sourceRoot":"","sources":["../../../../src/models/JOS3.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"JOS3.d.ts","sourceRoot":"","sources":["../../../../src/models/JOS3.js"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adaptive_ashrae.d.ts","sourceRoot":"","sources":["../../../../src/models/adaptive_ashrae.js"],"names":[],"mappings":"AA4FA;;;;;;;;
|
|
1
|
+
{"version":3,"file":"adaptive_ashrae.d.ts","sourceRoot":"","sources":["../../../../src/models/adaptive_ashrae.js"],"names":[],"mappings":"AA4FA;;;;;;;;EA6EC;;;;;aA9Ja,MAAM;;;;oBACN,MAAM;;;;mBACN,MAAM;;;;oBACN,MAAM;;;;mBACN,MAAM;;;;sBACN,OAAO;;;;sBACP,OAAO"}
|
|
@@ -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"}
|