Class

NSUnitPower

A unit of measure for power.

Declaration

@interface NSUnitPower : NSDimension

Overview

You typically use instances of NSUnitPower 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 NSUnitPower class defines its base unit as watts, and provides the following units, which are initialized using NSUnitConverterLinear 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

+ baseUnit

Returns the base unit of power. Equal to watts.

Accessing Predefined Units

terawatts

Returns the terawatts unit of power.

gigawatts

Returns the gigawatts unit of power.

megawatts

Returns the megawatts unit of power.

kilowatts

Returns the kilowatts unit of power.

watts

Returns the watts unit of power.

milliwatts

Returns the milliwatts unit of power.

microwatts

Returns the microwatts unit of power.

nanowatts

Returns the nanowatts unit of power.

picowatts

Returns the picowatts unit of power.

femtowatts

Returns the femtowatts unit of power.

horsepower

Returns the horsepower unit of power.

Relationships

Inherits From

Conforms To

See Also

Energy, Heat, and Light

NSUnitEnergy

A unit of measure for energy.

NSUnitTemperature

A unit of measure for temperature.

NSUnitIlluminance

A unit of measure for luminance.