CLASS
1.1
|
#include "FabricationPlant.hxx"
Fonctions membres publiques | |
FabricationPlant () | |
< Normal constructor Plus de détails... | |
FabricationPlant (LogFile *log) | |
FabricationPlant (LogFile *log, Storage *storage, Storage *reusable, double fabricationtime=365.25 *24 *3600 *2) | |
Normal Destructor. Plus de détails... | |
~FabricationPlant () | |
void | SetUpdateReferenceDBatEachStep (bool val) |
void | SetId (int id) |
Set The FB Parc'Id. Plus de détails... | |
void | SetParc (CLASS *parc) |
Set the Pointer to the Parc. Plus de détails... | |
void | SetLog (LogFile *Log) |
Set the Pointer to the Log. Plus de détails... | |
void | SetStorage (Storage *storage) |
Set the Pointer to the Storage. Plus de détails... | |
void | SetDecayDataBase (DataBank< ZAI > *ddb) |
Set the pointer to the Decay DataBase. Plus de détails... | |
void | SetChronologicalTimePriority (bool bval) |
Set the chronological priority (true for chronological, false unstead) Plus de détails... | |
void | SetSubstitutionFuel (EvolutionData fuel) |
void | AddReactor (int reactorid, double creationtime) |
Add a new reactor. Plus de détails... | |
LogFile * | GetLog () |
Return the Pointer to the Log. Plus de détails... | |
CLASS * | GetParc () |
Return the Pointer to the Parc. Plus de détails... | |
int | GetId () |
Storage * | GetStorage () |
Return the Pointer to the Storage. Plus de détails... | |
cSecond | GetInternalTime () const |
Return Creation Time. Plus de détails... | |
cSecond | GetFabricationTime () const |
Return the Fabrication Time. Plus de détails... | |
map< int, IsotopicVector > | GetReactorFuturIncome () const |
Return the List of the Futur Fuel IV. Plus de détails... | |
DataBank< ZAI > * | GeDecayDataBase () const |
Return the pointer to the DecayDB. Plus de détails... | |
IsotopicVector | GetFullFabrication () |
EvolutionData | GetReactorEvolutionDB (int ReactorId) |
Return the EvolutionData of Reactor ReactorId. Plus de détails... | |
void | AddValorisableIV (ZAI zai, double factor) |
Add Valorisable Element. Plus de détails... | |
void | Evolution (cSecond t) |
Perform the Evolution. Plus de détails... | |
void | BuildFuelForReactor (int ReactorId) |
Build a Fuel for the reactor ReactorId. Plus de détails... | |
void | RecycleStock (double fraction) |
Take a franction of the current stock. Plus de détails... | |
IsotopicVector | GetStockToRecycle () |
Get the next stock to recycle. Plus de détails... | |
void | DumpStock () |
Update the storage. Plus de détails... | |
EvolutionData | BuildEvolutiveDB (int ReactorId, IsotopicVector isotopicvector) |
Build the Evolution Database for the Reactir ReactorId Fuel. Plus de détails... | |
void | TakeReactorFuel (int Id) |
Remove the Fuel of reactor ReactorId. Plus de détails... | |
Fonctions membres protégées | |
IsotopicVector | GetDecay (IsotopicVector isotopicvector, cSecond t) |
Get IsotopicVector Decay at the t time. Plus de détails... | |
void | FabricationPlantEvolution (cSecond t) |
Deal the FabricationPlant Evolution. Plus de détails... | |
pair< IsotopicVector, IsotopicVector > | Separation (IsotopicVector isotopicvector) |
Make the Separation < return IV[0] -> To Stock / IV[1] -> To Waste Plus de détails... | |
ClassDef (FabricationPlant, 1) | |
Attributs protégés | |
int | fId |
Identity of the FabricationPlant inside the Parc. Plus de détails... | |
cSecond | fInternalTime |
Internal Clock. Plus de détails... | |
bool | fUpdateReferenceDBatEachStep |
CLASS * | fParc |
Pointer to the Parc. Plus de détails... | |
LogFile * | fLog |
Pointer to the Log. Plus de détails... | |
map< ZAI,double > | fValorisableIV |
The Valorisable Table. Plus de détails... | |
map< int, cSecond > | fReactorNextStep |
Next Time Step to Build a New Fuel. Plus de détails... | |
map< int, EvolutionData > | fReactorFuturDB |
List of the Futur EvolutionData use in the reactor. Plus de détails... | |
map< int, IsotopicVector > | fReactorFuturIV |
List of the Futur Fuel Isotopic Vector used in the reactor. Plus de détails... | |
DataBank< ZAI > * | fDecayDataBase |
Pointer to the Decay DataBase. Plus de détails... | |
Storage * | fStorage |
Pointer to the Storage to recycle. Plus de détails... | |
Storage * | fReUsable |
Pointer to the Storage using for recycling unused Product. Plus de détails... | |
vector< pair< int, double > > | fFractionToTake |
The Temporary Storage IsotopicVector. Plus de détails... | |
double | fFabricationTime |
Fabrication Duration Time. Plus de détails... | |
bool | fChronologicalTimePriority |
Set the Chronological Priotity (for the Stock Management) or the anti-chronological one. Plus de détails... | |
bool | fSubstitutionFuel |
EvolutionData | fSubstitutionEvolutionData |
Définition à la ligne 39 du fichier FabricationPlant.hxx.
FabricationPlant::FabricationPlant | ( | ) |
FabricationPlant::FabricationPlant | ( | LogFile * | log | ) |
Définition à la ligne 48 du fichier FabricationPlant.cxx.
FabricationPlant::FabricationPlant | ( | LogFile * | log, |
Storage * | storage, | ||
Storage * | reusable, | ||
double | fabricationtime = 365.25*24*3600*2 |
||
) |
Normal Destructor.
Définition à la ligne 70 du fichier FabricationPlant.cxx.
FabricationPlant::~FabricationPlant | ( | ) |
Définition à la ligne 98 du fichier FabricationPlant.cxx.
|
inline |
Add a new reactor.
Définition à la ligne 66 du fichier FabricationPlant.hxx.
void FabricationPlant::AddValorisableIV | ( | ZAI | zai, |
double | factor | ||
) |
EvolutionData FabricationPlant::BuildEvolutiveDB | ( | int | ReactorId, |
IsotopicVector | isotopicvector | ||
) |
Build the Evolution Database for the Reactir ReactorId Fuel.
Définition à la ligne 404 du fichier FabricationPlant.cxx.
void FabricationPlant::BuildFuelForReactor | ( | int | ReactorId | ) |
Build a Fuel for the reactor ReactorId.
Définition à la ligne 170 du fichier FabricationPlant.cxx.
|
protected |
void FabricationPlant::DumpStock | ( | ) |
Update the storage.
Définition à la ligne 505 du fichier FabricationPlant.cxx.
void FabricationPlant::Evolution | ( | cSecond | t | ) |
|
protected |
Deal the FabricationPlant Evolution.
Définition à la ligne 139 du fichier FabricationPlant.cxx.
Return the pointer to the DecayDB.
Définition à la ligne 82 du fichier FabricationPlant.hxx.
|
protected |
|
inline |
Return the Fabrication Time.
Définition à la ligne 77 du fichier FabricationPlant.hxx.
IsotopicVector FabricationPlant::GetFullFabrication | ( | ) |
Définition à la ligne 455 du fichier FabricationPlant.cxx.
|
inline |
Définition à la ligne 73 du fichier FabricationPlant.hxx.
|
inline |
Return Creation Time.
Définition à la ligne 76 du fichier FabricationPlant.hxx.
|
inline |
Return the Pointer to the Log.
Définition à la ligne 71 du fichier FabricationPlant.hxx.
|
inline |
Return the Pointer to the Parc.
Définition à la ligne 72 du fichier FabricationPlant.hxx.
EvolutionData FabricationPlant::GetReactorEvolutionDB | ( | int | ReactorId | ) |
Return the EvolutionData of Reactor ReactorId.
Définition à la ligne 447 du fichier FabricationPlant.cxx.
|
inline |
Return the List of the Futur Fuel IV.
Définition à la ligne 80 du fichier FabricationPlant.hxx.
IsotopicVector FabricationPlant::GetStockToRecycle | ( | ) |
|
inline |
Return the Pointer to the Storage.
Définition à la ligne 74 du fichier FabricationPlant.hxx.
void FabricationPlant::RecycleStock | ( | double | fraction | ) |
Take a franction of the current stock.
Définition à la ligne 495 du fichier FabricationPlant.cxx.
|
protected |
Make the Separation
< return IV[0] -> To Stock / IV[1] -> To Waste
Définition à la ligne 514 du fichier FabricationPlant.cxx.
|
inline |
Set the chronological priority (true for chronological, false unstead)
Définition à la ligne 62 du fichier FabricationPlant.hxx.
Set the pointer to the Decay DataBase.
Définition à la ligne 60 du fichier FabricationPlant.hxx.
|
inline |
Set The FB Parc'Id.
Définition à la ligne 56 du fichier FabricationPlant.hxx.
|
inline |
Set the Pointer to the Log.
Définition à la ligne 58 du fichier FabricationPlant.hxx.
|
inline |
Set the Pointer to the Parc.
Définition à la ligne 57 du fichier FabricationPlant.hxx.
|
inline |
Set the Pointer to the Storage.
Définition à la ligne 59 du fichier FabricationPlant.hxx.
void FabricationPlant::SetSubstitutionFuel | ( | EvolutionData | fuel | ) |
Définition à la ligne 368 du fichier FabricationPlant.cxx.
|
inline |
Définition à la ligne 55 du fichier FabricationPlant.hxx.
void FabricationPlant::TakeReactorFuel | ( | int | Id | ) |
|
protected |
Set the Chronological Priotity (for the Stock Management) or the anti-chronological one.
Définition à la ligne 135 du fichier FabricationPlant.hxx.
Pointer to the Decay DataBase.
Définition à la ligne 126 du fichier FabricationPlant.hxx.
|
protected |
Fabrication Duration Time.
Définition à la ligne 134 du fichier FabricationPlant.hxx.
|
protected |
The Temporary Storage IsotopicVector.
Définition à la ligne 132 du fichier FabricationPlant.hxx.
|
protected |
Identity of the FabricationPlant inside the Parc.
Définition à la ligne 112 du fichier FabricationPlant.hxx.
|
protected |
Internal Clock.
Définition à la ligne 113 du fichier FabricationPlant.hxx.
|
protected |
Pointer to the Log.
Définition à la ligne 118 du fichier FabricationPlant.hxx.
|
protected |
Pointer to the Parc.
Définition à la ligne 117 du fichier FabricationPlant.hxx.
|
protected |
List of the Futur EvolutionData use in the reactor.
Définition à la ligne 123 du fichier FabricationPlant.hxx.
|
protected |
List of the Futur Fuel Isotopic Vector used in the reactor.
Définition à la ligne 124 du fichier FabricationPlant.hxx.
|
protected |
Next Time Step to Build a New Fuel.
Définition à la ligne 121 du fichier FabricationPlant.hxx.
|
protected |
Pointer to the Storage using for recycling unused Product.
Définition à la ligne 130 du fichier FabricationPlant.hxx.
|
protected |
Pointer to the Storage to recycle.
Définition à la ligne 129 du fichier FabricationPlant.hxx.
|
protected |
Définition à la ligne 138 du fichier FabricationPlant.hxx.
|
protected |
Définition à la ligne 137 du fichier FabricationPlant.hxx.
|
protected |
Définition à la ligne 114 du fichier FabricationPlant.hxx.
|
protected |
The Valorisable Table.
Définition à la ligne 120 du fichier FabricationPlant.hxx.