CLASS  5.1
Fuel Cycle Simulator
EquivalenceModel Class Reference

Determines how to build a fresh fuel. More...

#include <EquivalenceModel.hxx>

Inheritance diagram for EquivalenceModel:
CLASSObject EQ_OneParameter EQM_ADS_MLP_FixedRatioPuAM EQM_ADS_MLP_RatioPuAM EQM_FBR_BakerRoss_MOX EQM_FBR_MLP_Keff EQM_MLP_Kinf EQM_MLP_PWR_MOxEUS EQM_PWR_FixedContent EQM_PWR_MLP_MOX EQM_PWR_MLP_MOX_AM EQM_PWR_POL_UO2

Public Member Functions

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)
 
Constructor/Desctructor
 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...
 

Protected Member Functions

void SetLambdaToErrorCode (vector< double > &lambda)
 

Protected Attributes

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...
 
Others
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

Determines how to build a fresh fuel.

Define an EquivalenceModel. The aim of these class is to gather all the commum properties of all Equivalence Model.

Warning
Never instantiate EquivalenceModel in your CLASS input but it's derivated class
See also
EQM_FBR_BakerRoss_MOX.
EQM_PWR_MLP_MOX
EQM_FBR_MLP_Keff.hxx
EQM_PWR_MLP_MOX_Am
EQM_FBR_MLP_Keff_BOUND
EQM_PWR_POL_UO2
EQM_MLP_Kinf.hxx
EQM_PWR_QUAD_MOX
EQM_PWR_LIN_MOX
Author
BLG
BaM
FaC
Version
3.0

Constructor & Destructor Documentation

◆ EquivalenceModel() [1/2]

EquivalenceModel::EquivalenceModel ( )

Default constructor with path.

◆ EquivalenceModel() [2/2]

EquivalenceModel::EquivalenceModel ( CLASSLogger log)

Logger constructor with path.

◆ ~EquivalenceModel()

EquivalenceModel::~EquivalenceModel ( )
virtual

Destructor.

Member Function Documentation

◆ BuildFuel()

map< string, vector< double > > EquivalenceModel::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 
)
virtual

Reimplemented in EQ_OneParameter.

◆ BurnupToSecond()

double EquivalenceModel::BurnupToSecond ( double  BurnUp)
inline

◆ ConvertMassToLambdaVector()

void EquivalenceModel::ConvertMassToLambdaVector ( string  MaterialDenomination,
vector< double > &  lambda,
double  MaterialMassNeeded,
vector< IsotopicVector Stocks 
)

◆ GetAllStreamList()

map< string, IsotopicVector> EquivalenceModel::GetAllStreamList ( )
inline

◆ isIVInDomain()

bool EquivalenceModel::isIVInDomain ( IsotopicVector  IV)

◆ SecondToBurnup()

double EquivalenceModel::SecondToBurnup ( double  Second)
inline

◆ SetLambdaToErrorCode()

void EquivalenceModel::SetLambdaToErrorCode ( vector< double > &  lambda)
protected

◆ StocksTotalMassCalculation()

void EquivalenceModel::StocksTotalMassCalculation ( map< string, vector< IsotopicVector > > const &  Stocks)

Member Data Documentation

◆ fKeyword

map<string, EQM_MthPtr> EquivalenceModel::fKeyword
protected

◆ fLambdaMax

map<string , double > EquivalenceModel::fLambdaMax
protected

Total lambda of available stocks.

◆ freaded

bool EquivalenceModel::freaded
protected

◆ fSpecificPower

double EquivalenceModel::fSpecificPower
protected

The specific power in W/gHM (HM: heavy Metal)

◆ fStreamList

map< string, IsotopicVector> EquivalenceModel::fStreamList
protected

contains all lists of zai needed to build a fuel (example : 2 -> fissileList+fertileList) each list is identified by a keyword (example : -> "Fissile" & "Fertile")

◆ fTotalMassInStocks

map<string , double > EquivalenceModel::fTotalMassInStocks
protected

Total mass in each vector of stock.

◆ fZAILimits

map< ZAI, pair<double, double> > EquivalenceModel::fZAILimits
protected

Fresh fuel range : map<ZAI<min edge ,max edge >>


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