public interface DynamicSimuAlgorithm extends NetworkRef<BaseDStabNetwork<?,?>>
The following features are supported:
Modifier and Type | Method and Description |
---|---|
boolean |
createBranchFault(java.lang.String fromBusId,
java.lang.String toBusId,
java.lang.String circuitId,
double startTime,
double fromClearTime,
double toClearTime,
SimpleFaultCode faultCode,
org.apache.commons.math3.complex.Complex zLG,
org.apache.commons.math3.complex.Complex zLL)
create a BranchFault dynamic event and add to the DStabNetwork.dynamicEventList
|
boolean |
createBusFault(java.lang.String faultBusId,
double startTime,
double durationTime,
SimpleFaultCode faultCode,
org.apache.commons.math3.complex.Complex Zlg,
org.apache.commons.math3.complex.Complex Zll)
Create a bus fault and add it as a dynamic event to the dstab network
Required information: fault bus id, start time in sec, duration time in sec,
fault code to specify the fault type, as well as fault impedance
|
LoadflowAlgorithm |
getAclfAlgorithm()
Returns the value of the 'Aclf Algorithm' containment reference.
|
IpssMsgListener |
getDynamicEventHandler()
Returns the value of the 'Dynamic Event Handler' attribute.
|
int |
getOutputPerSteps()
Returns the value of the 'Output Per Steps' attribute.
|
int |
getOutPutPerSteps() |
java.lang.String[] |
getOutputVarIdList()
Returns the value of the 'Output Var Id List' attribute.
|
Machine |
getRefMachine()
Returns the value of the 'Ref Machine' reference.
|
IDStabSimuOutputHandler |
getScriptOutputHandler()
Returns the value of the 'Script Output Handler' attribute.
|
DynamicSimuMethod |
getSimuMethod()
Returns the value of the 'Simu Method' attribute.
|
IDStabSimuOutputHandler |
getSimuOutputHandler()
Returns the value of the 'Simu Output Handler' attribute.
|
double |
getSimuStepSec()
Returns the value of the 'Simu Step Sec' attribute.
|
double |
getSimuTime()
get current simulation time
|
double |
getTotalSimuTimeSec()
Returns the value of the 'Total Simu Time Sec' attribute.
|
boolean |
initialization()
perform initialization before the dynamic simulation
|
boolean |
isDisableDynamicEvent()
Returns the value of the 'Disable Dynamic Event' attribute.
|
boolean |
isOutputFiltered()
Returns the value of the 'Output Filtered' attribute.
|
boolean |
performSimulation()
perform dynamic simulation of the DStabNet object
|
boolean |
performSimulationTo(double toTimeSec)
perform dynamic simulation of the DStabNet object from the current time to the toTimeSec
|
void |
setAclfAlgorithm(LoadflowAlgorithm value)
Sets the value of the '
Aclf Algorithm ' containment reference. |
void |
setDisableDynamicEvent(boolean value)
Sets the value of the '
Disable Dynamic Event ' attribute. |
void |
setDynamicEventHandler(IpssMsgListener value)
Sets the value of the '
Dynamic Event Handler ' attribute. |
void |
setOutputFiltered(boolean value)
Sets the value of the '
Output Filtered ' attribute. |
void |
setOutputPerSteps(int value)
Sets the value of the '
Output Per Steps ' attribute. |
void |
setOutPutPerSteps(int outPerSteps) |
void |
setOutputVarIdList(java.lang.String[] value)
Sets the value of the '
Output Var Id List ' attribute. |
void |
setRefMachine(Machine value)
Sets the value of the '
Ref Machine ' reference. |
void |
setScriptOutputHandler(IDStabSimuOutputHandler value)
Sets the value of the '
Script Output Handler ' attribute. |
void |
setSimuMethod(DynamicSimuMethod value)
Sets the value of the '
Simu Method ' attribute. |
void |
setSimuOutputHandler(IDStabSimuOutputHandler value)
Sets the value of the '
Simu Output Handler ' attribute. |
void |
setSimuStepSec(double value)
Sets the value of the '
Simu Step Sec ' attribute. |
void |
setSimuTime(double t)
Set current simulation time
|
void |
setSolver(IDStabSolver solver)
set the DStab solver
|
void |
setTotalSimuTimeSec(double value)
Sets the value of the '
Total Simu Time Sec ' attribute. |
boolean |
solveDEqnStep(boolean updateTime)
perform one step of dynamic simulation of the DStabNet object
|
getNetwork, setNetwork
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
double getTotalSimuTimeSec()
If the meaning of the 'Total Simu Time Sec' attribute isn't clear, there really should be more of a description here...
Total simulation time in secsetTotalSimuTimeSec(double)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_TotalSimuTimeSec()
void setTotalSimuTimeSec(double value)
Total Simu Time Sec
' attribute.
value
- the new value of the 'Total Simu Time Sec' attribute.getTotalSimuTimeSec()
double getSimuStepSec()
If the meaning of the 'Simu Step Sec' attribute isn't clear, there really should be more of a description here...
simulation time step length in secsetSimuStepSec(double)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_SimuStepSec()
void setSimuStepSec(double value)
Simu Step Sec
' attribute.
value
- the new value of the 'Simu Step Sec' attribute.getSimuStepSec()
DynamicSimuMethod getSimuMethod()
"ModifiedEuler"
.
The literals are from the enumeration DynamicSimuMethod
.
If the meaning of the 'Simu Method' attribute isn't clear, there really should be more of a description here...
Simulation methodDynamicSimuMethod
,
setSimuMethod(DynamicSimuMethod)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_SimuMethod()
void setSimuMethod(DynamicSimuMethod value)
Simu Method
' attribute.
value
- the new value of the 'Simu Method' attribute.DynamicSimuMethod
,
getSimuMethod()
int getOutputPerSteps()
setOutputPerSteps(int)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_OutputPerSteps()
void setOutputPerSteps(int value)
Output Per Steps
' attribute.
value
- the new value of the 'Output Per Steps' attribute.getOutputPerSteps()
boolean isOutputFiltered()
If the meaning of the 'Output Filtered' attribute isn't clear, there really should be more of a description here...
option to control simulation outputsetOutputFiltered(boolean)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_OutputFiltered()
void setOutputFiltered(boolean value)
Output Filtered
' attribute.
value
- the new value of the 'Output Filtered' attribute.isOutputFiltered()
java.lang.String[] getOutputVarIdList()
If the meaning of the 'Output Var Id List' attribute isn't clear, there really should be more of a description here...
filtered simulation output variable listsetOutputVarIdList(String[])
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_OutputVarIdList()
void setOutputVarIdList(java.lang.String[] value)
Output Var Id List
' attribute.
value
- the new value of the 'Output Var Id List' attribute.getOutputVarIdList()
IDStabSimuOutputHandler getSimuOutputHandler()
If the meaning of the 'Simu Output Handler' attribute isn't clear, there really should be more of a description here...
Simulation output event handler, it could be bound to a different handler implementation.setSimuOutputHandler(IDStabSimuOutputHandler)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_SimuOutputHandler()
void setSimuOutputHandler(IDStabSimuOutputHandler value)
Simu Output Handler
' attribute.
value
- the new value of the 'Simu Output Handler' attribute.getSimuOutputHandler()
IDStabSimuOutputHandler getScriptOutputHandler()
setScriptOutputHandler(IDStabSimuOutputHandler)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_ScriptOutputHandler()
void setScriptOutputHandler(IDStabSimuOutputHandler value)
Script Output Handler
' attribute.
value
- the new value of the 'Script Output Handler' attribute.getScriptOutputHandler()
IpssMsgListener getDynamicEventHandler()
If the meaning of the 'Dynaic Event Handler' attribute isn't clear, there really should be more of a description here...
Dynimic Event handler for handling dynamic event. It will modify the DStab object when applying the dynamic event. Also, it could be bound to a different handler implementation.setDynamicEventHandler(IpssMsgListener)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_DynamicEventHandler()
void setDynamicEventHandler(IpssMsgListener value)
Dynamic Event Handler
' attribute.
value
- the new value of the 'Dynamic Event Handler' attribute.getDynamicEventHandler()
boolean isDisableDynamicEvent()
If the meaning of the 'Disable Dynamic Event' attribute isn't clear, there really should be more of a description here...
option to disable all dynamic event. Usually for testing purpose.setDisableDynamicEvent(boolean)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_DisableDynamicEvent()
void setDisableDynamicEvent(boolean value)
Disable Dynamic Event
' attribute.
value
- the new value of the 'Disable Dynamic Event' attribute.isDisableDynamicEvent()
Machine getRefMachine()
If the meaning of the 'Ref Machine' containment reference list isn't clear, there really should be more of a description here...
Reference machine for the simulaitonsetRefMachine(Machine)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_RefMachine()
void setRefMachine(Machine value)
Ref Machine
' reference.
value
- the new value of the 'Ref Machine' reference.getRefMachine()
LoadflowAlgorithm getAclfAlgorithm()
If the meaning of the 'Aclf Algorithm' containment reference isn't clear, there really should be more of a description here...
reference to Aclf algorithm for establish the initial condition for the simulation.setAclfAlgorithm(LoadflowAlgorithm)
,
DstabAlgorithmPackage.getDynamicSimuAlgorithm_AclfAlgorithm()
void setAclfAlgorithm(LoadflowAlgorithm value)
Aclf Algorithm
' containment reference.
value
- the new value of the 'Aclf Algorithm' containment reference.getAclfAlgorithm()
void setSolver(IDStabSolver solver)
boolean performSimulation()
boolean performSimulationTo(double toTimeSec)
boolean initialization()
boolean solveDEqnStep(boolean updateTime)
double getSimuTime()
void setSimuTime(double t)
int getOutPutPerSteps()
void setOutPutPerSteps(int outPerSteps)
outPerSteps
- boolean createBusFault(java.lang.String faultBusId, double startTime, double durationTime, SimpleFaultCode faultCode, org.apache.commons.math3.complex.Complex Zlg, org.apache.commons.math3.complex.Complex Zll)
faultBusId
- startTime
- durationTime
- faultCode
- Zlg
- : line to ground impedanceZll
- : line to line impedanceboolean createBranchFault(java.lang.String fromBusId, java.lang.String toBusId, java.lang.String circuitId, double startTime, double fromClearTime, double toClearTime, SimpleFaultCode faultCode, org.apache.commons.math3.complex.Complex zLG, org.apache.commons.math3.complex.Complex zLL)