CLASS  5.1
Fuel Cycle Simulator
Pool Class Reference

Defines the spent fuel pool. More...

#include <Pool.hxx>

Inheritance diagram for Pool:
CLASSBackEnd CLASSFacility CLASSObject

Public Member Functions

Constructor/Desctructor
 Pool ()
 Normal Constructor. More...
 
 Pool (CLASSLogger *Log, cSecond coolingtime=5 *cYear)
 Special Constructor. More...
 
 Pool (CLASSLogger *log, CLASSBackEnd *backend, cSecond coolingtime=5 *cYear)
 Special Constructor. More...
 
 ~Pool ()
 Normal Destructor. More...
 
Set Method
void SetOutBackEndFacility (CLASSBackEnd *befacility)
 Set the pointer to facility at the back end of the pool. More...
 
void SetPutToWaste (bool val)
 Set true if IV goes to waste after cooling false instead. More...
 
void SetIVArray (vector< IsotopicVector > ivarray)
 
void SetIVArray (vector< IsotopicVector > ivarray, vector< cSecond > timearray)
 not use there (does nothing) More...
 
Get Method
bool GetPutToWaste () const
 Return true if IV goes to waste after cooling, false instead. More...
 
IsotopicVector Managment Method
vector< cSecondGetCoolingStartingTime () const
 Return vector of the arrival time of each IV in the Pool. More...
 
void RemoveIVCooling (int i)
 Remove a IsotopicVector from cooling. More...
 
void AddIV (IsotopicVector isotopicvector)
 Add an Isotopicvector to the IVArray. More...
 
Other Method
void Evolution (cSecond t)
 Perform the evolution until time t. More...
 
void Dump ()
 Write modification (exchange between Cooling, Separation and Storage) More...
 
- Public Member Functions inherited from CLASSBackEnd
 CLASSBackEnd (int type=0)
 Default Constructor. More...
 
 CLASSBackEnd (CLASSLogger *log, int type=0)
 CLASSLogger Constructor. More...
 
 CLASSBackEnd (CLASSLogger *log, cSecond cycletime, int type=0)
 Cycle time Constructor. More...
 
void UpdateInsideIV ()
 
std::vector< IsotopicVectorGetIVArray () const
 Return the IsotopicVector Array. More...
 
std::vector< cSecondGetIVArrayArrivalTime () const
 Vector of arrival time of each IV in the CLASSBackEnd. More...
 
int GetIVNumber () const
 Return the number of Isotopic Vector present in the CLASSBackEnd object. More...
 
bool GetStorageType () const
 Return the storageType : True if it is a Storage. More...
 
IsotopicVector GetIV (int i) const
 
DecayDataBankGetDecayDataBank ()
 Return the pointer to the decay DataBank. More...
 
CLASSBackEndGetOutBackEndFacility () const
 Return the pointer to the OUtBackEndFacility. More...
 
virtual std::map< cSecond, int > GetTheBackEndTimePath ()
 Get the full path. More...
 
void SetIsStorageType (bool val=true)
 Set the fIsStorage bool. More...
 
virtual void SetIVArray (std::vector< IsotopicVector > const &ivarray)
 Set The isotopicVector Array. More...
 
void SetIVArrayArrivalTime (std::vector< cSecond > const &IVArrayArrivalTime)
 Set Arrival Time in Back end. More...
 
void SetDecayDataBank (DecayDataBank *decayDB)
 Set the Decay DataBank. More...
 
virtual void ApplyZAIThreshold (int z=90)
 Put all nuclei below the threshold in -2 -2 -2 ZAI... More...
 
void ClearIVArray ()
 Empty the IVArray removing all fuel stored. More...
 
- Public Member Functions inherited from CLASSFacility
 CLASSFacility (int type=0)
 Normal Constructor. More...
 
 CLASSFacility (CLASSLogger *log, int type=0)
 Special Constructor. More...
 
 CLASSFacility (CLASSLogger *log, cSecond cycletime, int type=0)
 Special Constructor. More...
 
 CLASSFacility (CLASSLogger *log, cSecond creationtime, cSecond lifetime, int type=0)
 Special Constructor. More...
 
 CLASSFacility (CLASSLogger *log, cSecond startingtime, cSecond lifetime, cSecond cycletime, int type=0)
 Special Constructor. More...
 
