Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zgldh/comfort-temperature
To calculate the comfort temperature from the standard of ASHRAE-55
https://github.com/zgldh/comfort-temperature
ashrae pmv temperature
Last synced: about 1 month ago
JSON representation
To calculate the comfort temperature from the standard of ASHRAE-55
- Host: GitHub
- URL: https://github.com/zgldh/comfort-temperature
- Owner: zgldh
- License: gpl-3.0
- Created: 2024-06-06T10:13:27.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-06T11:21:43.000Z (7 months ago)
- Last Synced: 2024-08-08T22:14:54.576Z (5 months ago)
- Topics: ashrae, pmv, temperature
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# comfort-temperature
To calculate the comfort air temperature from the standard of ASHRAE-55Core code comes from https://github.com/CenterForTheBuiltEnvironment/comfort_tool
## Usage
`npm install comfort-temperature`
```js
var ct = require('comfort-temperature').ComportTemperature;var ta = 15; // air temperature, [C]
var tr = 25; // mean radiant temperature, [C]
var vel = 0.8; // air speed, [m/s]
var rh = 40; // relative humidity, [%]
var met = 1; // metabolic rate, [met]
var clo = 0.6; // clothing level, [clo]
var wme = 0; // external work, [met]var result = ct.Calculate(ta, tr, vel, rh, met, clo, wme);
console.log(result);
```Output would be
```js
{
pmv: -4.558394498497179,
ppd: 99.999999470295,
set: 13.537207469450086,
ta_adj: 8.775882545393353,
tr_adj: 18.77588254539335,
cooling_effect: 6.224117454606647,
cat: 30
}
```The `cat: 30 °C` would be the suggested best **Comfortable Air Temperature**.
You can double check the result from this web tool: https://comfort.cbe.berkeley.edu/
Put all parameters in the form, then change the **Air temperature** with the value of `cat`, you will see the `PMV with elevated air speed` is the lowest. Which means it's the best comfortable air temperature. https://en.wikipedia.org/wiki/Thermal_comfort#PMV/PPD_method