19#ifndef _INLINEREPROCESSING_HXX_
20#define _INLINEREPROCESSING_HXX_
62 StoredXSforZAI(
int aZ,
int aA,
int aI,
double aXSfission = 0,
double aXSng = 0,
double aXSn2n = 0,
double aXSn3n = 0);
302 double CalculateActualTimeLimit(vector < double > kVector, vector < double > tVector,
int N_rechargement,
double k_threshold);
Header file for Cell class.
Header file for EvolutionControl class.
Header file for Material class.
A Cell is composed from a Shape and a Material.
Definition Cell.hxx:84
EvolutionControl allows interactions with the evolution.
Definition EvolutionControl.hxx:60
InLineReprocessing is an EvolutionControl class for reprocessing without moving material.
Definition InLineReprocessing.hxx:123
vector< Cell * > ReprocessingReprocessedCells()
Definition InLineReprocessing.hxx:251
double ReprocessingCoolingTime()
Definition InLineReprocessing.hxx:231
double ReprocessingIrradiationTime()
Definition InLineReprocessing.hxx:227
vector< double > ReprocessingEfficience()
Definition InLineReprocessing.hxx:259
void AddInLineReprocessingTimeSchema(double BurnUp, double CoolingTime, double FabricationTime, double InitialHNMass)
Definition InLineReprocessing.cxx:133
double fBeginningTimeOfLastPhase
time when the last phase of the cycle began
Definition InLineReprocessing.hxx:287
void Reprocess(int CellNumber)
Reprocess the fuel : suppress the unwanted isotopes and add somme fresh fertile and some fresh fissil...
Definition InLineReprocessing.cxx:449
void ControlAfterEachMCRun() override
control at each MC step (just after a MC run)
Definition InLineReprocessing.cxx:167
InLineReprocessing * Clone() override
Definition InLineReprocessing.hxx:133
vector< double > ftVector
vector of time step when k was added to the fkVector
Definition InLineReprocessing.hxx:286
void UnsetFissileFertileProportionExtrapolated()
Definition InLineReprocessing.hxx:221
double CalculKHIfromSigma(int CellNumber, double AtomsKept, double AtomsToAdd)
Calculate KHI (the proportion between fertile and fissile in fresh fuel added) using the cross sectio...
Definition InLineReprocessing.cxx:657
double ReprocessingFabricationTime()
Definition InLineReprocessing.hxx:235
vector< Material * > fFreshFissiles
the materials used as fissiles materials during reprocessing
Definition InLineReprocessing.hxx:290
void SetReprocessingWantedBU(double WantedBU)
Definition InLineReprocessing.hxx:201
void StoreBOC_XS(int CellNumber)
Store the XS of kept isotopes to be used later.
Definition InLineReprocessing.cxx:791
void ControlBeforeEachSubStep() override
control at each CRAM/RK step (just before a CRAM/RK sub step)
Definition InLineReprocessing.cxx:201
void SetReprocessedCells(vector< Cell * > ReprocessedCells)
Set the cell where the reprocessing will take place.
Definition InLineReprocessing.cxx:190
void ControlAfterEachEvolutionStep() override
control just before a new MC run
Definition InLineReprocessing.cxx:321
vector< StoredXSforZAI * > fBOC_XS
A personnal way to store the XS of utile isotope for future utilisation.
Definition InLineReprocessing.hxx:289
double fCoolingTime
time of cooling before reprocessing
Definition InLineReprocessing.hxx:280
vector< int > ReprocessingKeptZ()
Definition InLineReprocessing.hxx:255
vector< Material * > fFreshFertiles
the materials used as fertiles materials during reprocessing
Definition InLineReprocessing.hxx:291
double fIrradiationPower
power during the irradiation
Definition InLineReprocessing.hxx:279
void SetReprocessingFabricationTime(double Time)
Definition InLineReprocessing.hxx:176
void SetOxQuantity(double aOxQuantity)
Definition InLineReprocessing.hxx:205
vector< int > fKept_Z
Z from the isotopes which should be kept.
Definition InLineReprocessing.hxx:297
void SetReprocessingFreshFissiles(vector< Material * > FreshFissiles)
Definition InLineReprocessing.hxx:188
bool fIsFissileFertileProportionExtrapolated
if true the proportion between fissile and fertile in fresh added fuel is modified at each cycle to c...
Definition InLineReprocessing.hxx:300
void UnsetFissileFertileProportionfromsigma()
Definition InLineReprocessing.hxx:213
double fIrradiationTime
time of core irradiation
Definition InLineReprocessing.hxx:278
InLineReprocessing()
Definition InLineReprocessing.cxx:42
double fkBOC
k at the beginning of the cycle, used when Khi is calculated from Sigma
Definition InLineReprocessing.hxx:283
void SetReprocessingFreshFertiles(vector< Material * > FreshFertiles)
Definition InLineReprocessing.hxx:192
void SetFissileFertileProportionfromsigma()
Definition InLineReprocessing.hxx:209
int fPositionInCycle
Numerical value which say in which part the the cycle we are 1==first step of irradiation; 2==irradia...
Definition InLineReprocessing.hxx:288
vector< double > ReprocessingFissileFertileProportion()
Definition InLineReprocessing.hxx:247
double fFabricationTime
time of wainting after reprocessing
Definition InLineReprocessing.hxx:281
double CalculateActualTimeLimit(vector< double > kVector, vector< double > tVector, int N_rechargement, double k_threshold)
Allow calculation of the time when criticality will be to low using acutal data for k and t.
Definition InLineReprocessing.cxx:921
double fwantedBU
the burn-up the utilisator wanted to be achieved
Definition InLineReprocessing.hxx:293
vector< double > fEfficience
efficience for each kept Z, so with 1 all the Z's atom are kept
Definition InLineReprocessing.hxx:298
vector< double > fkVector
vector of k value during last/actual irradiation
Definition InLineReprocessing.hxx:285
void SetReprocessingIrradiationTime(double Time)
Definition InLineReprocessing.hxx:168
bool fIsFissileFertileProportionfromsigma
if true the proportion between fissile and fertile in fresh added fuel is calculated from stored XS
Definition InLineReprocessing.hxx:299
double OxQuantity()
Definition InLineReprocessing.hxx:263
vector< Material * > ReprocessingFreshFissiles()
Definition InLineReprocessing.hxx:239
double fdoneBU
real Burn-Up that has been achieved during last irradiation
Definition InLineReprocessing.hxx:294
vector< Material * > ReprocessingFreshFertiles()
Definition InLineReprocessing.hxx:243
void SetReprocessingCoolingTime(double Time)
Definition InLineReprocessing.hxx:172
double fOxQuantity
Number of oxygen atoms in the reprocessed material.
Definition InLineReprocessing.hxx:284
void SetFissileFertileProportionExtrapolated()
Definition InLineReprocessing.hxx:217
vector< double > fFissileFertileProportion
proportion of fissile in fresh fuel added during reprocessing
Definition InLineReprocessing.hxx:292
double ExtrapolateKHI(int CellNumber)
Calculate KHI (the proportion between fertile and fissile in fresh fuel added) by modifying KHI form ...
Definition InLineReprocessing.cxx:619
void SetReprocessingFissilFertilProportion(vector< double > FissileFertileProportion)
Definition InLineReprocessing.hxx:197
void SetReprocessingEfficience(vector< double > Efficience)
Definition InLineReprocessing.hxx:184
vector< Cell * > fReprocessedCells
The cells in which the reprocessing will take place.
Definition InLineReprocessing.hxx:296
~InLineReprocessing() override
Definition InLineReprocessing.cxx:123
void SetReprocessingKeptZ(vector< int > KeptZ)
Definition InLineReprocessing.hxx:180
A Material constituing a Cell.
Definition Material.hxx:83
StoredXSforZAI is a class for storing some XS and use them later in the cycle.
Definition InLineReprocessing.hxx:49
int I()
Definition InLineReprocessing.hxx:75
double fXSfission
Definition InLineReprocessing.hxx:105
double XSn2n()
Definition InLineReprocessing.hxx:91
int Z()
Definition InLineReprocessing.hxx:67
~StoredXSforZAI()
Destructor.
int fZ
number of protons
Definition InLineReprocessing.hxx:102
double fXSn2n
Definition InLineReprocessing.hxx:107
int A()
Definition InLineReprocessing.hxx:71
double fXSng
Definition InLineReprocessing.hxx:106
int fI
Isomeric state (Ground State, ith excited)
Definition InLineReprocessing.hxx:104
int fA
number of nucleons (A=0 means natural isotopes)
Definition InLineReprocessing.hxx:103
double XSfission()
Definition InLineReprocessing.hxx:83
double fXSn3n
Definition InLineReprocessing.hxx:108
int N()
Definition InLineReprocessing.hxx:79
StoredXSforZAI()
Default constructor.
double XSn3n()
Definition InLineReprocessing.hxx:95
double XSng()
Definition InLineReprocessing.hxx:87
the namespace of the Standard C++