public interface IDynamicSimulation
extends org.eclipse.emf.ecore.EObject
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.
|
double |
getOutput()
Calculate the output of this controller from its states.
|
double |
getOutput(Machine mach)
Calculate the output of this controller from its states.
|
java.util.List<?> |
getOutputList()
return a list of controller output objects.
|
java.lang.Object |
getOutputObject()
Calculate the output of this controller from its states.
|
java.util.Hashtable<java.lang.String,java.lang.Object> |
getStates(Machine mach,
java.lang.Object ref)
Return a Hashtable of all controller states for output purpose.
|
java.util.Hashtable<java.lang.String,java.lang.Object> |
getStates(java.lang.Object ref)
Return a Hashtable of all controller states for output purpose.
|
boolean |
initStates()
Initialize controller states.
|
boolean |
initStates(BaseDStabBus<?,?> abus)
Initialize controller states.
|
boolean |
initStates(BaseDStabBus<?,?> abus,
Machine mach)
Initialize controller states.
|
boolean |
nextStep(double dt,
DynamicSimuMethod method,
int flag)
Calculate the controller's next step states x(t+1) = x(t) + dxdt * dt.
|
boolean |
nextStep(double dt,
DynamicSimuMethod method,
Machine mach,
int flag)
Calculate the controller's next step states x(t+1) = x(t) + dxdt * dt.
|
boolean |
nextStepElectrical(double dt,
DynamicSimuMethod method,
Network<?,?> net,
int flag)
Calculate the next step states x(t+1) = x(t) + dxdt * dt for the machine
electrical equations.
|
boolean |
nextStepMechanical(double dt,
DynamicSimuMethod method,
Network<?,?> net,
int flag)
Calculate the next step states x(t+1) = x(t) + dxdt * dt for the machine mechanical
eqn.
|
boolean |
updateAttributes(boolean netChange)
When there is a dynamic event(s), the network will be solved before and after applying
the event.
|
boolean initStates()
boolean initStates(BaseDStabBus<?,?> abus)
boolean initStates(BaseDStabBus<?,?> abus, Machine mach)
boolean nextStep(double dt, DynamicSimuMethod method, int flag)
dt
- the time step for solving the differential eqn.
boolean nextStep(double dt, DynamicSimuMethod method, Machine mach, int flag)
dt
- the time step for solving the differential eqn.
boolean nextStepMechanical(double dt, DynamicSimuMethod method, Network<?,?> net, int flag)
boolean nextStepElectrical(double dt, DynamicSimuMethod method, Network<?,?> net, int flag)
java.util.Hashtable<java.lang.String,java.lang.Object> getStates(java.lang.Object ref)
java.util.Hashtable<java.lang.String,java.lang.Object> getStates(Machine mach, java.lang.Object ref)
double getOutput()
double getOutput(Machine mach)
java.lang.Object getOutputObject()
java.util.List<?> getOutputList()
boolean updateAttributes(boolean netChange)
boolean afterStep(double dt)
dt
-