Fundamental_Classes_and_Components - nasa/NPSS-Power-System-Library GitHub Wiki
Fundamental Classes and Components
The following is a list of fundamental classes and components that are included in the library:
-
- The
ElectricPort
class is used to transfer power system information between components to form power system networks. It is the foundation of the Power System Library and serves as a substitute the generic NPSS port for electric components.
- The
-
- The
Enode
class is used as a bus or electrical node that may connect to an arbitrary number of components. TheEnode
is required when a component must connect to more than one other component, or when two nodeless components must be connected.
- The
-
- The
ComplexNumber
class is used by theElectricPort
component to perform the calculations required for the implementation of phasors (phase vectors). These are necessary to accurately model power system components using alternating current (AC1
) or three-phase (AC3
) electric power.
- The
-
Interpreted Port
- The
InterpretedPort.int
file is a collection of functions required by Power System Library models to applyElectricPort
connections by use of thelinkPortsI()
function. This file must be imported to use the electric port.
- The
-
Electric Element
- The
ElectricElement
extends the generic NPSS element to include shared properties specific to NPSS Power System Library components. It is also used to differentiate Power System Library components from standard NPSS components for electric power type propagation and other utilities.
- The
-
Electric Assembly
- The
ElectricAssembly
extends theInterpretedAssembly
class to includeElectricPort
andInterpretedPort
functionality. This omits the required preprocessor directive to includeElectricPort.prt
.
- The
-
Interpreted Assembly
- The
InterpretedAssembly
extends the generic NPSS assembly to includeInterpretedPort
functionality (i.e.linkPortsI()
).
- The