public class ATestEvaluationCalculation extends AbstractEvaluationCalculation
| Constructor and Description |
|---|
ATestEvaluationCalculation() |
| Modifier and Type | Method and Description |
|---|---|
double |
getAmountCosts(TechnicalInterface ti,
Connectivity connectivity,
long time1,
long time2,
double flowValue1,
double flowValue2)
Should return the costs for the amount of energy or a good/commodity of the specified
TechnicalInterface. |
CostFunctionDataSeries |
getCostFunctionDataSeries(java.lang.String domain,
Connectivity connectivity)
Returns the actual
CostFunctionDataSeries for the specified combination
of EnergyCarrier and Connectivity. |
InputMeasurement |
getInputMeasurement(SystemVariableDefinition sysVarDef)
Has to returns the actual
InputMeasurement for the specified SystemVariableDefinition and within
the current time range that is specified by AbstractEvaluationCalculation.getEvaluationTimeStart() and AbstractEvaluationCalculation.getEvaluationTimeEnd(). |
double |
getStateCosts(TechnicalSystemStateEvaluation tsse)
Returns the state costs for the specified
TechnicalSystemStateEvaluation. |
void |
updateInputMeasurement(TechnicalSystemState tss,
FixedVariable variableToUpdate)
Will be invoked in case that a predicted value should be updated depending on time and the actual
state of a system.
|
getEvaluationTimeEnd, getEvaluationTimeStart, getNodeStateResolver, getOptionModelController, getOrCreateVariable, getVariable, setOptionModelController, setVariablepublic InputMeasurement getInputMeasurement(SystemVariableDefinition sysVarDef)
AbstractEvaluationCalculationInputMeasurement for the specified SystemVariableDefinition and within
the current time range that is specified by AbstractEvaluationCalculation.getEvaluationTimeStart() and AbstractEvaluationCalculation.getEvaluationTimeEnd().getInputMeasurement in class AbstractEvaluationCalculationsysVarDef - the SystemVariableDefinitionAbstractEvaluationCalculation.getOptionModelController(),
AbstractEvaluationCalculation.getEvaluationTimeStart(),
AbstractEvaluationCalculation.getEvaluationTimeEnd()public void updateInputMeasurement(TechnicalSystemState tss, FixedVariable variableToUpdate)
AbstractEvaluationCalculationupdateInputMeasurement in class AbstractEvaluationCalculationtss - the current TechnicalSystemState containing time, current I/O settings and othervariableToUpdate - the variable to updatepublic CostFunctionDataSeries getCostFunctionDataSeries(java.lang.String domain, Connectivity connectivity)
AbstractEvaluationCalculationCostFunctionDataSeries for the specified combination
of EnergyCarrier and Connectivity.getCostFunctionDataSeries in class AbstractEvaluationCalculationdomain - the domainconnectivity - the ConnectivityCostFunctionDataSeriesAbstractEvaluationCalculation.getOptionModelController(),
AbstractEvaluationCalculation.getEvaluationTimeStart(),
AbstractEvaluationCalculation.getEvaluationTimeEnd()public double getAmountCosts(TechnicalInterface ti, Connectivity connectivity, long time1, long time2, double flowValue1, double flowValue2)
AbstractEvaluationCalculationTechnicalInterface.getAmountCosts in class AbstractEvaluationCalculationti - the TechnicalInterface to considerconnectivity - the connectivity that describes the actual flow directiontime1 - the time range start (possibly not required)time2 - the time range final (possibly not required)flowValue1 - the flow value at start time (possibly not required)flowValue2 - the flow value at final time (possibly not required)public double getStateCosts(TechnicalSystemStateEvaluation tsse)
AbstractEvaluationCalculationTechnicalSystemStateEvaluation.getStateCosts in class AbstractEvaluationCalculationtsse - the TechnicalSystemStateEvaluationCostModel,
CostModel.getStateCostFunction(),
CostModel.getCostUnit()