public abstract class AbstractGroupEvaluationStrategyRT extends AbstractGroupEvaluationStrategy
TechnicalSystemGroup
's. Consequently, it has to be extend in order
to create a customised evaluation strategy.Modifier and Type | Field and Description |
---|---|
protected AddResultTreeAction |
addResultTreeAction |
protected long |
evaluationStepEndTime |
protected Schedule |
scheduleResult |
protected TechnicalSystemStateEvaluation |
tsse |
evaluationStart, optionModelController
Constructor and Description |
---|
AbstractGroupEvaluationStrategyRT(OptionModelController optionModelController)
Instantiates a new abstract group evaluation strategy for a real time control.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<javax.swing.JComponent> |
getCustomToolBarElements()
Should return your custom tool bar elements for the evaluation.
|
abstract AbstractEvaluationStrategyRT.InitialStateAdaption |
getInitialStateAdaption()
Should returns the
AbstractEvaluationStrategyRT.InitialStateAdaption for this real time strategy. |
AbstractEvaluationStrategyRT.InitialStateAdaption |
getInitialStateAdaptionConfigured()
Returns the configured initial state adaption for this real time strategy.
|
FixedVariable |
getMeasurementFromSystem(java.lang.String searchVariableID)
Returns the specified measurement out of the list of measurements.
|
FixedVariableListForAggregation |
getMeasurementsFromSystem()
Gets the current measurements from the system.
|
FixedVariableListForAggregation |
getSetPointsToSystem()
Gets the current set-points to the system.
|
FixedVariable |
getSetPointToSystem(java.lang.String searchVariableID)
Returns the specified set-point out of the list of set-points.
|
TechnicalSystemStateEvaluation |
getTechnicalSystemStateEvaluation()
Gets the current
TechnicalSystemStateEvaluation . |
void |
resetStrategy()
Resets the strategy, i.e. sets the current TSSE and the result schedule to null
|
void |
runEvaluationUntil(long evaluationStepEndTime)
Run evaluation until the specified time.
|
void |
setInitialStateAdaptionConfigured(AbstractEvaluationStrategyRT.InitialStateAdaption newInitialRStateAdaption)
Sets the configured initial state adaption for this real time strategy.
|
protected void |
setIntermediateStateToResult(TechnicalSystemStateEvaluation tsse)
Adds the intermediate state to the result schedule.
|
void |
setMeasurementsFromSystem(FixedVariableListForAggregation newCurrentMeasurements)
Sets the current measurements from the system.
|
void |
setSetPointsToSystem(FixedVariableListForAggregation setPointsToSystem)
Sets the current set-points to the system.
|
protected void |
setTechnicalSystemStateEvaluation(TechnicalSystemStateEvaluation newTSSE)
Sets the technical system state evaluation.
|
addStateToResults, doNetworkCalculation, executeEvaluation, executeSubEvaluationStrategies, getGraphForDeltaCosts, getGroupCalculation, getGroupController, getOutNodeState, getOutNodeState, getSequentialNetworkCalculation, isUsingSubStrategies, meetDecisionForScheduleList, meetDecisionForTechnicalSystem, setGraphForDeltaCosts, setUsingSubStrategies
addStateToResults, calculateAndSetStateCosts, convertToTechnicalSystemStateEvaluation, copyEnergyAmount, copyEnergyFlowInWatt, copyStorageLoad, copyTechnicalSystemState, copyTechnicalSystemState, getAllDeltaEvaluationsStartingFromTechnicalSystemState, getAllDeltaEvaluationsStartingFromTechnicalSystemState, getAllDeltaEvaluationsStartingFromTechnicalSystemState, getAllPossibleSubsequentStatesByDefinition, getAllPossibleSubsequentStatesByDefinition, getCostFunctionHistory, getCostModel, getDefaultSIPrefix, getDefaultTimeUnit, getEndTime, getEvaluationProcess, getEvaluationResults, getEvaluationSettings, getEvaluationThread, getEvaluationTimeRangeReminder, getFirstTechnicalSystemStateEvaluationWithEqualState, getGraphForStateVariability, getInitialTechnicalSystemStateEvaluation, getNextTechnicalSystemStateEvaluation, getNodeStateResolver, getOptionModelCalculation, getStartTime, getStateDurationFromTechnicalSystemState, getTechnicalInterfaceConfiguration, hasStateCostFunction, isAvailableOptionModelCalculation, isConstantStateSinceGlobalTime, isEnabledPrintToConsole, isRealTimeStrategyOrPartOfRealTimeStrategy, isStopEvaluation, print, printlnGlobalTime, printlnGlobalTime, recursivelyCreateEvaluationGraphForCostsOverTime, recursivelyCreateEvaluationGraphForCostsOverTime, resetInitialTechnicalSystemStateEvaluation, resetScheduleAndCalculationsStartingFrom, runEvaluation, setEnablePrintToConsole, setEvaluationThread, setGraphForStateVariability, setInitialTechnicalSystemStateEvaluation, stopEvaluation
protected long evaluationStepEndTime
protected TechnicalSystemStateEvaluation tsse
protected Schedule scheduleResult
protected AddResultTreeAction addResultTreeAction
public AbstractGroupEvaluationStrategyRT(OptionModelController optionModelController)
optionModelController
- the current option model controllerpublic java.util.Vector<javax.swing.JComponent> getCustomToolBarElements()
AbstractEvaluationStrategy
getCustomToolBarElements
in class AbstractEvaluationStrategy
public abstract AbstractEvaluationStrategyRT.InitialStateAdaption getInitialStateAdaption()
AbstractEvaluationStrategyRT.InitialStateAdaption
for this real time strategy.public AbstractEvaluationStrategyRT.InitialStateAdaption getInitialStateAdaptionConfigured()
public void setInitialStateAdaptionConfigured(AbstractEvaluationStrategyRT.InitialStateAdaption newInitialRStateAdaption)
newInitialRStateAdaption
- the new initial state adaptionpublic void setMeasurementsFromSystem(FixedVariableListForAggregation newCurrentMeasurements)
newCurrentMeasurements
- the new measurements from systempublic FixedVariableListForAggregation getMeasurementsFromSystem()
public FixedVariable getMeasurementFromSystem(java.lang.String searchVariableID)
searchVariableID
- the search variable idpublic void setSetPointsToSystem(FixedVariableListForAggregation setPointsToSystem)
setPointsToSystem
- the new set-points to the systempublic FixedVariableListForAggregation getSetPointsToSystem()
public FixedVariable getSetPointToSystem(java.lang.String searchVariableID)
searchVariableID
- the search variable idpublic TechnicalSystemStateEvaluation getTechnicalSystemStateEvaluation()
TechnicalSystemStateEvaluation
.protected void setTechnicalSystemStateEvaluation(TechnicalSystemStateEvaluation newTSSE)
newTSSE
- the new technical system state evaluationpublic void runEvaluationUntil(long evaluationStepEndTime)
evaluationStepEndTime
- the time untilprotected void setIntermediateStateToResult(TechnicalSystemStateEvaluation tsse)
tsse
- the intermediate TechnicalSystemStateEvaluation
public void resetStrategy()