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 ofCylindricalStorageInputinstances.getCylindricStorages(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a set ofCylindricalStorageInputinstances.Returns a unique set ofThermalBusInputinstances.getThermalBuses(Set<OperatorInput> operators) Returns a set ofThermalBusInputinstances.Returns a unique set ofThermalHouseInputinstances.getThermalHouses(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a set ofThermalHouseInputinstances.Returns a unique set of instances of all entities implementing theThermalStorageInputabstract class.getThermalStorages(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a unique set of instances of all entities implementing theThermalStorageInputabstract class.
-
Method Details
-
getThermalBuses
Set<ThermalBusInput> getThermalBuses()Returns a unique set ofThermalBusInputinstances.This set has to be unique in the sense of object uniqueness but also in the sense of
UUIDuniqueness of the providedThermalBusInputwhich has to be checked manually, asAssetInput.equals(Object)is NOT restricted on the uuid ofThermalBusInput.- Returns:
- a set of object and uuid unique
ThermalBusInputentities
-
getThermalBuses
Returns a set ofThermalBusInputinstances. This set has to be unique in the sense of object uniqueness but also in the sense ofUUIDuniqueness of the providedThermalBusInputwhich 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 ofOperatorInputentities, theThermalBusInputinstances 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 uniqueOperatorInputthat should be used for the returning instances- Returns:
- a set of object and uuid unique
ThermalBusInputentities
-
getThermalStorages
Set<ThermalStorageInput> getThermalStorages()Returns a unique set of instances of all entities implementing theThermalStorageInputabstract class.This set has to be unique in the sense of object uniqueness but also in the sense of
UUIDuniqueness of the providedThermalStorageInputwhich has to be checked manually, asThermalUnitInput.equals(Object)is NOT restricted on the uuid ofThermalStorageInput.- Returns:
- a set of object and uuid unique
ThermalStorageInputentities
-
getThermalStorages
Set<ThermalStorageInput> getThermalStorages(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a unique set of instances of all entities implementing theThermalStorageInputabstract class. This set has to be unique in the sense of object uniqueness but also in the sense ofUUIDuniqueness of the providedThermalStorageInputwhich 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 ofOperatorInputentities, theThermalStorageInputinstances 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 uniqueOperatorInputthat should be used for the returning instancesthermalBuses- a set of object and uuid uniqueThermalBusInputthat should be used for the returning instances- Returns:
- a set of object and uuid unique
ThermalStorageInputentities
-
getThermalHouses
Set<ThermalHouseInput> getThermalHouses()Returns a unique set ofThermalHouseInputinstances.This set has to be unique in the sense of object uniqueness but also in the sense of
UUIDuniqueness of the providedThermalHouseInputwhich has to be checked manually, asThermalHouseInput.equals(Object)is NOT restricted on the uuid ofThermalHouseInput.- Returns:
- a set of object and uuid unique
ThermalHouseInputentities
-
getThermalHouses
Set<ThermalHouseInput> getThermalHouses(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a set ofThermalHouseInputinstances. This set has to be unique in the sense of object uniqueness but also in the sense ofUUIDuniqueness of the providedThermalHouseInputwhich 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 ofOperatorInputentities, theThermalHouseInputinstances 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 uniqueOperatorInputthat should be used for the returning instancesthermalBuses- a set of object and uuid uniqueThermalBusInputthat should be used for the returning instances- Returns:
- a set of object and uuid unique
ThermalHouseInputentities
-
getCylindricStorages
Set<CylindricalStorageInput> getCylindricStorages()Returns a unique set ofCylindricalStorageInputinstances.This set has to be unique in the sense of object uniqueness but also in the sense of
UUIDuniqueness of the providedCylindricalStorageInputwhich has to be checked manually, asCylindricalStorageInput.equals(Object)is NOT restricted on the uuid ofCylindricalStorageInput.- Returns:
- a set of object and uuid unique
CylindricalStorageInputentities
-
getCylindricStorages
Set<CylindricalStorageInput> getCylindricStorages(Set<OperatorInput> operators, Set<ThermalBusInput> thermalBuses) Returns a set ofCylindricalStorageInputinstances. This set has to be unique in the sense of object uniqueness but also in the sense ofUUIDuniqueness of the providedCylindricalStorageInputwhich 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 ofOperatorInputentities, theCylindricalStorageInputinstances 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 uniqueOperatorInputthat should be used for the returning instancesthermalBuses- a set of object and uuid uniqueThermalBusInputthat should be used for the returning instances- Returns:
- a set of object and uuid unique
CylindricalStorageInputentities
-