public class AclfInputUtilFunc
extends java.lang.Object
| Constructor and Description |
|---|
AclfInputUtilFunc() |
| Modifier and Type | Method and Description |
|---|---|
static AclfBus |
addCapacitorBusTo(AclfNetwork net,
java.lang.String busId,
double baseV,
int noArea,
int noZone,
double q,
Unit.UnitType qUnit)
Add a capacitor bus to the network
|
static void |
addLineBranchTo(AclfNetwork net,
java.lang.String fid,
int fSecNo,
java.lang.String tid,
int tSecNo,
double r,
double x,
Unit.UnitType zUnit,
double hB,
Unit.UnitType bUnit) |
static void |
addLineBranchTo(AclfNetwork net,
java.lang.String fid,
java.lang.String tid,
double r,
double x,
Unit.UnitType zUnit,
double hB,
Unit.UnitType bUnit)
Add a line branch to the network
|
static AclfBus |
addLoadBusTo(AclfNetwork net,
java.lang.String id,
double baseV,
int noArea,
int noZone,
AclfLoadCode code,
double p,
double q,
Unit.UnitType pUnit)
Add a load bus to the network
|
static AclfBus |
addLoadBusTo(AclfNetwork net,
java.lang.String id,
int secNo,
double baseV,
int noArea,
int noZone,
AclfLoadCode code,
double p,
double q,
Unit.UnitType pUnit) |
static AclfBus |
addNonGenNonLoadBusTo(AclfNetwork net,
java.lang.String id,
double baseV,
int noArea,
int noZone)
Add a non-load and non-gen bus
|
static AclfBus |
addNonGenNonLoadBusTo(AclfNetwork net,
java.lang.String id,
int secNo,
double baseV,
int noArea,
int noZone) |
static AclfBus |
addPQBusTo(AclfNetwork net,
java.lang.String id,
double baseV,
int noArea,
int noZone,
double p,
double q,
Unit.UnitType pUnit)
Add a PQ Gen bus to the network
|
static void |
addPsXfrBranchTo(AclfNetwork net,
java.lang.String fid,
java.lang.String tid,
double r,
double x,
Unit.UnitType zUnit,
double fTap,
double tTap,
Unit.UnitType ratioUnit,
double fAng,
double tAng,
Unit.UnitType angUnit)
Add a PsXfr branch to the network
|
static AclfBus |
addPVBusTo(AclfNetwork net,
java.lang.String id,
double baseV,
int noArea,
int noZone,
double p,
Unit.UnitType pUnit,
double v,
Unit.UnitType vUnit)
Add a PV bus to the network object
|
static AclfBus |
addSwingBusTo(AclfNetwork net,
java.lang.String id,
double baseV,
int noArea,
int noZone,
double vMag,
Unit.UnitType vUnit,
double vAng,
Unit.UnitType angUnit)
Add a swing bus into the network
|
static void |
addXfrBranchTo(AclfNetwork net,
java.lang.String fid,
java.lang.String tid,
double r,
double x,
Unit.UnitType zUnit,
double fTap,
double tTap,
Unit.UnitType ratioUnit)
Add a Xfr branch to the network
|
public static AclfBus addLoadBusTo(AclfNetwork net, java.lang.String id, double baseV, int noArea, int noZone, AclfLoadCode code, double p, double q, Unit.UnitType pUnit) throws InterpssException
net - the network objectid - bus idbaseV - base voltage in voltsnoArea - area numbernoZone - zone numbercode - bus load code (AclfLoadCode)p - load pq - load qpUnit - load unitInterpssExceptionpublic static AclfBus addLoadBusTo(AclfNetwork net, java.lang.String id, int secNo, double baseV, int noArea, int noZone, AclfLoadCode code, double p, double q, Unit.UnitType pUnit) throws java.lang.Exception
java.lang.Exceptionpublic static AclfBus addNonGenNonLoadBusTo(AclfNetwork net, java.lang.String id, double baseV, int noArea, int noZone) throws InterpssException
net - the network objectid - bus idbaseV - base voltage in voltsnoArea - area numbernoZone - zone numberInterpssExceptionpublic static AclfBus addNonGenNonLoadBusTo(AclfNetwork net, java.lang.String id, int secNo, double baseV, int noArea, int noZone) throws java.lang.Exception
java.lang.Exceptionpublic static AclfBus addPQBusTo(AclfNetwork net, java.lang.String id, double baseV, int noArea, int noZone, double p, double q, Unit.UnitType pUnit) throws InterpssException
net - the network objectid - bus idbaseV - base voltage in voltsnoArea - area numbernoZone - zone numberp - gen pq - gen qpUnit - gen P, Q unitInterpssExceptionpublic static AclfBus addPVBusTo(AclfNetwork net, java.lang.String id, double baseV, int noArea, int noZone, double p, Unit.UnitType pUnit, double v, Unit.UnitType vUnit) throws InterpssException
net - the network objectid - bus idbaseV - base voltage in voltsnoArea - area numbernoZone - zone numberp - gen ppUnit - p unitv - gen vvUnit - v unitInterpssExceptionpublic static AclfBus addSwingBusTo(AclfNetwork net, java.lang.String id, double baseV, int noArea, int noZone, double vMag, Unit.UnitType vUnit, double vAng, Unit.UnitType angUnit) throws InterpssException
net - the network objectid - bus idbaseV - base voltage in voltsnoArea - area numbernoZone - zone numbervMag - voltage magnitudevUnit - voltage unitvAng - voltage angleangUnit - angle unitInterpssExceptionpublic static AclfBus addCapacitorBusTo(AclfNetwork net, java.lang.String busId, double baseV, int noArea, int noZone, double q, Unit.UnitType qUnit) throws InterpssException
net - id - baseV - noArea - noZone - q - qUnit - java.lang.ExceptionInterpssExceptionpublic static void addLineBranchTo(AclfNetwork net, java.lang.String fid, java.lang.String tid, double r, double x, Unit.UnitType zUnit, double hB, Unit.UnitType bUnit) throws InterpssException
net - fid - tid - r - x - zUnit - hB - bUnit - msgHub - InterpssExceptionpublic static void addLineBranchTo(AclfNetwork net, java.lang.String fid, int fSecNo, java.lang.String tid, int tSecNo, double r, double x, Unit.UnitType zUnit, double hB, Unit.UnitType bUnit) throws InterpssException
InterpssExceptionpublic static void addXfrBranchTo(AclfNetwork net, java.lang.String fid, java.lang.String tid, double r, double x, Unit.UnitType zUnit, double fTap, double tTap, Unit.UnitType ratioUnit) throws InterpssException
net - fid - tid - r - x - zUnit - fTap - tTap - ratioUnit - msgHub - InterpssExceptionpublic static void addPsXfrBranchTo(AclfNetwork net, java.lang.String fid, java.lang.String tid, double r, double x, Unit.UnitType zUnit, double fTap, double tTap, Unit.UnitType ratioUnit, double fAng, double tAng, Unit.UnitType angUnit) throws InterpssException
net - fid - tid - r - x - zUnit - fTap - tTap - ratioUnit - fAng - tAng - angUnit - msgHub - InterpssException