MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
BlanketReprocessing.hxx
Go to the documentation of this file.
1 #ifndef _BLANKETPROCESSING_HXX_
2 #define _BLANKETPROCESSING_HXX_
3 
9 #include <fstream>
10 #include <iostream>
11 #include <sstream>
12 #include <vector>
13 #include <string>
14 #include "MureHeaders.hxx"
15 using namespace std;
16 
18 
56 {
57  public:
60  virtual FuelReprocessing* Clone(){return new BlanketReprocessing(*this);}
61 
63 
69  void SetBlanketCell(Cell *blanket, double CoolingTime);
71 
81  void SetBlanketFreshFuel(Material *BlanketFreshFuel, Material *EquiliBriumMat=0, double EquilibriumTime=-1);
82 
84 
91  void SetBlanketFuelFabricationTime(double Time=2*365.25*24*3600){fBlkFuelFabricationTime=Time;}
92  double GetBlanketFuelFabricationTime(){return fBlkFuelFabricationTime;}
93 
95 
104  void SetBlanketRefuellingTime(vector<double> Time){fBlkRefuellingTime=Time;}
105 
106  int GetBlanketReprocessingIndex(){return fBlkRefuellingIndex;}
107  double GetCurentBlanketRefuellingTime();
108 
109  void DepletedFuelExtractor();
110  void BlanketDepletedFuelExtractor();
111 
112  void ReprocessInterimStorage();
113  void BlanketReprocessInterimStorage();
114 
115  void AddFreshFuel();
116  void AddFreshBlanketFuel();
117 
119 
142  void SetExtractionFractionFromBlkRP(int N, int* Zarray, double *Efficiency);
144 
156  void SetBlanketFuelForm(int Z, int A, double MolarProp);
157 
159 
162  void BuildStorages();
163 
164  void PrintStorageMass();
165  void InitIndexes();
166  void PrintIndexes();
167 
168 
169 
170 private:
171  vector<double> fBlkRefuellingTime;
173 
174  vector<int> fZtoExtractFromBlkRP;
176 
179 
182 
186 
188 
192 
196 
198 };
199 
200 #endif
A Cell is a MCNP cell.
Definition: Cell.hxx:48
vector< int > fZtoExtractFromBlkRP
vector of Z of nuclei to extract from blanket reprocessed Storage
Definition: BlanketReprocessing.hxx:174
ZAI * fBlkFuelFormZAI
The ZAI of the &quot;form&quot; of the fuel (O for oxide, C for Carbide, ...)
Definition: BlanketReprocessing.hxx:189
TemporalStorage * fFissileFertileRS
Fissile &amp; Fertile blanket Storage vector.
Definition: BlanketReprocessing.hxx:184
Cell * fBlkCell
The blanket cell.
Definition: BlanketReprocessing.hxx:178
void SetBlanketFuelFabricationTime(double Time=2 *365.25 *24 *3600)
Set the blanket fuel fabrication time.
Definition: BlanketReprocessing.hxx:91
vector< double > fBlkRefuellingTime
vector of blanket refuelling time
Definition: BlanketReprocessing.hxx:171
vector< double > fZEfficiencyExtractionFromBlkRP
vector of extraction efficiency: 1=100%=this Z is completly extract, 0=0%
Definition: BlanketReprocessing.hxx:175
double fTmpCoolingTime
This the cooling time of fBlkInterimStorage.
Definition: BlanketReprocessing.hxx:191
double fBlkFuelFormMolProp
Molar proportion of the fBlkFuelFormZAI (2 for O2, 1 for C, ...)
Definition: BlanketReprocessing.hxx:190
FuelReprocessing allows Fuel reprocessing during Evolution.
Definition: FuelReprocessing.hxx:89
double fLastMassExtractedfromBlk
Last mass extracted from blanket (used only for print)
Definition: BlanketReprocessing.hxx:193
void SetBlanketRefuellingTime(vector< double > Time)
Blanket Refuelling Time.
Definition: BlanketReprocessing.hxx:104
double GetBlanketFuelFabricationTime()
return blanket refabrication time in second!
Definition: BlanketReprocessing.hxx:92
File including all headers.
int fBlkRefuellingIndex
The current reprocessing index in the fBlkRefuellingTime vector.
Definition: BlanketReprocessing.hxx:172
double fLastMassExtractedfromBlkRP
Last mass extracted from Blanket Reprocessed Storage (used only for print)
Definition: BlanketReprocessing.hxx:194
double fBlkFuelFabricationTime
time to wait before doing something with blanket MARS
Definition: BlanketReprocessing.hxx:187
virtual FuelReprocessing * Clone()
Correct way to copy a BlanketReprocessing in case of derivation.
Definition: BlanketReprocessing.hxx:60
int GetBlanketReprocessingIndex()
The current index in the fBlkRefuellingTime vector.
Definition: BlanketReprocessing.hxx:106
A Material constituing a Cell.
Definition: Material.hxx:53
TemporalStorage * fBlkInterimStorage
Interim blanket Storage vector.
Definition: BlanketReprocessing.hxx:183
A ZAI defined a (Z,A,Isomere) for a Nucleus.
Definition: ZAI.hxx:62
double fInitExtractedAtomsBlk
The initial number of atoms of the first extracted blanket.
Definition: BlanketReprocessing.hxx:197
double fBlkEquilibriumTime
Time from which fBlkEquilibriumFreshFuel is used instead of fBlkFreshFuel.
Definition: BlanketReprocessing.hxx:181
TemporalStorage * fMARS
Minor Act. Reprocessed Storage vector.
Definition: BlanketReprocessing.hxx:185
Material * fBlkEquilibriumFreshFuel
Fresh fuel material used when T&gt;fBlkEquilibriumTime.
Definition: BlanketReprocessing.hxx:180
Material * fBlkFreshFuel
the fresh fuel to add to the blanket
Definition: BlanketReprocessing.hxx:177
TemporalStorage are outcore containers function of a Retreatment time.
Definition: Storage.hxx:92
double fLastMassPutinWasteBlk
Last mass put in Waste Storage (used only for print)
Definition: BlanketReprocessing.hxx:195
BlanketReprocessing allows Fuel reprocessing in Core and in Blanket during Evolution.
Definition: BlanketReprocessing.hxx:55

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014