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, setVariable
public InputMeasurement getInputMeasurement(SystemVariableDefinition sysVarDef)
AbstractEvaluationCalculation
InputMeasurement
for the specified SystemVariableDefinition
and within
the current time range that is specified by AbstractEvaluationCalculation.getEvaluationTimeStart()
and AbstractEvaluationCalculation.getEvaluationTimeEnd()
.getInputMeasurement
in class AbstractEvaluationCalculation
sysVarDef
- the SystemVariableDefinition
AbstractEvaluationCalculation.getOptionModelController()
,
AbstractEvaluationCalculation.getEvaluationTimeStart()
,
AbstractEvaluationCalculation.getEvaluationTimeEnd()
public void updateInputMeasurement(TechnicalSystemState tss, FixedVariable variableToUpdate)
AbstractEvaluationCalculation
updateInputMeasurement
in class AbstractEvaluationCalculation
tss
- the current TechnicalSystemState
containing time, current I/O settings and othervariableToUpdate
- the variable to updatepublic CostFunctionDataSeries getCostFunctionDataSeries(java.lang.String domain, Connectivity connectivity)
AbstractEvaluationCalculation
CostFunctionDataSeries
for the specified combination
of EnergyCarrier
and Connectivity
.getCostFunctionDataSeries
in class AbstractEvaluationCalculation
domain
- the domainconnectivity
- the Connectivity
CostFunctionDataSeries
AbstractEvaluationCalculation.getOptionModelController()
,
AbstractEvaluationCalculation.getEvaluationTimeStart()
,
AbstractEvaluationCalculation.getEvaluationTimeEnd()
public double getAmountCosts(TechnicalInterface ti, Connectivity connectivity, long time1, long time2, double flowValue1, double flowValue2)
AbstractEvaluationCalculation
TechnicalInterface
.getAmountCosts
in class AbstractEvaluationCalculation
ti
- 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)
AbstractEvaluationCalculation
TechnicalSystemStateEvaluation
.getStateCosts
in class AbstractEvaluationCalculation
tsse
- the TechnicalSystemStateEvaluationCostModel
,
CostModel.getStateCostFunction()
,
CostModel.getCostUnit()