int GetId () const
 Return the Facility Parc'Is. More...
 
IsotopicVector GetInsideIV () const
 Return the IV contained in the Facility. More...
 
int GetFacilityType () const
 Return the Facility Type id. More...
 
cSecond GetInternalTime () const
 Return Creation Time. More...
 
cSecond GetCycleTime () const
 Return the cycle time of the Facility. More...
 
cSecond GetCreationTime () const
 Return the creation time of the Facility. More...
 
cSecond GetLifeTime () const
 Return the life time of the Facility. More...
 
ScenarioGetParc ()
 return the pointer to the Park More...
 
IsotopicVector GetCumulativeIVIn ()
 return the cumulative sum of all incoming IV More...
 
IsotopicVector GetCumulativeIVOut ()
 return the cumulative sum of all outcoming IV More...
 
void SetId (int id)
 Set The Facility Parc'Id. More...
 
void SetParc (Scenario *parc)
 Set the Pointer to the Parc. More...
 
void SetFacilityType (int type)
 
void SetInsideIV (IsotopicVector const &isotopicvector)
 Set the IV inside the Facility. More...
 
void SetCreationTime (cSecond CTtime)
 Set the creation Time. More...
 
void SetLifeTime (cSecond Ltime)
 Set the life time of the facility. More...
 
void SetShutDownTime (cSecond SDTime)
 Set the shutdown time of the facility. More...
 
void SetInCycleTime (cSecond ICtime)
 Set the In cycle time. More...
 
void SetInternalTime (cSecond INtime)
 Set the Internal Time. More...
 
virtual void SetCycleTime (cSecond Ctime)
 Set the cycle time (Cycle of the loading Plan) More...
 
void AddCumulativeIVIn (IsotopicVector const &IV)
 Add the Input IsotopicVector in the cumulative IV IN. More...
 
void AddCumulativeIVOut (IsotopicVector const &IV)
 Add the Input IsotopicVector in the cumulative IV OUT. More...
 
- Public Member Functions inherited from CLASSObject
 CLASSObject ()
 Normal Constructor. More...
 
 CLASSObject (CLASSLogger *log)
 Log Constructor. More...
 
virtual CLASSObjectClone ()
 Correct way to copy a CLASSObject in case of derivation. More...
 
void SetLog (CLASSLogger *log)
 Set the CLASSLogger. More...
 
CLASSLoggerGetLog ()
 Return the Pointer to the Log. More...
 

Protected Member Functions

void CoolingEvolution (cSecond t)
 Deal the cooling evolution. More...
 
 ClassDef (Pool, 3)
 
- Protected Member Functions inherited from CLASSBackEnd
IsotopicVector GetDecay (IsotopicVector const &isotopicvector, cSecond t)
 Get IsotopicVector decay at time t [s]. More...
 

Protected Attributes

bool fPutToWaste
 True if IV goes to waste after cooling false instead. More...
 
vector< int > fCoolingIndex
 Vector of the cooling index. More...
 
int fCoolingLastIndex
 Number of cooling IV handle. More...
 
vector< int > fCoolingEndOfCycle
 Index of the cooling IV reaching the end of a cooling cycle. More...
 
- Protected Attributes inherited from CLASSBackEnd
std::vector< IsotopicVectorfIVArray
 Vector containning all the fuel stored. More...
 
std::vector< cSecondfIVArrayArrivalTime
 Vector containning the arrival time of each fuel in [s]. More...
 
CLASSBackEndfOutBackEndFacility
 Facility getting the fuel at the end of the cycle. More...
 
- Protected Attributes inherited from CLASSFacility
bool fIsStarted
 True if Running, False Otherwise. More...
 
bool fIsShutDown
 True if the facility is stoped, False Otherwise. More...
 
bool fIsAtEndOfCycle
 True if Reaching the end of a Facility cycle. More...
 
cSecond fInternalTime
 Internal Clock [s]. More...
 
