# Power

The power settings.

## Example

app = cf.GetApplication()
project = app:NewProject()

-- The power object is always there, obtain a handle

power = project.SolutionConfigurations[1].Power

-- Set the power scale setting

power.ScaleSettings = cf.Enums.PowerScaleSettingsEnum.NoPowerScaling


## Usage locations (object properties)

The following objects have properties using the Power object:

## Property List

DecoupleSourcesEnabled
The option to decouple all sources when calculating power. (Read/Write boolean)
ScaleSettings
The scale settings specified by the PowerScaleSettingsEnum, e.g. NoPowerScaling, TotalSourcePower, etc. (Read/Write PowerScaleSettingsEnum)
SourcePower
The source power (Watt). (Read/Write Expression)
Type
The object type string. (Read only string)
Z0Imaginary
The imaginary part of the characteristic impedance (Z0). (Read/Write Expression)
Z0Real
The real part of the characteristic impedance (Z0). (Read/Write Expression)

## Method List

GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step. (Returns a table object.)
SetProperties (properties table)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.

## Property Details

DecoupleSourcesEnabled
The option to decouple all sources when calculating power.
Type
boolean
Access
ScaleSettings
The scale settings specified by the PowerScaleSettingsEnum, e.g. NoPowerScaling, TotalSourcePower, etc.
Type
PowerScaleSettingsEnum
Access
SourcePower
The source power (Watt).
Type
Expression
Access
Type
The object type string.
Type
string
Access
Z0Imaginary
The imaginary part of the characteristic impedance (Z0).
Type
Expression
Access
Z0Real
The real part of the characteristic impedance (Z0).
Type
Expression
Access