-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed error in calculation of temperature gradient and created first …
…example.
- Loading branch information
1 parent
d33e11c
commit 98bdba8
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from pythermalcomfort.models import pmv_ppd | ||
from pythermalcomfort.psychrometrics import v_relative | ||
|
||
# measured air velocity | ||
v = 0.1 | ||
|
||
v_r = v_relative(v=v, met=1.4) | ||
print(v_r) | ||
|
||
# calculate PMV in accordance with the ASHRAE 55 2017 | ||
results = pmv_ppd(ta=27, tr=25, vr=v_r, rh=50, met=1.2, clo=0.5, wme=0, standard="ISO") | ||
|
||
# print the results | ||
print(results) | ||
|
||
# print PMV value | ||
print(results['pmv']) | ||
|
||
# for users who wants to use the IP system | ||
results_ip = pmv_ppd(ta=77, tr=77, vr=0.4, rh=50, met=1.2, clo=0.5, units="IP") | ||
print(results_ip) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters