-
Notifications
You must be signed in to change notification settings - Fork 23
ComplexNumber
The ComplexNumber
class implements complex numbers into the NPSS Power System Library. These are numbers which can be expressed in the form a+bi where i2=-1 and a and b are real numbers. Complex numbers are used in the Power System Library to represent phasors (phase vectors) which the ElectricPort
and many other classes uses to correctly perform their engineering calculations when alternating current (AC1
) and three-phase (AC3
) electric power is being modeled.
The complex number class is used by many of the NPSS Power System Library (though most importantly ElectricPort
) components to represent their current, voltage, and electric power values. Components which perturb an electrical variable such as voltage or current do not utilize ComplexNumber
for those variables because the NPSS solver requires these variables to be of built-in type real
.
The ComplexNumber
class is currently implemented in the ComplexNumber.int
file.
This wiki page is intended to serve as documentation for the NPSS Power System Library (PSL). The PSL is maintained by NASA at the NASA Glenn Research Center, and funded by the Revolutionary Vertical Lift Technology (RVLT) project. A detailed table of contents for this page can be found in the Home page.
- Home
- Library Structure
-
Fundamental Classes and Components
- Electric Port
- Electric Node (Bus)
- Complex Number
- Inverter & Rectifier Map
- Motor & Generator Map
- E-Thermal Mass
- Interpreted Port
- Electric Element
- Electric Assembly
- Interpreted Assembly
- Modeling Components
-
Examples
- baseline
- baseline 1to2Bus
- baseline 2to1Bus
- baseline all_elec
- baseline all_elecMDP
- baseline turboelectric
- baseline turboelectricMDP
- cable_and_duct thermal_test
- cable_test
- cable thermal_test
- power propagation
- run_3phase example
- run_RLC example
- run_R_dc example
- thermal baseline
- thermal test
- transient baseline