1 #ifndef _FabricationPlant_ 2 #define _FabricationPlant_ 102 #ifndef __ROOTCLING__ 105 {fSubstitutionMaterialFromIV[keyword] =
true; fSubstitutionIV[keyword]= SubstitutionIV;}
117 #ifndef __ROOTCLING__ 119 { fReactorNextStep.insert( pair<int,cSecond> (reactorid, (
cSecond)creationtime-GetCycleTime() ) ); }
124 using CLASSFacility::SetName;
128 #ifndef __ROOTCLING__ 130 void AddStorage(
string keyword,
Storage* Stock,
double MassFractionMin = 0,
double MassFractionMax = 1.,
int Priority = 0) ;
131 void AddInfiniteStorage(
string keyword,
double MassFractionMin = 0,
double MassFractionMax = 1.,
int Priority = 0);
132 void AddStorage(
string keyword,
Storage* Stock,
double MassFraction = 0.,
int Priority = 0) ;
133 void AddInfiniteStorage(
string keyword,
double MassFraction = 0.,
int Priority = 0);
134 void AddFuelBuffer(
string keyword);
135 void AddFuelBuffer(
string keyword,
Storage* Stock);
149 #ifndef __ROOTCLING__ 152 vector<Storage*>
GetStorage(
string keyword) {
return fStorage[keyword]; }
161 {
return fReactorFuturIV;}
181 void DumpStock(map <
string , vector<double> > LambdaArray);
182 void TakeReactorFuel(
int ReactorId) ;
183 void UpdateInsideIV();
185 IsotopicVector BuildFuelFromEqModel(map <
string , vector<double> > LambdaArray,
double ReactorMass);
186 void BuildArray(
int ReactorId,
cSecond ReactorLoadingTime);
188 void BuildFuelForReactor(
int ReactorId,
cSecond t);
192 void SortFiFo(vector<IsotopicVector> &IVArray, vector<cSecond> &TimeArray, vector< pair<int,int> > &AdressArray);
193 void SortLiFo(vector<IsotopicVector> &IVArray, vector<cSecond> &TimeArray, vector< pair<int,int> > &AdressArray);
194 void SortMix(vector<IsotopicVector> &IVArray, vector<cSecond> &TimeArray, vector< pair<int,int> > &AdressArray);
195 void SortRandom(vector<IsotopicVector> &IVArray, vector<cSecond> &TimeArray, vector< pair<int,int> > &AdressArray);
213 #ifndef __ROOTCLING__ 226 #ifndef __ROOTCLING__ 227 void FabricationPlantEvolution(
cSecond t);
Defines a Storage object.
Definition: Storage.hxx:38
map< string, vector< pair< int, int > > > fStreamArrayAdress
Definition: FabricationPlant.hxx:241
map< string, IsotopicVector > fStreamList
Map that contains lists of stream according to the EqModel with corresponding isotopes list...
Definition: FabricationPlant.hxx:230
map< string, bool > fStreamListFPIsBuffer
Map that contains lists of stream according to the EqModel saying if fuel buffer. ...
Definition: FabricationPlant.hxx:234
Header file for EvolutionData class.
map< string, double > GetStreamListFPMassFractionMin()
Get the map of allowed min fractions.
Definition: FabricationPlant.hxx:165
map< string, double > GetStreamListFPMassFractionMax()
Get the map of allowed max fractions.
Definition: FabricationPlant.hxx:164
map< int, string > fStreamListFPPriority
Map that contains lists of stream according to the EqModel with priority (1 = first, 2 = second, etc...)
Definition: FabricationPlant.hxx:233
void SetFiFo(bool bval=true)
Set the chronological priority (true for chronological, false instead).Equivalent to SetStorageManage...
Definition: FabricationPlant.hxx:107
Allows to store & operate on radioactive sample.
Definition: IsotopicVector.hxx:37
bool fIsReusable
Sets a storage used to storing unused material.
Definition: FabricationPlant.hxx:252
map< int, EvolutionData > fReactorFuturDB
List of the futur EvolutionData use in the reactor.
Definition: FabricationPlant.hxx:214
EvolutionData fSubstitutionEvolutionData
EvolutionData of the subtitution fuel.
Definition: FabricationPlant.hxx:249
bool fIsSeparationManagement
Separation managment.
Definition: FabricationPlant.hxx:219
Definition: CLASSBackEndDict.cxx:37
void SetStorageManagement(StorageManagement SM)
The storage management : either kpFiFo, kpLiFo , kpMix or kpRand.
Definition: FabricationPlant.hxx:108
Header file for ZAI classes.
StorageManagement
CLASS object to build the fresh fuel (do chemical separation) & store it until core loading...
Definition: FabricationPlant.hxx:62
Definition: FabricationPlant.hxx:68
map< string, vector< IsotopicVector > > fStreamArray
The vector of isotopicVector of each material and each stock.
Definition: FabricationPlant.hxx:239
double fImpuritiesTolerance
Tolerance for impurities that are not considered in the ANN.
Definition: FabricationPlant.hxx:223
bool fSubstitutionFuel
True if a substitution fuel as been set.
Definition: FabricationPlant.hxx:221
vector< Storage * > GetStorage(string keyword)
Return the Pointer to Storage associated to a StreamList.
Definition: FabricationPlant.hxx:152
Storage * fReUsable
Pointer to the Storage used to storing unused material.
Definition: FabricationPlant.hxx:251
map< string, vector< Storage * > > fStorage
Pointer to the Storages defined for each list.
Definition: FabricationPlant.hxx:238
Definition: FabricationPlant.hxx:62
long long int cSecond
Definition: FabricationPlant.hxx:24
map< string, vector< cSecond > > fStreamArrayTime
Time when a IsotopicVector arrives in its storage.
Definition: FabricationPlant.hxx:240
Stores fuel inventory evolution , mean cross sections evolution, flux evolution, power ...
Definition: EvolutionData.hxx:54
map< string, double > fStreamListFPMassFractionMax
Map that contains lists of stream according to the EqModel with mass maximum fraction.
Definition: FabricationPlant.hxx:231
map< string, double > fStreamListFPMassFractionMin
Map that contains lists of stream according to the EqModel with mass minimum fraction.
Definition: FabricationPlant.hxx:232
StorageManagement GetStorageManagement()
The storage management : either kpFiFo, kpLiFo , kpMix or kpRand.
Definition: FabricationPlant.hxx:156
map< int, IsotopicVector > GetReactorFuturIncome() const
Return the list of the futur fuel IV.
Definition: FabricationPlant.hxx:160
void SetImpuritiesTolerance(double val)
Definition: FabricationPlant.hxx:115
bool fFuelCanBeBuilt
Default fuel fabrication process has failed.
Definition: FabricationPlant.hxx:253
void SetReUsableStorage(Storage *store)
Set the Storage where all the separated matetial not used in the fabrication process will be sent...
Definition: FabricationPlant.hxx:121
DecayDataBank * fDecayDataBase
Pointer to the DecayDataBank.
Definition: FabricationPlant.hxx:254
void SetDecayDataBank(DecayDataBank *decayDB)
Definition: FabricationPlant.hxx:103
Header file for CLASSLogger class.
void AddReactor(int reactorid, double creationtime)
Add a new reactor to be filled with the fresh fuel build by the FabricationPlant. ...
Definition: FabricationPlant.hxx:118
map< string, bool > fInfiniteMaterialFromList
True = an infinite stock of this material is created according to the list defined in the EqM...
Definition: FabricationPlant.hxx:245
StorageManagement fStorageManagement
The storage management : either kpFiFo, kpLiFo , kpMix or kpRand.
Definition: FabricationPlant.hxx:218
Header file for reactor classes.
long long int cSecond
Definition: CLASSConstante.hxx:10
map< string, bool > fErrorOnLambda
True = lambdas haven't been well calculated for this material (not enough material in stock...
Definition: FabricationPlant.hxx:247
map< int, cSecond > fReactorNextStep
Next time step to build a new fuel.
Definition: FabricationPlant.hxx:211
Definition: FabricationPlant.hxx:62
Header file for IsotopicVector class.
void SetSubstitutionMaterialFromIV(string keyword, IsotopicVector SubstitutionIV)
Set the Decay DataBank.
Definition: FabricationPlant.hxx:104
Header file for CLASS classes.
Describes outcore radioactive decays.
Definition: DecayDataBank.hxx:45
void SetSeparationManagement(bool bval=true)
Set the separation managmeent for the fabrication plant.
Definition: FabricationPlant.hxx:113
Object to handle output messages.
Definition: CLASSLogger.hxx:144
IsotopicVector fSeparationLostFraction
The lost fraction table during separation (1- efficiency)
Definition: FabricationPlant.hxx:207
map< cSecond, IsotopicVector > fSeparationStrategy
Definition: FabricationPlant.hxx:209
Defines the common properties of all facilities.
Definition: CLASSFacility.hxx:30
Definition: FabricationPlant.hxx:62
Definition: FabricationPlant.hxx:62
map< string, vector< Storage * > > GetAllStorage()
Return the map containing all the storage vectors (useful in CLASS Reactor to check list consistency)...
Definition: FabricationPlant.hxx:150
map< int, IsotopicVector > fReactorFuturIV
List of the futur fuel IsotopicVector used in the reactor.
Definition: FabricationPlant.hxx:216
Header file for Storage class.
map< string, IsotopicVector > fSubstitutionIV
contains the susbstitution IV defined by the user
Definition: FabricationPlant.hxx:242
map< string, bool > fSubstitutionMaterialFromIV
True = a substitution IV is set for this material in case of failure in fuel building.
Definition: FabricationPlant.hxx:244
double GetImpuritiesTolerance()
Definition: FabricationPlant.hxx:148