cSecond fInCycleTime
 Time spent since the beginning of the last Cycle [s]. More...
 
cSecond fCycleTime
 Cycle duration Time [s]. More...
 
IsotopicVector fInsideIV
 All IV in the Facility (fuel for reactor, total for all others...) More...
 
IsotopicVector fCumulativeIVIn
 All IV in the Facility (fuel for reactor, total for all others...) More...
 
IsotopicVector fCumulativeIVOut
 All IV in the Facility (fuel for reactor, total for all others...) More...
 
- Protected Attributes inherited from CLASSObject
CLASSLoggerfLog
 Pointer to the Log. More...
 

Detailed Description

Defines the spent fuel pool.

This class deal with the management of the spent fuel pool

Author
BaM
Version
2.0

Constructor & Destructor Documentation

◆ Pool() [1/3]

Pool::Pool ( )

Normal Constructor.

◆ Pool() [2/3]

Pool::Pool ( CLASSLogger Log,
cSecond  coolingtime = 5*cYear 
)

Special Constructor.

Make a new Pool

Parameters
log: used for the log.
coolingtime: duration of the cooling (default : 5 years) in [s].

◆ Pool() [3/3]

Pool::Pool ( CLASSLogger log,
CLASSBackEnd backend,
cSecond  coolingtime = 5*cYear 
)

Special Constructor.

Make a new Pool

Parameters
log: used for the log.
backend: CLASSBackend which get the fuel after the cooling
coolingtime: duration of the cooling (default : 5 years) in [s].

◆ ~Pool()

Pool::~Pool ( )

Normal Destructor.

Member Function Documentation

◆ AddIV()

void Pool::AddIV ( IsotopicVector  isotopicvector)
virtual

Add an Isotopicvector to the IVArray.

Reimplemented from CLASSBackEnd.

◆ ClassDef()

Pool::ClassDef ( Pool  ,
 
)
protected

◆ CoolingEvolution()

void Pool::CoolingEvolution ( cSecond  t)
protected

Deal the cooling evolution.

◆ Dump()

void Pool::Dump ( )
virtual

Write modification (exchange between Cooling, Separation and Storage)

Reimplemented from CLASSFacility.

◆ Evolution()

void Pool::Evolution ( cSecond  t)
virtual

Perform the evolution until time t.

Reimplemented from CLASSBackEnd.

◆ GetCoolingStartingTime()

vector<cSecond> Pool::GetCoolingStartingTime ( ) const
inline

Return vector of the arrival time of each IV in the Pool.

◆ GetPutToWaste()

bool Pool::GetPutToWaste ( ) const
inline

Return true if IV goes to waste after cooling, false instead.

◆ RemoveIVCooling()

void Pool::RemoveIVCooling ( int  i)

Remove a IsotopicVector from cooling.

Parameters
iRemove a Cooling IsotopicVector

◆ SetIVArray() [1/2]

void Pool::SetIVArray ( vector< IsotopicVector ivarray)

◆ SetIVArray() [2/2]

void Pool::SetIVArray ( vector< IsotopicVector ivarray,
vector< cSecond timearray 
)

not use there (does nothing)

Set the IsotopicVector Array at the corresponding time

◆ SetOutBackEndFacility()

void Pool::SetOutBackEndFacility ( CLASSBackEnd befacility)
inlinevirtual

Set the pointer to facility at the back end of the pool.

Reimplemented from CLASSBackEnd.

◆ SetPutToWaste()

void Pool::SetPutToWaste ( bool  val)
inline

Set true if IV goes to waste after cooling false instead.

Member Data Documentation

◆ fCoolingEndOfCycle

vector<int> Pool::fCoolingEndOfCycle
protected

Index of the cooling IV reaching the end of a cooling cycle.

◆ fCoolingIndex

vector<int> Pool::fCoolingIndex
protected

Vector of the cooling index.

◆ fCoolingLastIndex

int Pool::fCoolingLastIndex
protected

Number of cooling IV handle.

◆ fPutToWaste

bool Pool::fPutToWaste
protected

True if IV goes to waste after cooling false instead.


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