public class GroupCalculation extends AbstractOptionModelCalculation
GroupTreeModel
. Starting from the outer
nodes, the calculations will be executed until the root node of the aggregation.
Additionally, after all calculations within a TechnicalSystemGroup
, a network
calculation call will be invoked in the current AbstractGroupEvaluationStrategy
.AbstractOptionModelCalculation.DurationType
optionModelController
Constructor and Description |
---|
GroupCalculation(OptionModelController optionModelController)
Instantiates a new a test aggregation calculation.
|
getEnergyOrGoodFlow, getGroupEvaluationStrategy, getNewEnergyStorageLoad, getNewEnergyStorageLoad, getNewGoodStorageLoad, getNewGoodStorageLoad, getNodeStateResolver, getOrCreateVariable, getTechnicalSystem, getVariable, isEqualTechnicalSystemStateEvaluation, setGroupEvaluationStrategy, setVariable
public GroupCalculation(OptionModelController optionModelController)
optionModelController
- the option model controllerpublic GroupController getGroupController()
public SumUpFlowTreeAction getSumUpFlowTreeAction()
SumUpFlowTreeAction
.public Duration getDuration(AbstractOptionModelCalculation.DurationType durationType, TechnicalSystemStateEvaluation tsse)
AbstractOptionModelCalculation
AbstractOptionModelCalculation.DurationType
as Duration
.getDuration
in class AbstractOptionModelCalculation
durationType
- the duration typetsse
- the current TechnicalSystemStateEvaluation
Duration
AbstractOptionModelCalculation.DurationType
,
SelectionModel
,
State
,
State.getDuration()
,
StateTransition
,
StateTransition.getMinDuration()
,
StateTransition.getMaxDuration()
,
Duration
public EnergyFlowInWatt getEnergyFlowForLosses(TechnicalSystemStateEvaluation tsse)
AbstractOptionModelCalculation
EnergyAmount
for the TechnicalInterfaceConfiguration
and the State
specified within the given TechnicalSystemStateEvaluation
.getEnergyFlowForLosses
in class AbstractOptionModelCalculation
tsse
- the current TechnicalSystemStateEvaluation
public AbstractInterfaceFlow getEnergyOrGoodFlow(TechnicalSystemStateEvaluation tsse, TechnicalInterface ti, boolean isManualConfiguration)
AbstractOptionModelCalculation
EnergyFlowInWatt
or the GoodFlow
for the specified TechnicalSystemStateEvaluation
and its I/O-list settings.getEnergyOrGoodFlow
in class AbstractOptionModelCalculation
tsse
- the current TechnicalSystemStateEvaluation
ti
- the EnergyInterface
for that an energy flow has to be calculatedisManualConfiguration
- true, if this method call comes from a manual configurationpublic FlowsMeasuredGroupMember getFlowsMeasuredGroupMemberRootNode()
GroupTreeModel
.public AbstractFlow getEnergyOrGoodFlowMeasured(TechnicalInterface ti)
GoodFlowMeasured
for the previously calculated time range and all involved sub systems.ti
- the EnergyInterface
public void resetTsseCalculatedLast()