MURE
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
TemporalStorage Class Reference

TemporalStorage are outcore containers function of a Retreatment time. More...

#include <Storage.hxx>

Public Member Functions

 TemporalStorage (Material *Fuel, double WaitingTime, string Name, int Number=0)
 Normal constructor.
 
 TemporalStorage (const TemporalStorage &m)
 copy constructor
 
double GetWaitingTime ()
 
vector< double > & GetRetreatmentTime ()
 
double GetCurrentRetreatmentTime ()
 
void SetRetreatmentTime (vector< double > T)
 Set the reprocessing time vector.
 
StorageGetStorage (int i)
 
void Build (int SN, vector< double > TimeVector)
 Build Storage vectors.
 
CellGetCell (int i)
 
int GetRetreatmentTimeIndex ()
 
void SetRetreatmentTimeIndex (int idx)
 

Protected Attributes

double fWaitingTime
 Period to wait before reprocessing a storage.
 
vector< double > fRetreatmentTime
 Time vector at which a storage is reprocessed.
 
vector< Storage * > fStorage
 Storage collection as a function of Reprocessing Time.
 
int fRetreatmentIndex
 The current Retreatment index in the fRetreatmenTime vector.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TemporalStorage() [1/2]

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

◆ TemporalStorage() [2/2]

TemporalStorage::TemporalStorage ( const TemporalStorage m)

copy constructor

Member Function Documentation

◆ Build()

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).

◆ GetCell()

Cell * TemporalStorage::GetCell ( int  i)
inline

< return the cell of storage at Retreatment Time i

◆ GetCurrentRetreatmentTime()

double TemporalStorage::GetCurrentRetreatmentTime ( )

return the current retreatment time (Tfill+TWaiting)

◆ GetRetreatmentTime()

vector< double > & TemporalStorage::GetRetreatmentTime ( )
inline

< return the retreatment time vector (Tfill+TWaiting)

◆ GetRetreatmentTimeIndex()

int TemporalStorage::GetRetreatmentTimeIndex ( )
inline

< return the current Retreatment Time index

◆ GetStorage()

Storage * TemporalStorage::GetStorage ( int  i)
inline

< return the storage at GetReprocessingTime()[i]

◆ GetWaitingTime()

double TemporalStorage::GetWaitingTime ( )
inline

< return Time to wait before reprocessing a storage

◆ SetRetreatmentTime()

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).

◆ SetRetreatmentTimeIndex()

void TemporalStorage::SetRetreatmentTimeIndex ( int  idx)
inline

< set the current Retreatment Time index

Member Data Documentation

◆ fRetreatmentIndex

int TemporalStorage::fRetreatmentIndex
protected

The current Retreatment index in the fRetreatmenTime vector.

◆ fRetreatmentTime

vector< double > TemporalStorage::fRetreatmentTime
protected

Time vector at which a storage is reprocessed.

◆ fStorage

vector< Storage *> TemporalStorage::fStorage
protected

Storage collection as a function of Reprocessing Time.

◆ fWaitingTime

double TemporalStorage::fWaitingTime
protected

Period to wait before reprocessing a storage.


The documentation for this class was generated from the following files:

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024