public interface IAclfBus
extends org.eclipse.emf.ecore.EObject
AclfPackage.getIAclfBus()
Modifier and Type | Method and Description |
---|---|
org.apache.commons.math3.complex.Complex |
getVoltage()
Get bus voltage in pu in format Vre+jVim.
|
org.apache.commons.math3.complex.Complex |
getVoltage(Unit.UnitType unit)
Get bus voltage in the specified unit in format Vre+jVim.
|
double |
getVoltageAng(Unit.UnitType unit)
Get bus voltage angle in the unit specified
|
double |
getVoltageMag(Unit.UnitType unit)
Get bus voltage magnitude in the specified unit.
|
boolean |
isCapacitor()
check if the bus is a Capacitor bus, which is defined as has compensatorList or a
SwitchedShunt bus or a StaticVarCompensator bus.
|
boolean |
isConstILoad()
Check if the bus is a constant current load bus
|
boolean |
isConstPLoad()
Check if the bus is a constant P Load bus
|
boolean |
isConstZLoad()
Check if the bus is a constant Z load bus
|
boolean |
isGen()
Check if the bus is a generator bus
|
boolean |
isGenPQ()
check if the bus is a generator PQ bus
|
boolean |
isGenPV()
check if the bus is a generator PV bus
|
boolean |
isLoad()
check if the bus is a Load bus
|
boolean |
isLoadPV()
check if the bus is a Load PV bus
|
boolean |
isNonContribute()
Check if the bus is a non-gen and non-load bus.
|
boolean |
isPV()
check if the bus is a Load PV bus
|
boolean |
isRefBus()
By default, ref bus is the swing bus.
|
boolean |
isSwing()
check if the bus is a Swing bus
|
void |
setVoltage(org.apache.commons.math3.complex.Complex volt)
Set bus voltage in pu in Vre+jVim format.
|
void |
setVoltage(org.apache.commons.math3.complex.Complex volt,
Unit.UnitType unit)
Set bus voltage in the specified unit in Vre+jVim format.
|
void |
setVoltage(double mag,
double ang)
Set bus voltage in pu in mag/ang format.
|
void |
updateVoltage(Vector_xy dv)
Update voltage V = V + dV.
|
void |
updateVoltageAng(double dAng)
Update voltage angle V = V + dV.
|
void |
updateVoltageMag(double dMag)
Update voltage magnitude V = V + dV.
|
boolean isSwing()
boolean isPV()
boolean isRefBus()
boolean isGen()
boolean isGenPQ()
boolean isGenPV()
boolean isCapacitor()
boolean isLoad()
boolean isLoadPV()
boolean isConstPLoad()
boolean isConstILoad()
boolean isConstZLoad()
boolean isNonContribute()
org.apache.commons.math3.complex.Complex getVoltage()
org.apache.commons.math3.complex.Complex getVoltage(Unit.UnitType unit)
double getVoltageMag(Unit.UnitType unit)
unit
- voltage mag unit
double getVoltageAng(Unit.UnitType unit)
unit
- voltage angle unit
void setVoltage(org.apache.commons.math3.complex.Complex volt)
void setVoltage(org.apache.commons.math3.complex.Complex volt, Unit.UnitType unit)
volt
- complex voltage valueunit
- volage unit
void setVoltage(double mag, double ang)
mag
- voltage magnitudeang
- votlage angle
void updateVoltage(Vector_xy dv)
dv
- voltage increment
void updateVoltageAng(double dAng)
dAng
- voltage angle increment
void updateVoltageMag(double dMag)
dMag
- voltage magnitude increment