Contents

UnitPower

A unit of measure for power.

Declaration

class UnitPower

Overview

You typically use instances of UnitPower to represent specific quantities of power using the NSMeasurement class.

Power

Power is the amount of energy used over time. The SI unit for power is the watt (W), which is derived as one joule per second (1W = 1J / 1s).

The UnitPower class defines its baseUnit() as watts, and provides the following units, which are initialized using UnitConverterLinear converters with the specified coefficients:

Name

Method

Symbol

Coefficient

Terawatts

Terawatts

TW

1e12

Gigawatts

Gigawatts

GW

1e9

Megawatts

Megawatts

MW

1000000.0

Kilowatts

Kilowatts

kW

1000.0

Watts

Watts

W

1

Milliwatts

Milliwatts

mW

0.001

Microwatts

Microwatts

µW

0.000001

Nanowatts

Nanowatts

nW

1e-9

Picowatts

Picowatts

pW

1e-12

Femtowatts

Femtowatts

fW

1e-15

Horsepower

Horsepower

hp

745.7

Topics

Accessing the Base Unit

Accessing Predefined Units

See Also

Energy, Heat, and Light