1"""
2"""
3from __future__ import absolute_import
4
5from ..unitquantity import UnitQuantity
6from .energy import Btu, J
7from .time import s, h, min
8from .electromagnetism import A, V
9from .length import ft
10from .force import lbf
11
12
13W = watt = volt_ampere = UnitQuantity(
14    'watt',
15    J/s,
16    symbol='W',
17    aliases=['watts', 'volt_ampere', 'volt_amperes', 'VA']
18)
19mW = milliwatt = UnitQuantity(
20    'milliwatt',
21    W/1000,
22    symbol='mW',
23    aliases=['milliwatts']
24)
25kW = kilowatt = UnitQuantity(
26    'kilowatt',
27    1000*W,
28    symbol='kW',
29    aliases=['kilowatts']
30)
31MW = megawatt = UnitQuantity(
32    'megawatt',
33    1000*kW,
34    symbol='MW',
35    aliases=['megawatts']
36)
37hp = horsepower = UK_horsepower = British_horsepower = UnitQuantity(
38    'horsepower',
39    33000*ft*lbf/min,
40    symbol='hp',
41    aliases=['UK_horsepower', 'British_horsepower']
42)
43boiler_horsepower = UnitQuantity(
44    'boiler_horsepower',
45    33475*Btu/h
46)
47metric_horsepower = UnitQuantity(
48    'metric_horsepower',
49    0.73549875*kW,
50    doc='exact'
51)
52electric_horsepower = UnitQuantity(
53    'electric_horsepower',
54    746*W
55)
56water_horsepower = UnitQuantity(
57    'water_horsepower',
58    746.043*W,
59    doc='exact'
60)
61
62refrigeration_ton = ton_of_refrigeration = UnitQuantity(
63    'refrigeration_ton',
64    12000*Btu/h,
65    aliases=['ton_of_refrigeration']
66)
67
68del UnitQuantity, Btu, J, s, h, A, V
69