CLASS
5.1
Fuel Cycle Simulator
|
Defines the common properties of all facilities. More...
#include <CLASSFacility.hxx>
Public Member Functions | |
Constructor/Desctructor | |
CLASSFacility (int type=0) | |
Normal Constructor. More... | |
CLASSFacility (CLASSLogger *log, int type=0) | |
Special Constructor. More... | |
CLASSFacility (CLASSLogger *log, cSecond cycletime, int type=0) | |
Special Constructor. More... | |
CLASSFacility (CLASSLogger *log, cSecond creationtime, cSecond lifetime, int type=0) | |
Special Constructor. More... | |
CLASSFacility (CLASSLogger *log, cSecond startingtime, cSecond lifetime, cSecond cycletime, int type=0) | |
Special Constructor. More... | |
Get Function | |
int | GetId () const |
Return the Facility Parc'Is. More... | |
IsotopicVector | GetInsideIV () const |
Return the IV contained in the Facility. More... | |
int | GetFacilityType () const |
Return the Facility Type id. More... | |
cSecond | GetInternalTime () const |
Return Creation Time. More... | |
cSecond | GetCycleTime () const |
Return the cycle time of the Facility. More... | |
cSecond | GetCreationTime () const |
Return the creation time of the Facility. More... | |
cSecond | GetLifeTime () const |
Return the life time of the Facility. More... | |
Scenario * | GetParc () |
return the pointer to the Park More... | |
IsotopicVector | GetCumulativeIVIn () |
return the cumulative sum of all incoming IV More... | |
IsotopicVector | GetCumulativeIVOut () |
return the cumulative sum of all outcoming IV More... | |
Set Function | |
void | SetId (int id) |
Set The Facility Parc'Id. More... | |
void | SetParc (Scenario *parc) |
Set the Pointer to the Parc. More... | |
void | SetFacilityType (int type) |
void | SetInsideIV (IsotopicVector const &isotopicvector) |
Set the IV inside the Facility. More... | |
void | SetCreationTime (cSecond CTtime) |
Set the creation Time. More... | |
void | SetLifeTime (cSecond Ltime) |
Set the life time of the facility. More... | |
void | SetShutDownTime (cSecond SDTime) |
Set the shutdown time of the facility. More... | |
void | SetInCycleTime (cSecond ICtime) |
Set the In cycle time. More... | |
void | SetInternalTime (cSecond INtime) |
Set the Internal Time. More... | |
virtual void | SetCycleTime (cSecond Ctime) |
Set the cycle time (Cycle of the loading Plan) More... | |
Evolution Method | |
virtual void | ApplyZAIThreshold (int z=90) |
Put all nuclei below the threshold in -2 -2 -2 ZAI... More... | |
void | AddCumulativeIVIn (IsotopicVector const &IV) |
Add the Input IsotopicVector in the cumulative IV IN. More... | |
void | AddCumulativeIVOut (IsotopicVector const &IV) |
Add the Input IsotopicVector in the cumulative IV OUT. More... | |
virtual void | Evolution (cSecond t)=0 |
Performs the Evolution to time t. More... | |
virtual void | Dump () |
Write Modification (IV In/Out, filling the TF...) More... | |
![]() | |
CLASSObject () | |
Normal Constructor. More... | |
CLASSObject (CLASSLogger *log) | |
Log Constructor. More... | |
virtual CLASSObject * | Clone () |
Correct way to copy a CLASSObject in case of derivation. More... | |
void | SetLog (CLASSLogger *log) |
Set the CLASSLogger. More... | |
CLASSLogger * | GetLog () |
Return the Pointer to the Log. More... | |
Protected Attributes | |
bool | fIsStarted |
True if Running, False Otherwise. More... | |
bool | fIsShutDown |
True if the facility is stoped, False Otherwise. More... | |
bool | fIsAtEndOfCycle |
True if Reaching the end of a Facility cycle. More... | |
cSecond | fInternalTime |
Internal Clock [s]. More... | |
cSecond | fInCycleTime |
Time spent since the beginning of the last Cycle [s]. More... | |
cSecond | fCycleTime |
Cycle duration Time [s]. More... | |
IsotopicVector | fInsideIV |
All IV in the Facility (fuel for reactor, total for all others...) More... | |
IsotopicVector | fCumulativeIVIn |
All IV in the Facility (fuel for reactor, total for all others...) More... | |
IsotopicVector | fCumulativeIVOut |
All IV in the Facility (fuel for reactor, total for all others...) More... | |
![]() | |
CLASSLogger * | fLog |
Pointer to the Log. More... | |
Defines the common properties of all facilities.
Define a CLASS Facility. The aim of these class is to gather all the commom properties of the facilities.
CLASSFacility::CLASSFacility | ( | int | type = 0 | ) |
Normal Constructor.
Make a new Facility
type | identification type of the facility :
|
CLASSFacility::CLASSFacility | ( | CLASSLogger * | log, |
int | type = 0 |
||
) |
Special Constructor.
Make a new Facility
log | : used for the log. |
type | identification type of the facility :
|
CLASSFacility::CLASSFacility | ( | CLASSLogger * | log, |
cSecond | cycletime, | ||
int | type = 0 |
||
) |
Special Constructor.
Make a new Facility
log | : used for the log. |
cycletime | duration of the cycle [s], |
type | identification type of the facility :
|
CLASSFacility::CLASSFacility | ( | CLASSLogger * | log, |
cSecond | creationtime, | ||
cSecond | lifetime, | ||
int | type = 0 |
||
) |
Special Constructor.
Make a new Facility
log | : used for the log. |
creationtime | creation date of the Facility [s], |
lifetime | operating duration [s], |
type | identification type of the facility :
|
CLASSFacility::CLASSFacility | ( | CLASSLogger * | log, |
cSecond | startingtime, | ||
cSecond | lifetime, | ||
cSecond | cycletime, | ||
int | type = 0 |
||
) |
Special Constructor.
Make a new Facility
log | : used for the log. |
creationtime | creation date of the Facility [s], |
lifetime | operating duration [s], |
cycletime | duration of the cycle [s], |
type | identification type of the facility :
|
|
inline |
Add the Input IsotopicVector in the cumulative IV IN.
|
inline |
Add the Input IsotopicVector in the cumulative IV OUT.
|
virtual |
Put all nuclei below the threshold in -2 -2 -2 ZAI...
Reimplemented in CLASSBackEnd.
|
inlinevirtual |
|
pure virtual |
Performs the Evolution to time t.
Implemented in Reactor, FabricationPlant, Pool, Storage, and CLASSBackEnd.
|
inline |
Return the creation time of the Facility.
|
inline |
return the cumulative sum of all incoming IV
|
inline |
return the cumulative sum of all outcoming IV
|
inline |
Return the cycle time of the Facility.
|
inline |
Return the Facility Type id.
|
inline |
Return the Facility Parc'Is.
|
inline |
Return the IV contained in the Facility.
|
inline |
Return Creation Time.
|
inline |
Return the life time of the Facility.
|
inline |
return the pointer to the Park
|
inline |
Set the creation Time.
|
inlinevirtual |
Set the cycle time (Cycle of the loading Plan)
|
inline |
Set the facility type :
|
inline |
Set The Facility Parc'Id.
|
inline |
Set the In cycle time.
|
inline |
Set the IV inside the Facility.
|
inline |
Set the Internal Time.
|
inline |
Set the life time of the facility.
|
inline |
Set the Pointer to the Parc.
|
inline |
Set the shutdown time of the facility.
|
protected |
All IV in the Facility (fuel for reactor, total for all others...)
|
protected |
All IV in the Facility (fuel for reactor, total for all others...)
|
protected |
Cycle duration Time [s].
|
protected |
Time spent since the beginning of the last Cycle [s].
|
protected |
All IV in the Facility (fuel for reactor, total for all others...)
|
protected |
Internal Clock [s].
|
protected |
True if Reaching the end of a Facility cycle.
|
protected |
True if the facility is stoped, False Otherwise.
|
protected |
True if Running, False Otherwise.