public class DynamicSimuAdapterImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements DynamicSimuAdapter
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Modifier and Type | Field and Description |
---|---|
protected BaseDStabBus<?,?> |
dstabBus |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
DynamicSimuAdapterImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
afterStep(double dt)
Different from "updateAttributes" that is used/called inside the network solution-integration step, this afterStep() is used after the network convergence for each step.
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
double |
getOutput() |
double |
getOutput(BaseDStabBus<?,?> abus) |
double |
getOutput(BaseDStabBus<?,?> abus,
Machine mach) |
double |
getOutput(Machine mach) |
java.util.List<?> |
getOutputList() |
java.lang.Object |
getOutputObject() |
java.util.Hashtable<java.lang.String,java.lang.Double> |
getStates(BaseDStabBus<?,?> abus,
java.lang.Object ref) |
java.util.Hashtable<java.lang.String,java.lang.Object> |
getStates(Machine mach,
java.lang.Object ref) |
java.util.Hashtable<java.lang.String,java.lang.Object> |
getStates(java.lang.Object ref) |
boolean |
initStates() |
boolean |
initStates(BaseDStabBus<?,?> abus) |
boolean |
initStates(BaseDStabBus<?,?> abus,
Machine mach) |
boolean |
nextStep(double dt,
DynamicSimuMethod method,
int flag) |
boolean |
nextStep(double dt,
DynamicSimuMethod method,
Machine mach,
int flag) |
boolean |
nextStepElectrical(double dt,
DynamicSimuMethod method,
Network<?,?> net,
int flag) |
boolean |
nextStepElectricalModifiedEuler(double dt,
DynamicSimuMethod method,
Network<?,?> net,
int flag) |
boolean |
nextStepMechanical(double dt,
DynamicSimuMethod method,
Network<?,?> net,
int flag) |
boolean |
updateAttributes(boolean netChange) |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected BaseDStabBus<?,?> dstabBus
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.EObjectImpl
public boolean nextStepElectricalModifiedEuler(double dt, DynamicSimuMethod method, Network<?,?> net, int flag)
nextStepElectricalModifiedEuler
in interface DynamicSimuAdapter
public boolean initStates()
initStates
in interface IDynamicSimulation
public boolean initStates(BaseDStabBus<?,?> abus)
initStates
in interface IDynamicSimulation
public boolean initStates(BaseDStabBus<?,?> abus, Machine mach)
initStates
in interface IDynamicSimulation
public boolean nextStep(double dt, DynamicSimuMethod method, int flag)
nextStep
in interface IDynamicSimulation
dt
- the time step for solving the differential eqn.
public boolean nextStep(double dt, DynamicSimuMethod method, Machine mach, int flag)
nextStep
in interface IDynamicSimulation
dt
- the time step for solving the differential eqn.
public boolean nextStepMechanical(double dt, DynamicSimuMethod method, Network<?,?> net, int flag)
nextStepMechanical
in interface IDynamicSimulation
public boolean nextStepElectrical(double dt, DynamicSimuMethod method, Network<?,?> net, int flag)
nextStepElectrical
in interface IDynamicSimulation
public java.util.Hashtable<java.lang.String,java.lang.Object> getStates(java.lang.Object ref)
getStates
in interface IDynamicSimulation
public java.util.Hashtable<java.lang.String,java.lang.Object> getStates(Machine mach, java.lang.Object ref)
getStates
in interface IDynamicSimulation
public double getOutput()
getOutput
in interface IDynamicSimulation
public double getOutput(Machine mach)
getOutput
in interface IDynamicSimulation
public java.lang.Object getOutputObject()
getOutputObject
in interface IDynamicSimulation
public java.util.List<?> getOutputList()
getOutputList
in interface IDynamicSimulation
public boolean updateAttributes(boolean netChange)
updateAttributes
in interface IDynamicSimulation
public java.util.Hashtable<java.lang.String,java.lang.Double> getStates(BaseDStabBus<?,?> abus, java.lang.Object ref)
public double getOutput(BaseDStabBus<?,?> abus)
public double getOutput(BaseDStabBus<?,?> abus, Machine mach)
public boolean afterStep(double dt)
IDynamicSimulation
afterStep
in interface IDynamicSimulation