public class AcscFaultResultImpl extends java.lang.Object implements IFaultResult
| Constructor and Description |
|---|
AcscFaultResultImpl(BaseAcscNetwork<?,?> net) |
| Modifier and Type | Method and Description |
|---|---|
void |
calBranchCurrent()
Calculate branch current (all branches) for display purpose.
|
Complex3x1 |
calBranchScAmpFrom2To(AcscBranch branch)
Calculate branch sc current for display purpose.
|
Complex3x1 |
calBranchScAmpTo2From(AcscBranch branch)
Calculate branch sc current for display purpose.
|
void |
calContributingCurrent()
Calculate contributing current for all bus for display purpose.
|
BaseAcscNetwork<?,?> |
getAcscNet()
get AclfNet object
|
Complex3x1 |
getBranchAmpsFrom2To_012(int i)
Get the branch fault current from->to in 012 for the index
|
Complex3x1 |
getBranchAmpsFrom2To_012(int i,
Unit.UnitType unit,
double baseV,
double baseKVA)
Get the branch fault current in 012 from->to for the index and the unit
|
Complex3x1 |
getBranchAmpsFrom2To_abc(int i)
Get the branch fault current in abc from->to for the index
|
Complex3x1 |
getBranchAmpsFrom2To_abc(int i,
Unit.UnitType unit,
double baseV,
double baseKVA)
Get the branch fault current in abc from->to for the index and the unit
|
Complex3x1 |
getBranchAmpsTo2From_012(int i)
Get the branch fault current to->from in 012 for the index
|
Complex3x1 |
getBranchAmpsTo2From_012(int i,
Unit.UnitType unit,
double baseV,
double baseKVA)
Get the branch fault current in 012 to->from for the index and the unit
|
Complex3x1 |
getBranchAmpsTo2From_abc(int i)
Get the branch fault current in abc to->from for the index
|
Complex3x1 |
getBranchAmpsTo2From_abc(int i,
Unit.UnitType unit,
double baseV,
double baseKVA)
Get the branch fault current in abc to->from for the index and the unit
|
Complex3x1 |
getBusContriAmps_012(AcscBus bus)
Get the bus contributing fault current in 012 for the index
|
Complex3x1 |
getBusContriAmps_012(AcscBus bus,
Unit.UnitType unit,
double baseV,
double baseKVA)
Get the bus contributing fault current in 012 for the index and unit
|
Complex3x1 |
getBusVoltage_012(AcscBus bus)
Get the bus fault voltage in 012 for the index
|
org.apache.commons.math3.complex.Complex |
getFaultPointV()
Get the fault point voltage
|
Complex3x1 |
getSCCurrent_012()
Get the fault point current in 012
|
Complex3x1 |
getSCCurrent_012(Unit.UnitType unit,
double baseV,
double baseKVA)
Get the fault point current in 012 for the unit
|
Complex3x1 |
getSCCurrent_abc()
Get the fault point current in abc
|
Complex3x1 |
getSCCurrent_abc(Unit.UnitType unit,
double baseV,
double baseKVA)
Get the fault point current in abc for the unit
|
org.apache.commons.math3.complex.Complex |
getZFault()
Get the fault point equivalent impedence
|
org.apache.commons.math3.complex.Complex |
getZFault(Unit.UnitType unit,
double baseV,
double baseKVA)
Get the equivalent fault impedence for the unit
|
void |
setBusVoltage(org.apache.commons.math3.complex.Complex v,
AcscBus bus,
SequenceCode seq)
Set bus fault voltage
|
void |
setFaultPointV(org.apache.commons.math3.complex.Complex vpu) |
void |
setFaultPointV(org.apache.commons.math3.complex.Complex v,
double baseV,
Unit.UnitType unit)
Set the fault point voltage for the unit
|
void |
setSCCurrent(org.apache.commons.math3.complex.Complex isc,
SequenceCode seq)
Set fault point sc current for the sequence
|
void |
setZFault(org.apache.commons.math3.complex.Complex zpu)
Set the equivalent fault impedence
|
void |
setZFault(org.apache.commons.math3.complex.Complex z,
Unit.UnitType unit,
double baseV,
double baseKVA)
Set the equivalent fault impedence
|
java.lang.String |
toString(double baseV)
Return a String representation of the object state
|
public AcscFaultResultImpl(BaseAcscNetwork<?,?> net)
public BaseAcscNetwork<?,?> getAcscNet()
IFaultResultgetAcscNet in interface IFaultResultpublic void calContributingCurrent()
throws java.lang.Exception
calContributingCurrent in interface IFaultResultjava.lang.Exceptionpublic void calBranchCurrent()
throws InterpssException
calBranchCurrent in interface IFaultResultInterpssExceptionpublic Complex3x1 calBranchScAmpFrom2To(AcscBranch branch) throws InterpssException
calBranchScAmpFrom2To in interface IFaultResultbranch - the branch objectInterpssExceptionpublic Complex3x1 calBranchScAmpTo2From(AcscBranch branch) throws InterpssException
calBranchScAmpTo2From in interface IFaultResultbranch - the branch objectInterpssExceptionpublic org.apache.commons.math3.complex.Complex getFaultPointV()
getFaultPointV in interface IFaultResultpublic Complex3x1 getSCCurrent_012()
getSCCurrent_012 in interface IFaultResultpublic Complex3x1 getSCCurrent_012(Unit.UnitType unit, double baseV, double baseKVA)
getSCCurrent_012 in interface IFaultResultunit - the unitnaseKVA - system base KVApublic Complex3x1 getSCCurrent_abc()
getSCCurrent_abc in interface IFaultResultpublic Complex3x1 getSCCurrent_abc(Unit.UnitType unit, double baseV, double baseKVA) throws InterpssException
getSCCurrent_abc in interface IFaultResultunit - the unitnaseKVA - system base KVAInterpssExceptionpublic org.apache.commons.math3.complex.Complex getZFault()
getZFault in interface IFaultResultpublic org.apache.commons.math3.complex.Complex getZFault(Unit.UnitType unit, double baseV, double baseKVA) throws InterpssException
getZFault in interface IFaultResultunit - the z unitbaseKVA - system base KVAInterpssExceptionpublic void setFaultPointV(org.apache.commons.math3.complex.Complex vpu)
setFaultPointV in interface IFaultResultvpu - the voltagepublic void setFaultPointV(org.apache.commons.math3.complex.Complex v,
double baseV,
Unit.UnitType unit)
setFaultPointV in interface IFaultResultv - the voltageunit - the unitpublic void setSCCurrent(org.apache.commons.math3.complex.Complex isc,
SequenceCode seq)
setSCCurrent in interface IFaultResultisc - the sc currentsequence - public void setZFault(org.apache.commons.math3.complex.Complex zpu)
setZFault in interface IFaultResultzpu - the impedencepublic void setBusVoltage(org.apache.commons.math3.complex.Complex v,
AcscBus bus,
SequenceCode seq)
setBusVoltage in interface IFaultResultv - the voltagei - bus internal numberseq - sequence numberpublic Complex3x1 getBusVoltage_012(AcscBus bus)
getBusVoltage_012 in interface IFaultResulti - indexpublic Complex3x1 getBusContriAmps_012(AcscBus bus)
getBusContriAmps_012 in interface IFaultResulti - indexpublic Complex3x1 getBusContriAmps_012(AcscBus bus, Unit.UnitType unit, double baseV, double baseKVA)
getBusContriAmps_012 in interface IFaultResulti - indexunit - the unitbaseV - base voltage for the calculationnaseKVA - system base KVApublic Complex3x1 getBranchAmpsFrom2To_012(int i)
getBranchAmpsFrom2To_012 in interface IFaultResulti - indexpublic Complex3x1 getBranchAmpsTo2From_012(int i)
getBranchAmpsTo2From_012 in interface IFaultResulti - indexpublic Complex3x1 getBranchAmpsFrom2To_012(int i, Unit.UnitType unit, double baseV, double baseKVA) throws InterpssException
getBranchAmpsFrom2To_012 in interface IFaultResulti - indexunit - the unitbaseV - base voltage for the calculationnaseKVA - system base KVAInterpssExceptionpublic Complex3x1 getBranchAmpsTo2From_012(int i, Unit.UnitType unit, double baseV, double baseKVA) throws InterpssException
getBranchAmpsTo2From_012 in interface IFaultResulti - indexunit - the unitbaseV - base voltage for the calculationnaseKVA - system base KVAInterpssExceptionpublic Complex3x1 getBranchAmpsFrom2To_abc(int i)
getBranchAmpsFrom2To_abc in interface IFaultResulti - indexpublic Complex3x1 getBranchAmpsTo2From_abc(int i)
getBranchAmpsTo2From_abc in interface IFaultResulti - indexpublic Complex3x1 getBranchAmpsFrom2To_abc(int i, Unit.UnitType unit, double baseV, double baseKVA) throws InterpssException
getBranchAmpsFrom2To_abc in interface IFaultResulti - indexunit - the unitbaseV - base voltage for the calculationnaseKVA - system base KVAInterpssExceptionpublic Complex3x1 getBranchAmpsTo2From_abc(int i, Unit.UnitType unit, double baseV, double baseKVA) throws InterpssException
getBranchAmpsTo2From_abc in interface IFaultResulti - indexunit - the unitbaseV - base voltage for the calculationnaseKVA - system base KVAInterpssExceptionpublic void setZFault(org.apache.commons.math3.complex.Complex z,
Unit.UnitType unit,
double baseV,
double baseKVA)
throws InterpssException
setZFault in interface IFaultResultz - the impedenceunit - the z unitbaseKVA - system base KVAInterpssExceptionpublic java.lang.String toString(double baseV)
toString in interface IFaultResultnet - the fault associated AcscNetwork object