-
Notifications
You must be signed in to change notification settings - Fork 23
Enode
The Enode
class is used by the NPSS Power System Library to connect multiple components to a single node or bus. It may alternatively be used for when a model requires two nodeless components (e.g. a cable to a breaker) to be connected which must have a nodal component placed in between to correctly propagate voltage information across its network (see Home).
The Enode
component is primarily used as an electrical bus that connects multiple components to each other via Cables or Breakers (i.e. nodeless components). Used in this way, it propagates the voltage information to conform to the Power System Libary's solver configuration.
Consider the diagram below where two Source components , S1
& S2
, are supplying power to a ConstantPowerLoad CPL
:
Branch 1
Src (S1) -> Cbl (C1) ->|
| Branch 3
Node (E1) |-> Cbl (C3) -> CPL (L1)
Branch 2 |
Src (S2) -> Cbl (C2) ->|
Because the model requires multiple source (nodal) components to be connected to the constant power load, the Enode
E1
is used as a bus to connect all three branches together via cables (C1
, C2
, C3
).
Defining an Enode
component is similar to any other nodal component, however, requires the user to also define each ElectricInputPort
and ElectricOutputPort
manually as required by the model.
Enode E1 {
ElectricInputPort EP_I1, EP_I2;
ElectricInputPort EP_O;
VrealRMS = 100; // [volts]
VimagRMS = 0; // [volts]
frequency = 400; // [Hz]
}
Once this is done, the components must be linked via their ports to each Enode
port to form a branch. User's are encouraged to use findSourcesAndPropagate()
when using Enode
s to avoid setting incorrect power types. An Enode
's electric ports must all have the same power type.
// Branch 1
linkPortI("S1.EP_O", "C1.EP_I");
linkPortI("C1.EP_O", "E1.EP_I1");
// Branch 2
linkPortI("S2.EP_O", "C2.EP_I");
linkPortI("C2.EP_O", "E1.EP_I2");
// Branch 3
linkPortI("E1.EP_O", "C3.EP_I");
linkPortI("C3.EP_O", "CPL.EP_I");
findSourcesAndPropagate();
TODO
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