public class TechnicalSystemStateDeltaEvaluation
extends java.lang.Object
TechnicalSystemState
and the corresponding
State
and thus its Duration
.
As result, the differences for each EnergyInterface
will be computed for StorageLoadEnergy
and
cumulated energy usage, while the actual EnergyFlowInWatt
is calculated and stored too.Modifier and Type | Class and Description |
---|---|
class |
TechnicalSystemStateDeltaEvaluation.AmountsAndCosts
The Class AmountsAndCosts is used in order to describe
EnergyAmount s or good amounts their corresponding costs. |
class |
TechnicalSystemStateDeltaEvaluation.CostInterval
The Class CostInterval is used to describe an time interval and its average cost.
|
static class |
TechnicalSystemStateDeltaEvaluation.InterfaceType
This enumeration is used to differentiate amounts in the class
TechnicalSystemStateDeltaEvaluation.AmountsAndCosts |
class |
TechnicalSystemStateDeltaEvaluation.TechnicalInterfaceCondition
The Class TechnicalInterfaceCondition is used as a reminder for a single
EnergyInterface . |
Constructor and Description |
---|
TechnicalSystemStateDeltaEvaluation(OptionModelController optionModelController,
AbstractEvaluationStrategy evalStrategy,
TechnicalSystemStateEvaluation technicalSystemStateEvaluation,
boolean isApplyCostModel)
Instantiates and starts a new technical system state cost evaluation.
|
Modifier and Type | Method and Description |
---|---|
TechnicalSystemStateDeltaEvaluation.AmountsAndCosts |
getDeltaAmountAndCosts()
Returns the overall delta for the
EnergyAmount and the costs for the current TechnicalSystemState . |
EnergyAmount |
getEnergyLosses()
If calculated, this method returns the energy losses for the specified
TechnicalSystemState . |
FlowsMeasuredGroupMember |
getFlowsMeasuredGroupMemberRoot()
Just for Technical Systems Groups: Returns the energy flows measured for the group member
that is the actual
TechnicalSystemGroup . |
double |
getStateCosts()
If calculated, this method returns the state costs for the specified
TechnicalSystemState . |
java.util.HashMap<java.lang.String,TechnicalSystemStateDeltaEvaluation.TechnicalInterfaceCondition> |
getTechnicalInterfaceDeltas()
Returns the HashMap with the condition/delta values of the
EnergyInterface 's. |
TechnicalSystemStateEvaluation |
getTechnicalSystemStateEvaluation()
Returns the current
TechnicalSystemStateEvaluation . |
boolean |
isApplyCostModel()
Checks if the
CostModel has to be applied. |
boolean |
isTechnicalSystemGroupDeltaEvaluation()
Checks if this delta evaluation is for a
TechnicalSystemGroup . |
void |
setApplyCostModel(boolean applyCostModel)
Sets to apply the
CostModel or not. |
void |
setFlowsMeasuredGroupMemberRoot(FlowsMeasuredGroupMember newEnergyFlowsMeasuredGroupMember)
Just for Technical Systems Groups: Sets the energy flows measured for the group member
that is the actual
TechnicalSystemGroup . |
void |
setTechnicalSystemStateEvaluation(TechnicalSystemStateEvaluation technicalSystemStateEvaluation)
Sets and starts a new technical system state cost evaluation, if the specified
TechnicalSystemState is not null. |
java.lang.String |
toString() |
public TechnicalSystemStateDeltaEvaluation(OptionModelController optionModelController, AbstractEvaluationStrategy evalStrategy, TechnicalSystemStateEvaluation technicalSystemStateEvaluation, boolean isApplyCostModel)
optionModelController
- the OptionModelController
evalStrategy
- the AbstractEvaluationStrategy
technicalSystemStateEvaluation
- the TechnicalSystemStateEvaluation
isApplyCostModel
- set true, if the cost model should be appliedpublic void setTechnicalSystemStateEvaluation(TechnicalSystemStateEvaluation technicalSystemStateEvaluation)
TechnicalSystemState
is not null.technicalSystemStateEvaluation
- the new TechnicalSystemStateEvaluation
public TechnicalSystemStateEvaluation getTechnicalSystemStateEvaluation()
TechnicalSystemStateEvaluation
.public boolean isApplyCostModel()
CostModel
has to be applied.public void setApplyCostModel(boolean applyCostModel)
CostModel
or not.applyCostModel
- set true, if the CostModel shall be appliedpublic java.util.HashMap<java.lang.String,TechnicalSystemStateDeltaEvaluation.TechnicalInterfaceCondition> getTechnicalInterfaceDeltas()
EnergyInterface
's.public TechnicalSystemStateDeltaEvaluation.AmountsAndCosts getDeltaAmountAndCosts()
EnergyAmount
and the costs for the current TechnicalSystemState
.public EnergyAmount getEnergyLosses()
TechnicalSystemState
.EnergyAmount
public double getStateCosts()
TechnicalSystemState
.public boolean isTechnicalSystemGroupDeltaEvaluation()
TechnicalSystemGroup
.public FlowsMeasuredGroupMember getFlowsMeasuredGroupMemberRoot()
TechnicalSystemGroup
.isTechnicalSystemGroupDeltaEvaluation()
public void setFlowsMeasuredGroupMemberRoot(FlowsMeasuredGroupMember newEnergyFlowsMeasuredGroupMember)
TechnicalSystemGroup
.newEnergyFlowsMeasuredGroupMember
- the new energy flows measured for the group memberisTechnicalSystemGroupDeltaEvaluation()
public java.lang.String toString()
toString
in class java.lang.Object