CLASS  5.1
Fuel Cycle Simulator
EQM_PWR_POL_UO2 Class Reference

Define an EquivalenceModel based on a polynomial fit. More...

#include <EQM_PWR_POL_UO2.hxx>

Inheritance diagram for EQM_PWR_POL_UO2:
EquivalenceModel CLASSObject

Public Member Functions

map< string, double > GetMolarFraction (map< string, IsotopicVector > IVStream, double BurnUp)
 
Constructor
 EQM_PWR_POL_UO2 (string PathToWeightFile)
 normal constructor More...
 
 EQM_PWR_POL_UO2 (CLASSLogger *log, string PathToWeightFile)
 logger constructor More...
 
- Public Member Functions inherited from EquivalenceModel
map< string, IsotopicVectorGetAllStreamList ()
 
virtual map< string, vector< double > > BuildFuel (double BurnUp, double HMMass, map< string, vector< IsotopicVector > > StreamArray, map< string, double > StreamListMassFractionMin, map< string, double > StreamListMassFractionMax, map< int, string > StreamListPriority, map< string, bool > StreamListIsBuffer)
 
double SecondToBurnup (double Second)
 
double BurnupToSecond (double BurnUp)
 
bool isIVInDomain (IsotopicVector IV)
 
void StocksTotalMassCalculation (map< string, vector< IsotopicVector > > const &Stocks)
 
void ConvertMassToLambdaVector (string MaterialDenomination, vector< double > &lambda, double MaterialMassNeeded, vector< IsotopicVector > Stocks)
 
 EquivalenceModel ()
 Default constructor with path. More...
 
 EquivalenceModel (CLASSLogger *log)
 Logger constructor with path. More...
 
virtual ~EquivalenceModel ()
 Destructor. More...
 
- Public Member Functions inherited from CLASSObject
 CLASSObject ()
 Normal Constructor. More...
 
 CLASSObject (CLASSLogger *log)
 Log Constructor. More...
 
virtual CLASSObjectClone ()
 Correct way to copy a CLASSObject in case of derivation. More...
 
void SetLog (CLASSLogger *log)
 Set the CLASSLogger. More...
 
CLASSLoggerGetLog ()
 Return the Pointer to the Log. More...
 

Additional Inherited Members

- Protected Member Functions inherited from EquivalenceModel
void SetLambdaToErrorCode (vector< double > &lambda)
 
- Protected Attributes inherited from EquivalenceModel
map< string, IsotopicVectorfStreamList
 
double fSpecificPower
 The specific power in W/gHM (HM: heavy Metal) More...
 
map< string, EQM_MthPtrfKeyword
 
bool freaded
 
map< ZAI, pair< double, double > > fZAILimits
 Fresh fuel range : map<ZAI<min edge ,max edge >> More...
 
map< string, double > fTotalMassInStocks
 Total mass in each vector of stock. More...
 
map< string, double > fLambdaMax
 Total lambda of available stocks. More...
 
- Protected Attributes inherited from CLASSObject
CLASSLoggerfLog
 Pointer to the Log. More...
 

Detailed Description

Define an EquivalenceModel based on a polynomial fit.

Defines a EQM_PWR_POL_UO2 It returns the $^{235}U$ enrichment e according to this polynom :

$e = \alpha_{0} + \alpha_{1}\cdot Burnup + \alpha_{2}\cdot Burnup \cdot Burnup $

BU : Maximum achievable burnup

Author
BaM
Version
3.0

Constructor & Destructor Documentation

◆ EQM_PWR_POL_UO2() [1/2]

EQM_PWR_POL_UO2::EQM_PWR_POL_UO2 ( string  PathToWeightFile)

normal constructor

Create a EQM_PWR_POL_UO2

Parameters
PathToWeightFile: Path to the file containing the $\alpha_{i}$ Format : $PARAM$ $\alpha_{0}$ $\alpha_{1}$ $\alpha_{2}$

◆ EQM_PWR_POL_UO2() [2/2]

EQM_PWR_POL_UO2::EQM_PWR_POL_UO2 ( CLASSLogger log,
string  PathToWeightFile 
)

logger constructor

Create a EQM_PWR_POL_UO2

Parameters
log: Use for the log
PathToWeightFile: Path to the file containing the $\alpha_{i}$ Format : $PARAM$ $\alpha_{0}$ $\alpha_{1}$ $\alpha_{2}$

Member Function Documentation

◆ GetMolarFraction()

map< string, double > EQM_PWR_POL_UO2::GetMolarFraction ( map< string, IsotopicVector IVStream,
double  BurnUp 
)

This function IS the equivalence model


The documentation for this class was generated from the following files: