Package com.powsybl.ieeecdf.model
Class IeeeCdfBus
- java.lang.Object
-
- com.powsybl.ieeecdf.model.IeeeCdfBus
-
public class IeeeCdfBus extends Object
- Author:
- Geoffroy Jamgotchian
- See Also:
- https://labs.ece.uw.edu/pstca/formats/cdf.txt
Columns 1- 4 Bus number (I) * Columns 7-17 Name (A) (left justify) * Columns 19-20 Load flow area number (I) Don't use zero! * Columns 21-23 Loss zone number (I) Columns 25-26 Type (I) * 0 - Unregulated (load, PQ) 1 - Hold MVAR generation within voltage limits, (PQ) 2 - Hold voltage within VAR limits (gen, PV) 3 - Hold voltage and angle (swing, V-Theta) (must always have one) Columns 28-33 Final voltage, p.u. (F) * Columns 34-40 Final angle, degrees (F) * Columns 41-49 Load MW (F) * Columns 50-59 Load MVAR (F) * Columns 60-67 Generation MW (F) * Columns 68-75 Generation MVAR (F) * Columns 77-83 Base KV (F) Columns 85-90 Desired volts (pu) (F) (This is desired remote voltage if this bus is controlling another bus. Columns 91-98 Maximum MVAR or voltage limit (F) Columns 99-106 Minimum MVAR or voltage limit (F) Columns 107-114 Shunt conductance G (per unit) (F) * Columns 115-122 Shunt susceptance B (per unit) (F) * Columns 124-127 Remote controlled bus number
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IeeeCdfBus.Type
0 - Unregulated (load, PQ) 1 - Hold MVAR generation within voltage limits, (PQ) 2 - Hold voltage within VAR limits (gen, PV) 3 - Hold voltage and angle (swing, V-Theta) (must always have one)
-
Constructor Summary
Constructors Constructor Description IeeeCdfBus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getActiveGeneration()
double
getActiveLoad()
int
getAreaNumber()
double
getBaseVoltage()
double
getDesiredVoltage()
double
getFinalAngle()
double
getFinalVoltage()
int
getLossZoneNumber()
double
getMaxReactivePowerOrVoltageLimit()
double
getMinReactivePowerOrVoltageLimit()
String
getName()
int
getNumber()
double
getReactiveGeneration()
double
getReactiveLoad()
int
getRemoteControlledBusNumber()
double
getShuntConductance()
double
getShuntSusceptance()
IeeeCdfBus.Type
getType()
void
setActiveGeneration(double activeGeneration)
void
setActiveLoad(double activeLoad)
void
setAreaNumber(int areaNumber)
void
setBaseVoltage(double baseVoltage)
void
setDesiredVoltage(double desiredVoltage)
void
setFinalAngle(double finalAngle)
void
setFinalVoltage(double finalVoltage)
void
setLossZoneNumber(int lossZoneNumber)
void
setMaxReactivePowerOrVoltageLimit(double maxReactivePowerOrVoltageLimit)
void
setMinReactivePowerOrVoltageLimit(double minReactivePowerOrVoltageLimit)
void
setName(String name)
void
setNumber(int number)
void
setReactiveGeneration(double reactiveGeneration)
void
setReactiveLoad(double reactiveLoad)
void
setRemoteControlledBusNumber(int remoteControlledBusNumber)
void
setShuntConductance(double shuntConductance)
void
setShuntSusceptance(double shuntSusceptance)
void
setType(IeeeCdfBus.Type type)
-
-
-
Method Detail
-
getNumber
public int getNumber()
-
setNumber
public void setNumber(int number)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getAreaNumber
public int getAreaNumber()
-
setAreaNumber
public void setAreaNumber(int areaNumber)
-
getLossZoneNumber
public int getLossZoneNumber()
-
setLossZoneNumber
public void setLossZoneNumber(int lossZoneNumber)
-
getType
public IeeeCdfBus.Type getType()
-
setType
public void setType(IeeeCdfBus.Type type)
-
getFinalVoltage
public double getFinalVoltage()
-
setFinalVoltage
public void setFinalVoltage(double finalVoltage)
-
getFinalAngle
public double getFinalAngle()
-
setFinalAngle
public void setFinalAngle(double finalAngle)
-
getActiveLoad
public double getActiveLoad()
-
setActiveLoad
public void setActiveLoad(double activeLoad)
-
getReactiveLoad
public double getReactiveLoad()
-
setReactiveLoad
public void setReactiveLoad(double reactiveLoad)
-
getActiveGeneration
public double getActiveGeneration()
-
setActiveGeneration
public void setActiveGeneration(double activeGeneration)
-
getReactiveGeneration
public double getReactiveGeneration()
-
setReactiveGeneration
public void setReactiveGeneration(double reactiveGeneration)
-
getBaseVoltage
public double getBaseVoltage()
-
setBaseVoltage
public void setBaseVoltage(double baseVoltage)
-
getDesiredVoltage
public double getDesiredVoltage()
-
setDesiredVoltage
public void setDesiredVoltage(double desiredVoltage)
-
getMaxReactivePowerOrVoltageLimit
public double getMaxReactivePowerOrVoltageLimit()
-
setMaxReactivePowerOrVoltageLimit
public void setMaxReactivePowerOrVoltageLimit(double maxReactivePowerOrVoltageLimit)
-
getMinReactivePowerOrVoltageLimit
public double getMinReactivePowerOrVoltageLimit()
-
setMinReactivePowerOrVoltageLimit
public void setMinReactivePowerOrVoltageLimit(double minReactivePowerOrVoltageLimit)
-
getShuntConductance
public double getShuntConductance()
-
setShuntConductance
public void setShuntConductance(double shuntConductance)
-
getShuntSusceptance
public double getShuntSusceptance()
-
setShuntSusceptance
public void setShuntSusceptance(double shuntSusceptance)
-
getRemoteControlledBusNumber
public int getRemoteControlledBusNumber()
-
setRemoteControlledBusNumber
public void setRemoteControlledBusNumber(int remoteControlledBusNumber)
-
-