public class MachineImpl extends DynamicDeviceImpl implements Machine
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Method and Description |
|---|---|
boolean |
backUpStates()
Backup the states such the old states can be used in the integration step in the next step;
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetMachData(MachineData newMachData,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetParentGen(DStabGen newParentGen,
org.eclipse.emf.common.notify.NotificationChain msgs) |
double |
calculateIfd(MachineIfdBase base) |
void |
calMultiFactors() |
boolean |
checkData(DataCheckConfiguration config) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
double |
getAngle() |
double |
getAngleOld() |
MachineController |
getController(MachineControllerType type) |
org.eclipse.emf.common.util.EList<MachineController> |
getControllerList() |
double |
getD() |
DStabBus |
getDStabBus()
get the DStab bus object containing the paraent machine object
|
double |
getEfd() |
MachineController |
getExciter() |
Matrix_xy |
getFG() |
MachineController |
getGovernor() |
BusScGrounding |
getGrounding() |
double |
getH() |
Vector_dq |
getIdq() |
org.apache.commons.math3.complex.Complex |
getIgen() |
double |
getIMultiFactor() |
Vector_dq |
getInitIdq()
calculate the generator Idq for initialization, it is based on the load flow generation.
|
org.apache.commons.math3.complex.Complex |
getIxy()
get Machine stator current in system xy coordinate
|
MachineData |
getMachData() |
MachineType |
getMachType() |
double |
getOutput() |
java.lang.Object |
getOutputObject() |
DStabGen |
getParentGen() |
double |
getPe_NegSeq() |
double |
getPe() |
double |
getPm() |
int |
getPoles() |
double |
getQGen() |
double |
getRa() |
double |
getRatedVoltage() |
double |
getRatedVoltage(Unit.UnitType unit) |
double |
getRating() |
double |
getRating(Unit.UnitType unit,
double baseKva) |
double |
getSpeed() |
double |
getSpeedOld() |
MachineController |
getStabilizer() |
Vector_dq |
getVdq() |
double |
getVMultiFactor() |
double |
getX0() |
double |
getX2() |
org.apache.commons.math3.complex.Complex |
getYgen() |
double |
getZMultiFactor()
For transfering z from machine rating and voltage base to system base
|
boolean |
hasExciter() |
boolean |
hasGovernor() |
boolean |
hasStabilizer() |
boolean |
initStates() |
boolean |
nextStepMechanical(double dt,
DynamicSimuMethod method,
Network net) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setAngle(double newAngle) |
void |
setAngleOld(double angleOld) |
void |
setBusAcscInfo() |
void |
setD(double d) |
void |
setEfd(double newEfd) |
void |
setFG(Matrix_xy newFG) |
void |
setH(double m) |
void |
setMachData(MachineData newMachData) |
void |
setMachType(MachineType newMachType) |
void |
setParentGen(DStabGen newParentGen) |
void |
setPe_NegSeq(double newNegSeqPe)
negative sequence power in the air gap for cacluating the braking torque.
|
void |
setPe(double newPe) |
void |
setPm(double newPm) |
void |
setPoles(int s) |
void |
setQGen(double newQGen) |
void |
setRa(double r) |
void |
setRatedVoltage(double v)
Unit : volt
|
void |
setRatedVoltage(double v,
Unit.UnitType unit) |
void |
setRating(double r) |
void |
setRating(double r,
Unit.UnitType unit,
double baseKva) |
void |
setSpeed(double newSpeed) |
void |
setSpeedOld(double speedOld) |
void |
setX0(double x0) |
void |
setX2(double x2) |
java.lang.String |
toString() |
boolean |
updateAttributes(boolean netChange) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
getOutput, getOutputList, getScripts, getStates, getStates, initStates, initStates, nextStep, nextStep, nextStepElectrical, setScriptscheckData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatuseAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetScripts, setScriptscheckData, copy, copyRef, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setId, setName, setNumber, setStatusgetOutput, getOutputList, getStates, getStates, initStates, initStates, nextStep, nextStep, nextStepElectricaleAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic boolean checkData(DataCheckConfiguration config)
checkData in interface NameTagcheckData in class NameTagImplconfig - data check configuration
public MachineType getMachType()
getMachType in interface MachineMachineType,
Machine.setMachType(MachineType),
DstabMachPackage.getMachine_MachType()public void setMachType(MachineType newMachType)
setMachType in interface MachinenewMachType - the new value of the 'Mach Type' attribute.MachineType,
Machine.getMachType()public double getSpeed()
getSpeed in interface MachineMachine.setSpeed(double),
DstabMachPackage.getMachine_Speed()public void setSpeed(double newSpeed)
setSpeed in interface MachinenewSpeed - the new value of the 'Speed' attribute.Machine.getSpeed()public double getAngle()
getAngle in interface MachineMachine.setAngle(double),
DstabMachPackage.getMachine_Angle()public void setAngle(double newAngle)
setAngle in interface MachinenewAngle - the new value of the 'Angle' attribute.Machine.getAngle()public double getSpeedOld()
public void setSpeedOld(double speedOld)
public double getAngleOld()
public void setAngleOld(double angleOld)
public double getOutput()
getOutput in interface IDynamicSimulationgetOutput in class DynamicDeviceImplpublic java.lang.Object getOutputObject()
getOutputObject in interface IDynamicSimulationgetOutputObject in class DynamicDeviceImplpublic double getRating(Unit.UnitType unit, double baseKva)
public void setRating(double r,
Unit.UnitType unit,
double baseKva)
public void setRating(double r)
public double getRatedVoltage()
getRatedVoltage in interface Machinepublic double getRatedVoltage(Unit.UnitType unit)
getRatedVoltage in interface Machinepublic void setRatedVoltage(double v,
Unit.UnitType unit)
setRatedVoltage in interface Machinepublic void setRatedVoltage(double v)
setRatedVoltage in interface Machinepublic double getZMultiFactor()
getZMultiFactor in interface Machinepublic double getIMultiFactor()
getIMultiFactor in interface Machinepublic double getVMultiFactor()
getVMultiFactor in interface Machinepublic void calMultiFactors()
calMultiFactors in interface Machinepublic BusScGrounding getGrounding()
getGrounding in interface Machinepublic double calculateIfd(MachineIfdBase base)
calculateIfd in interface Machinepublic double getEfd()
getEfd in interface MachineMachine.setEfd(double),
DstabMachPackage.getMachine_Efd()public void setEfd(double newEfd)
setEfd in interface MachinenewEfd - the new value of the 'Efd' attribute.Machine.getEfd()public double getPm()
getPm in interface MachineMachine.setPm(double),
DstabMachPackage.getMachine_Pm()public void setPm(double newPm)
setPm in interface MachinenewPm - the new value of the 'Pm' attribute.Machine.getPm()public MachineData getMachData()
getMachData in interface MachineMachine.setMachData(MachineData),
DstabMachPackage.getMachine_MachData()public org.eclipse.emf.common.notify.NotificationChain basicSetMachData(MachineData newMachData, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setMachData(MachineData newMachData)
setMachData in interface MachinenewMachData - the new value of the 'Mach Data' containment reference.Machine.getMachData()public org.eclipse.emf.common.util.EList<MachineController> getControllerList()
getControllerList in interface MachineDstabMachPackage.getMachine_ControllerList(),
MachineController.getMachine()public boolean hasExciter()
hasExciter in interface Machinepublic MachineController getExciter()
getExciter in interface Machinepublic boolean hasStabilizer()
hasStabilizer in interface Machinepublic MachineController getStabilizer()
getStabilizer in interface Machinepublic boolean hasGovernor()
hasGovernor in interface Machinepublic MachineController getGovernor()
getGovernor in interface Machinepublic MachineController getController(MachineControllerType type)
public org.apache.commons.math3.complex.Complex getYgen()
public Vector_dq getInitIdq()
getInitIdq in interface Machinepublic double getPe()
getPe in interface MachineMachine.setPe(double),
DstabMachPackage.getMachine_Pe()public void setPe(double newPe)
setPe in interface MachinenewPe - the new value of the 'Pe' attribute.Machine.getPe()public double getPe_NegSeq()
getPe_NegSeq in interface MachineMachine.setPe_NegSeq(double),
DstabMachPackage.getMachine_Pe_NegSeq()public void setPe_NegSeq(double newNegSeqPe)
setPe_NegSeq in interface MachinenewNegSeqPe - the new value of the 'Pe Neg Seq' attribute.Machine.getPe_NegSeq()public double getQGen()
getQGen in interface MachineMachine.setQGen(double),
DstabMachPackage.getMachine_QGen()public void setQGen(double newQGen)
setQGen in interface MachinenewQGen - the new value of the 'QGen' attribute.Machine.getQGen()public Matrix_xy getFG()
getFG in interface MachineMachine.setFG(Matrix_xy),
DstabMachPackage.getMachine_FG()public void setFG(Matrix_xy newFG)
setFG in interface MachinenewFG - the new value of the 'FG' attribute.Machine.getFG()public DStabGen getParentGen()
getParentGen in interface MachineMachine.setParentGen(DStabGen),
DstabMachPackage.getMachine_ParentGen(),
DStabGen.getMach()public org.eclipse.emf.common.notify.NotificationChain basicSetParentGen(DStabGen newParentGen, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setParentGen(DStabGen newParentGen)
setParentGen in interface MachinenewParentGen - the new value of the 'Parent Gen' reference.Machine.getParentGen()public void setBusAcscInfo()
setBusAcscInfo in interface Machinepublic org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class DynamicDeviceImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class DynamicDeviceImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class DynamicDeviceImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class DynamicDeviceImplpublic org.apache.commons.math3.complex.Complex getIgen()
public boolean initStates()
DynamicDeviceImplinitStates in interface IDynamicSimulationinitStates in class DynamicDeviceImplpublic DStabBus getDStabBus()
MachinegetDStabBus in interface Machinepublic java.lang.String toString()
toString in class DynamicDeviceImplpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplwriteData in interface com.hazelcast.nio.serialization.DataSerializablewriteData in class NameTagImpljava.io.IOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplreadData in interface com.hazelcast.nio.serialization.DataSerializablereadData in class NameTagImpljava.io.IOExceptionpublic boolean updateAttributes(boolean netChange)
DynamicDeviceImplupdateAttributes in interface IDynamicSimulationupdateAttributes in class DynamicDeviceImplpublic boolean nextStepMechanical(double dt,
DynamicSimuMethod method,
Network net)
DynamicDeviceImplnextStepMechanical in interface IDynamicSimulationnextStepMechanical in class DynamicDeviceImplpublic org.apache.commons.math3.complex.Complex getIxy()
Machinepublic boolean backUpStates()
MachinebackUpStates in interface Machine