modelOnePortAC
Base class for AC components with one port
Information
This is the base class for all the components with an AC terminal. It contains a corresponding PortAC component to compute useful quantities for modelling and monitoring purposes.
Parameters
| Type | Name | Default | Description |
| Types.Voltage | UNom | | Nominal/rated line-to-line voltage |
| Types.ApparentPower | SNom | | Nominal/rated apparent power |
| Boolean | portVariablesPhases | false | Compute voltage and current phases for monitoring purposes only |
| Boolean | portVariablesPu | true | Add per-unit variables to model |
| Boolean | generatorConvention | false | Add currents with generator convention (i > 0 when exiting the device) to model |
| LocalInitializationOption | localInit | LocalInitializationOption.none | Initialize the component locally in steady state from port start values |
| Initialization |
| Types.Voltage | UStart | UNom | Start value of phase-to-phase voltage phasor, absolute value |
| Types.Angle | UPhaseStart | 0 | Start value of phase-to-phase voltage phasor, phase angle |
| Types.ActivePower | PStart | SNom | Start value of active power flowing into the port |
| Types.ReactivePower | QStart | 0 | Start value of reactive power flowing into the port |