Interface ThermalSource
- All Superinterfaces:
DataSource
- All Known Implementing Classes:
CsvThermalSource
AssetInput
entities from persistent data e.g. .csv files or
databases- Since:
- 08.04.20
-
Method Summary
Modifier and TypeMethodDescriptionReturns a unique set ofCylindricalStorageInput
instances.getCylindricStorages
(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a set ofCylindricalStorageInput
instances.Returns a unique set ofThermalBusInput
instances.getThermalBuses
(Set<OperatorInput> operators) Returns a set ofThermalBusInput
instances.Returns a unique set ofThermalHouseInput
instances.getThermalHouses
(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a set ofThermalHouseInput
instances.Returns a unique set of instances of all entities implementing theThermalStorageInput
abstract class.getThermalStorages
(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a unique set of instances of all entities implementing theThermalStorageInput
abstract class.
-
Method Details
-
getThermalBuses
Set<ThermalBusInput> getThermalBuses()Returns a unique set ofThermalBusInput
instances.This set has to be unique in the sense of object uniqueness but also in the sense of
UUID
uniqueness of the providedThermalBusInput
which has to be checked manually, asAssetInput.equals(Object)
is NOT restricted on the uuid ofThermalBusInput
.- Returns:
- a set of object and uuid unique
ThermalBusInput
entities
-
getThermalBuses
Returns a set ofThermalBusInput
instances. This set has to be unique in the sense of object uniqueness but also in the sense ofUUID
uniqueness of the providedThermalBusInput
which has to be checked manually, asAssetInput.equals(Object)
is NOT restricted on the uuid ofThermalBusInput
.In contrast to
getThermalBuses()
this interface provides the ability to pass in an already existing set ofOperatorInput
entities, theThermalBusInput
instances depend on. Doing so, already loaded nodes can be recycled to improve performance and prevent unnecessary loading operations.If something fails during the creation process it's up to the concrete implementation of an empty set or a set with all entities that has been able to be build is returned.
- Parameters:
operators
- a set of object and uuid uniqueOperatorInput
that should be used for the returning instances- Returns:
- a set of object and uuid unique
ThermalBusInput
entities
-
getThermalStorages
Set<ThermalStorageInput> getThermalStorages()Returns a unique set of instances of all entities implementing theThermalStorageInput
abstract class.This set has to be unique in the sense of object uniqueness but also in the sense of
UUID
uniqueness of the providedThermalStorageInput
which has to be checked manually, asThermalUnitInput.equals(Object)
is NOT restricted on the uuid ofThermalStorageInput
.- Returns:
- a set of object and uuid unique
ThermalStorageInput
entities
-
getThermalStorages
Set<ThermalStorageInput> getThermalStorages(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a unique set of instances of all entities implementing theThermalStorageInput
abstract class. This set has to be unique in the sense of object uniqueness but also in the sense ofUUID
uniqueness of the providedThermalStorageInput
which has to be checked manually, asThermalUnitInput.equals(Object)
is NOT restricted on the uuid ofThermalStorageInput
.In contrast to
getThermalStorages()
this interface provides the ability to pass in an already existing set ofOperatorInput
entities, theThermalStorageInput
instances depend on. Doing so, already loaded nodes can be recycled to improve performance and prevent unnecessary loading operations.If something fails during the creation process it's up to the concrete implementation of an empty set or a set with all entities that has been able to be build is returned.
- Parameters:
operators
- a set of object and uuid uniqueOperatorInput
that should be used for the returning instancesthermalBuses
- a set of object and uuid uniqueThermalBusInput
that should be used for the returning instances- Returns:
- a set of object and uuid unique
ThermalStorageInput
entities
-
getThermalHouses
Set<ThermalHouseInput> getThermalHouses()Returns a unique set ofThermalHouseInput
instances.This set has to be unique in the sense of object uniqueness but also in the sense of
UUID
uniqueness of the providedThermalHouseInput
which has to be checked manually, asThermalHouseInput.equals(Object)
is NOT restricted on the uuid ofThermalHouseInput
.- Returns:
- a set of object and uuid unique
ThermalHouseInput
entities
-
getThermalHouses
Set<ThermalHouseInput> getThermalHouses(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a set ofThermalHouseInput
instances. This set has to be unique in the sense of object uniqueness but also in the sense ofUUID
uniqueness of the providedThermalHouseInput
which has to be checked manually, asThermalHouseInput.equals(Object)
is NOT restricted on the uuid ofThermalHouseInput
.In contrast to
getThermalHouses()
this interface provides the ability to pass in an already existing set ofOperatorInput
entities, theThermalHouseInput
instances depend on. Doing so, already loaded nodes can be recycled to improve performance and prevent unnecessary loading operations.If something fails during the creation process it's up to the concrete implementation of an empty set or a set with all entities that has been able to be build is returned.
- Parameters:
operators
- a set of object and uuid uniqueOperatorInput
that should be used for the returning instancesthermalBuses
- a set of object and uuid uniqueThermalBusInput
that should be used for the returning instances- Returns:
- a set of object and uuid unique
ThermalHouseInput
entities
-
getCylindricStorages
Set<CylindricalStorageInput> getCylindricStorages()Returns a unique set ofCylindricalStorageInput
instances.This set has to be unique in the sense of object uniqueness but also in the sense of
UUID
uniqueness of the providedCylindricalStorageInput
which has to be checked manually, asCylindricalStorageInput.equals(Object)
is NOT restricted on the uuid ofCylindricalStorageInput
.- Returns:
- a set of object and uuid unique
CylindricalStorageInput
entities
-
getCylindricStorages
Set<CylindricalStorageInput> getCylindricStorages(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a set ofCylindricalStorageInput
instances. This set has to be unique in the sense of object uniqueness but also in the sense ofUUID
uniqueness of the providedCylindricalStorageInput
which has to be checked manually, asCylindricalStorageInput.equals(Object)
is NOT restricted on the uuid ofCylindricalStorageInput
.In contrast to
getCylindricStorages()
this interface provides the ability to pass in an already existing set ofOperatorInput
entities, theCylindricalStorageInput
instances depend on. Doing so, already loaded nodes can be recycled to improve performance and prevent unnecessary loading operations.If something fails during the creation process it's up to the concrete implementation of an empty set or a set with all entities that has been able to be build is returned.
- Parameters:
operators
- a set of object and uuid uniqueOperatorInput
that should be used for the returning instancesthermalBuses
- a set of object and uuid uniqueThermalBusInput
that should be used for the returning instances- Returns:
- a set of object and uuid unique
CylindricalStorageInput
entities
-