TemporalStorage are outcore containers function of a Retreatment time.
More...
#include <Storage.hxx>
TemporalStorage are outcore containers function of a Retreatment time.
A TemporalStorage is a collection of Storages: one Storage for each Retreatment time. It is used to keep depleted fuel, waste, ... during the evolution when FuelReprocessing object is build and used. Fuel of one or more depleted core cells can be put in the same TemporalStorage. A storage is reprocessed at each Retreatment Time (see e.g., FuelReprocessing::ReprocessInterimStorage())
- Author
- PTO
- Version
- 0.1
TemporalStorage::TemporalStorage |
( |
Material * |
Fuel, |
|
|
double |
WaitingTime, |
|
|
string |
Name, |
|
|
int |
Number = 0 |
|
) |
| |
Normal constructor.
Build the first storage (i.e. at Retreatment Time 0). To find a storage with MureGui, it has a "spatial
variable" (the storage name), with a given value: X.Y where X corresponds to the index of Retreatment time at which the storage is built and Y is the storage number at this time. When having only 1 storage type per Retreatment time, the spatial variable value is just, 0, 1 ...
- Parameters
-
Fuel | : The Storage material. |
WaitingTime | : Time to wait before reprocessing the storage (cooling, refabrication). |
Name | : The name of the storage (e.g. InterimStorrage) |
Number | : Number of the storage |
void TemporalStorage::Build |
( |
int |
SN, |
|
|
vector< double > |
TimeVector |
|
) |
| |
Build Storage vectors.
Build all storages (i.e. at each Refuelling Time). To find a storage with MureGui, it has a "spatial variable" (the storage name), with a given value: X.Y where X corresponds to the index of reprocessing time at which the storage is built and Y is the storage number at this time. The SN parameter is this Y. When having only 1 storage type per reprocessing time, the spatial variable value is just, 0, 1 ... The Retreatment time vector is built as TimeVector[i]+fWaitingTime.
- Parameters
-
SN | : the Storage Number is used for the spatial variables of Cell. |
TimeVector | : the Time vector of refuelling time for the storage (i.e. when it is filled). |
Cell* TemporalStorage::GetCell |
( |
int |
i | ) |
|
|
inline |
return the cell of storage at Retreatment Time i
double TemporalStorage::GetCurrentRetreatmentTime |
( |
| ) |
|
return the current retreatment time (Tfill+TWaiting)
vector<double>& TemporalStorage::GetRetreatmentTime |
( |
| ) |
|
|
inline |
return the retreatment time vector (Tfill+TWaiting)
int TemporalStorage::GetRetreatmentTimeIndex |
( |
| ) |
|
|
inline |
return the current Retreatment Time index
Storage* TemporalStorage::GetStorage |
( |
int |
i | ) |
|
|
inline |
return the storage at GetReprocessingTime()[i]
double TemporalStorage::GetWaitingTime |
( |
| ) |
|
|
inline |
return Time to wait before reprocessing a storage
void TemporalStorage::SetRetreatmentTime |
( |
vector< double > |
T | ) |
|
Set the reprocessing time vector.
The time vector T contains the time at which the storage is filled (refuel). The fRetreatmentTime vector is set to T+fWaitingTime
- Parameters
-
T | : the Time vector of refuelling time for the storage (i.e. when it is filled). |
void TemporalStorage::SetRetreatmentTimeIndex |
( |
int |
idx | ) |
|
|
inline |
set the current Retreatment Time index
int TemporalStorage::fRetreatmentIndex |
|
protected |
The current Retreatment index in the fRetreatmenTime vector.
vector<double> TemporalStorage::fRetreatmentTime |
|
protected |
Time vector at which a storage is reprocessed.
vector<Storage*> TemporalStorage::fStorage |
|
protected |
Storage collection as a function of Reprocessing Time.
double TemporalStorage::fWaitingTime |
|
protected |
Period to wait before reprocessing a storage.
The documentation for this class was generated from the following files: