public class DomainInterfaceFlows
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
DomainInterfaceFlows.InterfaceFlow
The Class InterfaceFlow contains the required
information to calculate the used energy or good amount.
|
Constructor and Description |
---|
DomainInterfaceFlows(java.lang.String domain)
Instantiates a new domain interface flows.
|
Modifier and Type | Method and Description |
---|---|
void |
addInterfaceEnergyFlow(java.lang.String interfaceID,
AbstractDomainModel domainModel,
EnergyFlowInWatt energyFlow)
Adds the specified interface energy flow.
|
void |
addInterfaceGoodFlow(java.lang.String interfaceID,
AbstractDomainModel domainModel,
GoodFlow goodFlow)
Adds the specified interface good flow.
|
java.lang.String |
getDomain()
Returns the domain.
|
static DomainInterfaceFlows |
getDomainInterfaceFlows(OptionModelController omc,
AbstractStorageLoad storageLoad,
TechnicalSystemStateDeltaEvaluation deltaStep)
Returns the domain interface flows for the storage load and delta step.
|
static DomainInterfaceFlows |
getDomainInterfaceFlows(OptionModelController omc,
java.lang.String domain,
TechnicalSystemStateEvaluation tsse)
Returns the domain interface flows for the specified domain and flows from the TSSE.
|
java.util.List<DomainInterfaceFlows.InterfaceFlow> |
getInterfaceFlows()
Returns the interface flows.
|
void |
setDomain(java.lang.String domain) |
public DomainInterfaceFlows(java.lang.String domain)
domain
- the domainpublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
public java.util.List<DomainInterfaceFlows.InterfaceFlow> getInterfaceFlows()
public void addInterfaceEnergyFlow(java.lang.String interfaceID, AbstractDomainModel domainModel, EnergyFlowInWatt energyFlow)
interfaceID
- the interface IDdomainModel
- the domain modelenergyFlow
- the energy flowpublic void addInterfaceGoodFlow(java.lang.String interfaceID, AbstractDomainModel domainModel, GoodFlow goodFlow)
interfaceID
- the interface IDdomainModel
- the domain modelgoodFlow
- the good flowpublic static DomainInterfaceFlows getDomainInterfaceFlows(OptionModelController omc, java.lang.String domain, TechnicalSystemStateEvaluation tsse)
omc
- the current OptionModelControllerdomain
- the domaintsse
- the TechnicalSystemStateEvaluationpublic static DomainInterfaceFlows getDomainInterfaceFlows(OptionModelController omc, AbstractStorageLoad storageLoad, TechnicalSystemStateDeltaEvaluation deltaStep)
omc
- the current OptionModelControllerstorageLoad
- the storage load for which the calculation should be executeddeltaStep
- the TechnicalSystemStateDeltaEvaluation