1 #ifndef _INLINEREPROCESSINGEVOLUTIONCONTROL_HXX_
2 #define _INLINEREPROCESSINGEVOLUTIONCONTROL_HXX_
38 StoredXSforZAI(
int Z,
int A,
int I,
double XSfission=0,
double XSng=0,
double XSn2n=0,
double XSn3n=0);
46 int N(){
return fA-fZ;}
48 double XSng() {
return fXSng;}
89 void ControlAtEachMCNPStep();
90 void ControlAtEachRKStep();
91 void ControlAfterEndOfRKIntegration();
103 void AddInLineReprocessingTimeSchema(
double BurnUp,
double CoolingTime,
double FabricationTime,
double InitialHNMass);
112 void AddInLineReprocessingTimeSchema(
double IrradiationTime,
double CoolingTime,
double FabricationTime);
125 void SetReprocessedCells(vector<Cell*> ReprocessedCells);
148 void StoreBOC_XS(
int CellNumber);
149 void Reprocess(
int CellNumber);
150 double CalculKHIfromSigma(
int CellNumber,
double AtomsKept,
double AtomsToAdd);
151 double ExtrapolateKHI(
int CellNumber);
179 double CalculateActualTimeLimit(vector<double> kVector,vector<double> tVector,
int N_rechargement,
double k_threshold);
double fCoolingTime
time of cooling before reprocessing
Definition: InLineReprocessingEvolutionControl.hxx:158
void UnsetFissileFertileProportionExtrapolated()
Forbid the FissileFertileProportion to be modified at each cycle to achieve the goal for burn-up...
Definition: InLineReprocessingEvolutionControl.hxx:132
double fIrradiationPower
power during the irradiation
Definition: InLineReprocessingEvolutionControl.hxx:157
double ReprocessingCoolingTime()
Return the cooling time before reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:136
double ReprocessingIrradiationTime()
Return the irradiation time.
Definition: InLineReprocessingEvolutionControl.hxx:135
void SetReprocessingFissilFertilProportion(vector< double > FissileFertileProportion)
Set the proportion between fissile and fertile material in fresh material used during reprocessing...
Definition: InLineReprocessingEvolutionControl.hxx:126
vector< Material * > fFreshFissiles
the materials used as fissiles materials during reprocessing
Definition: InLineReprocessingEvolutionControl.hxx:167
vector< double > fEfficience
efficience for each kept Z, so with 1 all the Z's atom are kept
Definition: InLineReprocessingEvolutionControl.hxx:175
int I()
returns the Isomeric state (Ground State, ith excited)
Definition: InLineReprocessingEvolutionControl.hxx:45
vector< Cell * > ReprocessingReprocessedCells()
Return the cell where the reprocessing will take place.
Definition: InLineReprocessingEvolutionControl.hxx:141
vector< double > ReprocessingFissileFertileProportion()
Return the proportion between fissile and fertile material in fresh material used during reprocessing...
Definition: InLineReprocessingEvolutionControl.hxx:140
void SetReprocessingWantedBU(double WantedBU)
Set the goal for the achived Burn-Up (only useful, with multiple reprocessing and no irradiation time...
Definition: InLineReprocessingEvolutionControl.hxx:127
double fOxQuantity
Number of oxygen atoms in the reprocessed material.
Definition: InLineReprocessingEvolutionControl.hxx:161
int fA
number of nucleons (A=0 means natural isotopes)
Definition: InLineReprocessingEvolutionControl.hxx:55
int Z()
returns the number of protons
Definition: InLineReprocessingEvolutionControl.hxx:43
bool fIsFissileFertileProportionExtrapolated
if true the proportion between fissile and fertile in fresh added fuel is modified at each cycle to c...
Definition: InLineReprocessingEvolutionControl.hxx:177
int fZ
number of protons
Definition: InLineReprocessingEvolutionControl.hxx:54
vector< int > fKept_Z
Z from the isotopes which should be kept.
Definition: InLineReprocessingEvolutionControl.hxx:174
double fIrradiationTime
time of core irradiation
Definition: InLineReprocessingEvolutionControl.hxx:156
double fXSfission
Definition: InLineReprocessingEvolutionControl.hxx:57
int fPositionInCycle
Numerical value which say in which part the the cycle we are 1==first step of irradiation; 2==irradia...
Definition: InLineReprocessingEvolutionControl.hxx:165
double XSn3n()
Definition: InLineReprocessingEvolutionControl.hxx:50
InLineReprocessing * Clone()
Correct way to copy a EvolutionControl in case of derivation.
Definition: InLineReprocessingEvolutionControl.hxx:85
StoredXSforZAI is a class for storing some XS and use them later in the cycle.
Definition: InLineReprocessingEvolutionControl.hxx:24
void SetReprocessingKeptZ(vector< int > KeptZ)
Set the Z of the elements you want to keep during reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:121
double fXSn2n
Definition: InLineReprocessingEvolutionControl.hxx:59
void UnsetFissileFertileProportionfromsigma()
Forbid the FissileFertileProportion to be recalculated at each cycle form the cross section...
Definition: InLineReprocessingEvolutionControl.hxx:130
double XSfission()
Definition: InLineReprocessingEvolutionControl.hxx:47
vector< StoredXSforZAI * > fBOC_XS
A personnal way to store the XS of utile isotope for future utilisation.
Definition: InLineReprocessingEvolutionControl.hxx:166
void SetReprocessingCoolingTime(double Time)
Set the cooling time before reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:119
InLineReprocessing is an EvolutionControl class for reprocessing without moving material.
Definition: InLineReprocessingEvolutionControl.hxx:74
double ReprocessingFabricationTime()
Return the time between reprocessing and the beginning of next irradiation.
Definition: InLineReprocessingEvolutionControl.hxx:137
double fkBOC
k at the beginning of the cycle, used when Khi is calculated from Sigma
Definition: InLineReprocessingEvolutionControl.hxx:160
vector< double > fkVector
vector of k value during last/actual irradiation
Definition: InLineReprocessingEvolutionControl.hxx:162
vector< Material * > ReprocessingFreshFertiles()
Return the material used as fertile material during reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:139
int fI
Isomeric state (Ground State, ith excited)
Definition: InLineReprocessingEvolutionControl.hxx:56
vector< double > fFissileFertileProportion
proportion of fissile in fresh fuel added during reprocessing
Definition: InLineReprocessingEvolutionControl.hxx:169
void SetFissileFertileProportionfromsigma()
Allow the FissileFertileProportion to be recalculated at each cycle form the cross section...
Definition: InLineReprocessingEvolutionControl.hxx:129
int N()
returns the number of neutrons
Definition: InLineReprocessingEvolutionControl.hxx:46
double fXSng
Definition: InLineReprocessingEvolutionControl.hxx:58
bool fIsFissileFertileProportionfromsigma
if true the proportion between fissile and fertile in fresh added fuel is calculated from stored XS ...
Definition: InLineReprocessingEvolutionControl.hxx:176
double fwantedBU
the burn-up the utilisator wanted to be achieved
Definition: InLineReprocessingEvolutionControl.hxx:170
double OxQuantity()
Return the number of oxygen atoms in the reprocessed material.
Definition: InLineReprocessingEvolutionControl.hxx:144
void SetOxQuantity(double OxQuantity)
Set the number of oxygen atoms in the reprocessed material (warning must be consistant with the real ...
Definition: InLineReprocessingEvolutionControl.hxx:128
void SetReprocessingFabricationTime(double Time)
Set the time between reprocessing and the beginning of next irradiation.
Definition: InLineReprocessingEvolutionControl.hxx:120
double XSng()
Definition: InLineReprocessingEvolutionControl.hxx:48
void SetReprocessingFreshFissiles(vector< Material * > FreshFissiles)
Set the material used as fissile material during reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:123
double XSn2n()
Definition: InLineReprocessingEvolutionControl.hxx:49
void SetFissileFertileProportionExtrapolated()
Allow the FissileFertileProportion to be modified at each cycle to achieve the goal for burn-up...
Definition: InLineReprocessingEvolutionControl.hxx:131
void SetReprocessingEfficience(vector< double > Efficience)
Set the percentage of the kept isotopes that stay in the fuel during reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:122
vector< double > ftVector
vector of time step when k was added to the fkVector
Definition: InLineReprocessingEvolutionControl.hxx:163
vector< double > ReprocessingEfficience()
Return the percentage of the kept isotopes that stay in the fuel during reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:143
~InLineReprocessing()
Definition: InLineReprocessingEvolutionControl.hxx:86
void SetReprocessingFreshFertiles(vector< Material * > FreshFertiles)
Set the material used as fertile material during reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:124
vector< int > ReprocessingKeptZ()
Return the Z of the elements kept during reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:142
double fXSn3n
Definition: InLineReprocessingEvolutionControl.hxx:60
double fdoneBU
real Burn-Up that has been achieved during last irradiation
Definition: InLineReprocessingEvolutionControl.hxx:171
vector< Material * > ReprocessingFreshFissiles()
Return the material used as fissile material during reprocessing.
Definition: InLineReprocessingEvolutionControl.hxx:138
double fFabricationTime
time of wainting after reprocessing
Definition: InLineReprocessingEvolutionControl.hxx:159
double fBeginningTimeOfLastPhase
time when the last phase of the cycle began
Definition: InLineReprocessingEvolutionControl.hxx:164
void SetReprocessingIrradiationTime(double Time)
Set the irradiation time.
Definition: InLineReprocessingEvolutionControl.hxx:118
int A()
returns the number of nucleons
Definition: InLineReprocessingEvolutionControl.hxx:44
vector< Material * > fFreshFertiles
the materials used as fertiles materials during reprocessing
Definition: InLineReprocessingEvolutionControl.hxx:168
vector< Cell * > fReprocessedCells
The cells in which the reprocessing will take place.
Definition: InLineReprocessingEvolutionControl.hxx:173
EvolutionControl allows interactions with the evolution.
Definition: EvolutionControl.hxx:35