File: heat.py

package info (click to toggle)
python-quantities 0.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 864 kB
  • sloc: python: 8,006; makefile: 72; sh: 3
file content (31 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""
"""

from ..unitquantity import UnitQuantity
from .temperature import K, degF
from .length import m, ft
from .power import W
from .energy import BTU
from .time import h


RSI = UnitQuantity(
    'RSI',
    K*m**2/W,
    doc='R-value in SI'
)

clo = clos = UnitQuantity(
    'clo',
    0.155*RSI,
    aliases=['clos']
)

R_value = UnitQuantity(
    'R_value',
    ft**2*degF*h/BTU,
    doc='American customary units'
)


del UnitQuantity, K, degF, m, ft, W, BTU, h