CLASS
5.1
Fuel Cycle Simulator
|
Defines a Scenario (the whole electro-nuclear system) More...
#include <Scenario.hxx>
Public Member Functions | |
void | SetLogTimeStep (bool val=true) |
void | SetZAIThreshold (int z=90) |
Constructor/Desctructor | |
Scenario (CLASSLogger *Log, cSecond abstime=0) | |
Log Constructor. More... | |
Scenario (cSecond abstime) | |
Scenario (cSecond abstime, CLASSLogger *log) | |
~Scenario () | |
Normal Destructor. More... | |
Get Function | |
cSecond | GetAbsoluteTime () |
map< cSecond, int > | GetTimeStep () |
vector< Reactor * > | GetReactor () |
vector< Storage * > | GetStorage () |
vector< Pool * > | GetPool () |
vector< FabricationPlant * > | GetFabricationPlant () |
DecayDataBank * | GetDecayDataBase () |
cSecond | GetPrintSet () |
bool | GetStockManagement () |
string | GetOutputFileName () |
string | GetOutputTreeName () |
IsotopicVector | GetWaste () |
Set Function | |
void | SetTimeStep (cSecond timestep) |
Set the printing step periodicity. More... | |
void | SetStockManagement (bool val) |
Set the StockManagement method. More... | |
void | SetDecayDataBase (DecayDataBank *decaydatabase) |
Set the DecayDataBank. More... | |
void | SetOutputFileName (string name) |
Set the Output File Name. More... | |
void | SetOutputTreeName (string name) |
Set the Output TTree Name. More... | |
Adding Facilities | |
void | AddPool (Pool *Pool) |
Add a Pool to the Park. More... | |
void | AddReactor (Reactor *reactor) |
Add a Reactor to the Park. More... | |
void | AddStorage (Storage *storage) |
Add a Storage to the Park. More... | |
void | AddFabricationPlant (FabricationPlant *fabricationplant) |
Add a Storage to the Park. More... | |
void | AddSeparationPlant (SeparationPlant *separationplant) |
void | Add (Pool *Pool) |
void | Add (Reactor *reactor) |
void | Add (Storage *storage) |
void | Add (FabricationPlant *fabricationplant) |
void | Add (SeparationPlant *separationplant) |
Evolution Method | |
void | BuildTimeVector (cSecond t) |
void | Evolution (cSecond t) |
Perform the Evolution. More... | |
void | BackEndEvolution () |
Perform BackEnd Evolution. More... | |
void | PoolEvolution () |
Perform Pool Evolution. More... | |
void | PoolDump () |
void | ReactorEvolution () |
Perform the Reactor Evolution. More... | |
void | FabricationPlantEvolution () |
Perform the FabricationPlant Evolution. More... | |
void | StorageEvolution () |
Perform the Storage Evolution. More... | |
IsotopicVector Sum | |
IsotopicVector | GetOutIncome () const |
void | AddOutIncome (ZAI zai, double quantity) |
void | AddOutIncome (IsotopicVector isotopicvector) |
void | AddWaste (ZAI zai, double quantity) |
void | AddWaste (IsotopicVector isotopicvector) |
void | AddToPower (double power, double elpower) |
Add power to the installed power in the Parc. More... | |
void | ApplyZAIThreshold () |
In/Out Method | |
void | PrintCLASSPresentation () |
CLASS informations when first running the code. More... | |
void | ProgressPrintout (cSecond t) |
Update the prompt output to the time t. More... | |
void | Print () |
Print some information about the Parc. More... | |
void | Write () |
Write information in a file. More... | |
void | OpenOutputTree () |
Open and define the Ouput ROOT TTree. More... | |
void | CloseOutputTree () |
Close and delete the Ouput ROOT TTree. More... | |
void | OutAttach () |
Attach the Branch to the Ouput ROOT TTree. More... | |
void | ResetQuantity () |
Reset the values of the GLobal IsotopicVector. More... | |
void | UpdateParc () |
Update the Global IsotopicVector. More... | |
![]() | |
CLASSObject () | |
Normal Constructor. More... | |
CLASSObject (CLASSLogger *log) | |
Log Constructor. More... | |
virtual CLASSObject * | Clone () |
Correct way to copy a CLASSObject in case of derivation. More... | |
void | SetLog (CLASSLogger *log) |
Set the CLASSLogger. More... | |
CLASSLogger * | GetLog () |
Return the Pointer to the Log. More... | |
Protected Attributes | |
bool | fNewTtree |
True if we want to define a new TTree in the output File. More... | |
bool | fStockManagement |
True if real StockManagement false unstead (Default = true) More... | |
bool | fLogTimeStep |
cSecond | fPrintStep |
Time interval between two output update in [s]. More... | |
cSecond | fAbsoluteTime |
Absolute Clock in [s]. More... | |
cSecond | fStartingTime |
Starting Time in [s]. More... | |
map< cSecond, int > | fTimeStep |
int | fZAIThreshold |
int | fCloverCount |
vector< Storage * > | fStorage |
Vector of Storages. More... | |
vector< Pool * > | fPool |
Vector of Pool. More... | |
vector< Reactor * > | fReactor |
Vector of Reactor. More... | |
vector< FabricationPlant * > | fFabricationPlant |
Vector of FabricationPlant. More... | |
vector< SeparationPlant * > | fSeparationPlant |
Vector of FabricationPlant. More... | |
DecayDataBank * | fDecayDataBase |
Pointer to the Decay DataBase. More... | |
TFile * | fOutFile |
Pointer to the Root Output File. More... | |
string | fOutputFileName |
TTree * | fOutT |
Name of the Output File. More... | |
string | fOutputTreeName |
string | fOutputLogName |
Name of the Output TTree. More... | |
IsotopicVector | fWaste |
Waste IV. More... | |
IsotopicVector | fTotalStorage |
Sum of all IV in Storage IV. More... | |
IsotopicVector | fOutIncome |
OutIncomeIncome IV. More... | |
IsotopicVector | fTotalCooling |
Sum of all IV in Cooling IV. More... | |
IsotopicVector | fFuelFabrication |
Sum of all IV in Fabrication IV. More... | |
IsotopicVector | fTotalInReactor |
Sum of all IV in Reactor IV. More... | |
IsotopicVector | fIVInCycleTotal |
Sum of all IV in the cycle (without Waste) IV. More... | |
IsotopicVector | fIVTotal |
Sum of all IV in the parc (including Waste) IV. More... | |
double | fParcPower |
Sum of the Power of all reactor in the parc. More... | |
double | fParcElectricPower |
Sum of the Power of all reactor in the parc. More... | |
![]() | |
CLASSLogger * | fLog |
Pointer to the Log. More... | |
Defines a Scenario (the whole electro-nuclear system)
The aim of these Scenario is to manage the park and its evolution and to lead all Storage, FabricationPlant, Reactor, Pool,...
Scenario::Scenario | ( | CLASSLogger * | Log, |
cSecond | abstime = 0 |
||
) |
Log Constructor.
Use to load a CLASSLogger
log | : used for the log. |
abstime | Starting time of the Parc in second |
Scenario::Scenario | ( | cSecond | abstime | ) |
Use to set the starting time of the Parc
abstime | Starting time of the Parc in second |
Scenario::Scenario | ( | cSecond | abstime, |
CLASSLogger * | log | ||
) |
Use to set the starting time of the Parc
abstime | Starting time of the Parc in second |
log | : used for the log. |
Scenario::~Scenario | ( | ) |
Normal Destructor.
|
inline |
< Add a Storage to the Park
|
inline |
< Add a Storage to the Park
void Scenario::AddFabricationPlant | ( | FabricationPlant * | fabricationplant | ) |
Add a Storage to the Park.
|
inline |
< Add a ZAI*quantity to OutIncomeIncome
|
inline |
< Add a isotopicVector to OutIncomeIncome
void Scenario::AddSeparationPlant | ( | SeparationPlant * | separationplant | ) |
|
inline |
Add power to the installed power in the Parc.
|
inline |
< Add a ZAI*quantity to Waste
|
inline |
< Add a isotopicVector to Waste
void Scenario::ApplyZAIThreshold | ( | ) |
void Scenario::BackEndEvolution | ( | ) |
Perform BackEnd Evolution.
void Scenario::BuildTimeVector | ( | cSecond | t | ) |
Build the Time Evolution Vector where :
void Scenario::CloseOutputTree | ( | ) |
Close and delete the Ouput ROOT TTree.
void Scenario::Evolution | ( | cSecond | t | ) |
Perform the Evolution.
void Scenario::FabricationPlantEvolution | ( | ) |
Perform the FabricationPlant Evolution.
|
inline |
< Return the Absolute Clock
|
inline |
< Return the Pointer to the DecayDataBank
|
inline |
< Return the FabricationPlant vector
|
inline |
< Return the OutIncome Providings IsotopicVector
|
inline |
< Return the Output File name
|
inline |
< Return the Output ROOT TTree name
|
inline |
< Return the print step periodicity
|
inline |
< Return the StockManagement method (True or False)
|
inline |
< Return the Time Step vector
|
inline |
< Return the waste IsotopicVcetor
void Scenario::OpenOutputTree | ( | ) |
Open and define the Ouput ROOT TTree.
void Scenario::OutAttach | ( | ) |
Attach the Branch to the Ouput ROOT TTree.
void Scenario::PoolDump | ( | ) |
void Scenario::PoolEvolution | ( | ) |
Perform Pool Evolution.
void Scenario::Print | ( | ) |
Print some information about the Parc.
void Scenario::PrintCLASSPresentation | ( | ) |
CLASS informations when first running the code.
void Scenario::ProgressPrintout | ( | cSecond | t | ) |
Update the prompt output to the time t.
void Scenario::ReactorEvolution | ( | ) |
Perform the Reactor Evolution.
void Scenario::ResetQuantity | ( | ) |
Reset the values of the GLobal IsotopicVector.
|
inline |
Set the DecayDataBank.
Use to define Decay DataBank to be used
decaydatabase | a DecayDataBank which should contain the evolution of each nuclei of the chart |
|
inline |
|
inline |
Set the Output File Name.
Use to define name of the output file
name | a string which correspond to the output file name |
|
inline |
|
inline |
Set the StockManagement method.
Use to define the stock managment method : true all fuel are stored individualy and false all fuel are mixed in a stock, and one can separate each isotope as needed
val | true or false depending on the stock management method used |
|
inline |
Set the printing step periodicity.
Use to set the periodicity of the output
timestep | periodicity of outpout in second |
|
inline |
void Scenario::StorageEvolution | ( | ) |
Perform the Storage Evolution.
void Scenario::UpdateParc | ( | ) |
Update the Global IsotopicVector.
void Scenario::Write | ( | ) |
Write information in a file.
|
protected |
Absolute Clock in [s].
|
protected |
|
protected |
Pointer to the Decay DataBase.
|
protected |
Vector of FabricationPlant.
|
protected |
Sum of all IV in Fabrication IV.
|
protected |
Sum of all IV in the cycle (without Waste) IV.
|
protected |
Sum of all IV in the parc (including Waste) IV.
|
protected |
|
protected |
True if we want to define a new TTree in the output File.
|
protected |
Pointer to the Root Output File.
|
protected |
OutIncomeIncome IV.
|
protected |
|
protected |
Name of the Output TTree.
Name of the Ouput log File
|
protected |
|
protected |
Name of the Output File.
Pointer to the Root Output TTr3ee
|
protected |
Sum of the Power of all reactor in the parc.
|
protected |
Sum of the Power of all reactor in the parc.
|
protected |
Time interval between two output update in [s].
|
protected |
Vector of FabricationPlant.
|
protected |
Starting Time in [s].
|
protected |
True if real StockManagement false unstead (Default = true)
|
protected |
Vector of Storages.
|
protected |
Time Step Vector in [s] for the evolution :
|
protected |
Sum of all IV in Cooling IV.
|
protected |
Sum of all IV in Reactor IV.
|
protected |
Sum of all IV in Storage IV.
|
protected |
Waste IV.
|
protected |