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.EPropertiesHolderImplorg.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, eSetProxyURIeAddVirtualValue, 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, toStringeBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected BaseDStabBus<?,?> dstabBus
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImplpublic boolean nextStepElectricalModifiedEuler(double dt,
DynamicSimuMethod method,
Network<?,?> net,
int flag)
nextStepElectricalModifiedEuler in interface DynamicSimuAdapterpublic boolean initStates()
initStates in interface IDynamicSimulationpublic boolean initStates(BaseDStabBus<?,?> abus)
initStates in interface IDynamicSimulationpublic boolean initStates(BaseDStabBus<?,?> abus, Machine mach)
initStates in interface IDynamicSimulationpublic boolean nextStep(double dt,
DynamicSimuMethod method,
int flag)
nextStep in interface IDynamicSimulationdt - the time step for solving the differential eqn.
public boolean nextStep(double dt,
DynamicSimuMethod method,
Machine mach,
int flag)
nextStep in interface IDynamicSimulationdt - the time step for solving the differential eqn.
public boolean nextStepMechanical(double dt,
DynamicSimuMethod method,
Network<?,?> net,
int flag)
nextStepMechanical in interface IDynamicSimulationpublic boolean nextStepElectrical(double dt,
DynamicSimuMethod method,
Network<?,?> net,
int flag)
nextStepElectrical in interface IDynamicSimulationpublic java.util.Hashtable<java.lang.String,java.lang.Object> getStates(java.lang.Object ref)
getStates in interface IDynamicSimulationpublic java.util.Hashtable<java.lang.String,java.lang.Object> getStates(Machine mach, java.lang.Object ref)
getStates in interface IDynamicSimulationpublic double getOutput()
getOutput in interface IDynamicSimulationpublic double getOutput(Machine mach)
getOutput in interface IDynamicSimulationpublic java.lang.Object getOutputObject()
getOutputObject in interface IDynamicSimulationpublic java.util.List<?> getOutputList()
getOutputList in interface IDynamicSimulationpublic boolean updateAttributes(boolean netChange)
updateAttributes in interface IDynamicSimulationpublic 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)
IDynamicSimulationafterStep in interface IDynamicSimulation