CLASS  5.1
Fuel Cycle Simulator
SeparationPlant Class Reference

Defines a SeparationPlant. More...

#include <SeparationPlant.hxx>

Inheritance diagram for SeparationPlant:
CLASSBackEnd CLASSFacility CLASSObject

Public Member Functions

map< cSecond, int > GetTheBackEndTimePath ()
 Get the full path. More...
 
Constructor/Desctructor
 SeparationPlant ()
 Normal Constructor. More...
 
 SeparationPlant (CLASSLogger *Log)
 Special Constructor. More...
 
 ~SeparationPlant ()
 Normal Destructor. More...
 
Set Method
void SetBackEndDestination (CLASSBackEnd *storagedestination, IsotopicVector isotopicvector, cSecond destinationstartingtime)
 Tell Separation plant to begin separation at time destinationstartingtime according efficiency (between [0-1]) defined in isotopicvector and to send the separated materials to storagedestination. More...
 
void AddIV (IsotopicVector IV)
 Add an Isotopicvector to the IVArray. More...
 
void SetPutToWaste (bool val)
 Set True if IV goes to waste after cooling false instead. 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 the vector of Cooling starting Time. 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...
 
virtual void Evolution (cSecond t)
 Performs the Evolution until time t. 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...
 
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 SetOutBackEndFacility (CLASSBackEnd *befacility)
 Set an out Facility. 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...
 
virtual void Dump ()
 Write Modification (IV In/Out, filling the TF...) 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

 ClassDef (SeparationPlant, 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< CLASSBackEnd *> fDestinationStorage
 Vector containing destination storage of the IV in the Separation Plant. More...
 
vector< IsotopicVectorfDestinationStorageIV
 Vector containing destination storage of the IV in the Separation Plant. More...
 
vector< cSecondfDestinationStorageStartingTime
 Vector containing destination storage starting time of the IV in the Separation Plant. 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 a SeparationPlant.

The aim of this class is to separate an IV into several IV (MA, Pu, PF, etc...) and to send it to one or several Storage

Author
NT
BaM
Version
1.0

Constructor & Destructor Documentation

◆ SeparationPlant() [1/2]

SeparationPlant::SeparationPlant ( )

Normal Constructor.

◆ SeparationPlant() [2/2]

SeparationPlant::SeparationPlant ( CLASSLogger Log)

Special Constructor.

Make a new SeparationPlant

Parameters
log: used for the log.

◆ ~SeparationPlant()

SeparationPlant::~SeparationPlant ( )

Normal Destructor.

Member Function Documentation

◆ AddIV()

void SeparationPlant::AddIV ( IsotopicVector  isotopicvector)
virtual

Add an Isotopicvector to the IVArray.

Reimplemented from CLASSBackEnd.

◆ ClassDef()

SeparationPlant::ClassDef ( SeparationPlant  ,
 
)
protected

◆ GetCoolingStartingTime()

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

Return the vector of Cooling starting Time.

◆ GetPutToWaste()

bool SeparationPlant::GetPutToWaste ( ) const
inline

Return True if IV goes to waste after cooling false instead.

◆ GetTheBackEndTimePath()

map< cSecond, int > SeparationPlant::GetTheBackEndTimePath ( )
virtual

Get the full path.

Reimplemented from CLASSBackEnd.

◆ SetBackEndDestination()

void SeparationPlant::SetBackEndDestination ( CLASSBackEnd storagedestination,
IsotopicVector  isotopicvector,
cSecond  destinationstartingtime 
)

Tell Separation plant to begin separation at time destinationstartingtime according efficiency (between [0-1]) defined in isotopicvector and to send the separated materials to storagedestination.

◆ SetPutToWaste()

void SeparationPlant::SetPutToWaste ( bool  val)
inline

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

Member Data Documentation

◆ fDestinationStorage

vector<CLASSBackEnd* > SeparationPlant::fDestinationStorage
protected

Vector containing destination storage of the IV in the Separation Plant.

◆ fDestinationStorageIV

vector<IsotopicVector > SeparationPlant::fDestinationStorageIV
protected

Vector containing destination storage of the IV in the Separation Plant.

◆ fDestinationStorageStartingTime

vector<cSecond> SeparationPlant::fDestinationStorageStartingTime
protected

Vector containing destination storage starting time of the IV in the Separation Plant.

◆ fPutToWaste

bool SeparationPlant::fPutToWaste
protected

True if IV goes to waste after cooling false instead.


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