CYCAMORE
Loading...
Searching...
No Matches
cycamore::Reactor Class Reference

Reactor is a simple, general reactor based on static compositional transformations to model fuel burnup. More...

#include <reactor.h>

Inheritance diagram for cycamore::Reactor:

Public Member Functions

virtual void AcceptMatlTrades (const std::vector< std::pair< cyclus::Trade< cyclus::Material >, cyclus::Material::Ptr > > &responses)
 
virtual void AcceptMatlTrades (const std::vector< std::pair< cyclus::Trade< cyclus::Material >, cyclus::Material::Ptr > > &responses)
 
virtual Json::Value annotations ()
 
virtual bool CheckDecommissionCondition ()
 
virtual bool CheckDecommissionCondition ()
 
virtual cyclus::Agent * Clone ()
 
virtual void EnterNotify ()
 
virtual void EnterNotify ()
 
virtual std::set< cyclus::BidPortfolio< cyclus::Material >::Ptr > GetMatlBids (cyclus::CommodMap< cyclus::Material >::type &commod_requests)
 
virtual std::set< cyclus::BidPortfolio< cyclus::Material >::Ptr > GetMatlBids (cyclus::CommodMap< cyclus::Material >::type &commod_requests)
 
virtual std::set< cyclus::RequestPortfolio< cyclus::Material >::Ptr > GetMatlRequests ()
 
virtual std::set< cyclus::RequestPortfolio< cyclus::Material >::Ptr > GetMatlRequests ()
 
virtual void GetMatlTrades (const std::vector< cyclus::Trade< cyclus::Material > > &trades, std::vector< std::pair< cyclus::Trade< cyclus::Material >, cyclus::Material::Ptr > > &responses)
 
virtual void GetMatlTrades (const std::vector< cyclus::Trade< cyclus::Material > > &trades, std::vector< std::pair< cyclus::Trade< cyclus::Material >, cyclus::Material::Ptr > > &responses)
 
virtual void InfileToDb (cyclus::InfileTree *tree, cyclus::DbInit di)
 
virtual void InitFrom (cycamore::Reactor *m)
 
virtual void InitFrom (cyclus::QueryableBackend *b)
 
virtual void InitInv (cyclus::Inventories &inv)
 
 Reactor (cyclus::Context *ctx)
 
 Reactor (cyclus::Context *ctx)
 
virtual std::string schema ()
 
virtual void Snapshot (cyclus::DbInit di)
 
virtual cyclus::Inventories SnapshotInv ()
 
virtual void Tick ()
 
virtual void Tick ()
 
virtual void Tock ()
 
virtual void Tock ()
 
virtual std::string version ()
 
virtual std::string version ()
 
virtual ~Reactor ()
 
virtual ~Reactor ()
 

Private Member Functions

bool Discharge ()
 Discharge a batch from the core if there is room in the spent fuel inventory.
 
bool Discharge ()
 Discharge a batch from the core if there is room in the spent fuel inventory.
 
std::string fuel_incommod (cyclus::Material::Ptr m)
 
std::string fuel_incommod (cyclus::Material::Ptr m)
 
std::string fuel_inrecipe (cyclus::Material::Ptr m)
 
std::string fuel_inrecipe (cyclus::Material::Ptr m)
 
std::string fuel_outcommod (cyclus::Material::Ptr m)
 
std::string fuel_outcommod (cyclus::Material::Ptr m)
 
std::string fuel_outrecipe (cyclus::Material::Ptr m)
 
std::string fuel_outrecipe (cyclus::Material::Ptr m)
 
double fuel_pref (cyclus::Material::Ptr m)
 
double fuel_pref (cyclus::Material::Ptr m)
 
void index_res (cyclus::Resource::Ptr m, std::string incommod)
 Store fuel info index for the given resource received on incommod.
 
void index_res (cyclus::Resource::Ptr m, std::string incommod)
 Store fuel info index for the given resource received on incommod.
 
void Load ()
 Top up core inventory as much as possible.
 
void Load ()
 Top up core inventory as much as possible.
 
std::map< std::string, cyclus::toolkit::MatVec > PeekSpent ()
 Returns all spent assemblies indexed by outcommod without removing them from the spent fuel buffer.
 
std::map< std::string, cyclus::toolkit::MatVec > PeekSpent ()
 Returns all spent assemblies indexed by outcommod without removing them from the spent fuel buffer.
 
std::map< std::string, cyclus::toolkit::MatVec > PopSpent ()
 Returns all spent assemblies indexed by outcommod - removing them from the spent fuel buffer.
 
std::map< std::string, cyclus::toolkit::MatVec > PopSpent ()
 Returns all spent assemblies indexed by outcommod - removing them from the spent fuel buffer.
 
void PushSpent (std::map< std::string, cyclus::toolkit::MatVec > leftover)
 Complement of PopSpent - must be called with all materials passed that were not traded away to other agents.
 
void PushSpent (std::map< std::string, cyclus::toolkit::MatVec > leftover)
 Complement of PopSpent - must be called with all materials passed that were not traded away to other agents.
 
void Record (std::string name, std::string val)
 Records a reactor event to the output db with the given name and note val.
 
void Record (std::string name, std::string val)
 Records a reactor event to the output db with the given name and note val.
 
void RecordPosition ()
 Records an agent's latitude and longitude to the output db.
 
void RecordPosition ()
 Records an agent's latitude and longitude to the output db.
 
void RecordSideProduct (bool produce)
 Records production of side products from the reactor.
 
void RecordSideProduct (bool produce)
 Records production of side products from the reactor.
 
bool retired ()
 
bool retired ()
 
void Transmute ()
 Transmute the batch that is about to be discharged from the core to its fully burnt state as defined by its outrecipe.
 
void Transmute ()
 Transmute the batch that is about to be discharged from the core to its fully burnt state as defined by its outrecipe.
 
void Transmute (int n_assem)
 Transmute the specified number of assemblies in the core to their fully burnt state as defined by their outrecipe.
 
void Transmute (int n_assem)
 Transmute the specified number of assemblies in the core to their fully burnt state as defined by their outrecipe.
 

Private Attributes

double assem_size
 
cyclus::toolkit::Position coordinates
 
cyclus::toolkit::ResBuf< cyclus::Material > core
 
int cycle_step
 
int cycle_time
 
std::vector< intcycpp_shape_assem_size
 
std::vector< intcycpp_shape_core
 
std::vector< intcycpp_shape_cycle_step
 
std::vector< intcycpp_shape_cycle_time
 
std::vector< intcycpp_shape_decom_transmute_all
 
std::vector< intcycpp_shape_discharged
 
std::vector< intcycpp_shape_fresh
 
std::vector< intcycpp_shape_fuel_incommods
 
std::vector< intcycpp_shape_fuel_inrecipes
 
std::vector< intcycpp_shape_fuel_outcommods
 
std::vector< intcycpp_shape_fuel_outrecipes
 
std::vector< intcycpp_shape_fuel_prefs
 
std::vector< intcycpp_shape_hybrid_
 
std::vector< intcycpp_shape_keep_packaging
 
std::vector< intcycpp_shape_latitude
 
std::vector< intcycpp_shape_longitude
 
std::vector< intcycpp_shape_n_assem_batch
 
std::vector< intcycpp_shape_n_assem_core
 
std::vector< intcycpp_shape_n_assem_fresh
 
std::vector< intcycpp_shape_n_assem_spent
 
std::vector< intcycpp_shape_power_cap
 
std::vector< intcycpp_shape_power_name
 
std::vector< intcycpp_shape_pref_change_commods
 
std::vector< intcycpp_shape_pref_change_times
 
std::vector< intcycpp_shape_pref_change_values
 
std::vector< intcycpp_shape_recipe_change_commods
 
std::vector< intcycpp_shape_recipe_change_in
 
std::vector< intcycpp_shape_recipe_change_out
 
std::vector< intcycpp_shape_recipe_change_times
 
std::vector< intcycpp_shape_refuel_time
 
std::vector< intcycpp_shape_res_indexes
 
std::vector< intcycpp_shape_side_product_quantity
 
std::vector< intcycpp_shape_side_products
 
std::vector< intcycpp_shape_spent
 
bool decom_transmute_all
 
bool discharged
 
cyclus::toolkit::ResBuf< cyclus::Material > fresh
 
std::vector< std::string > fuel_incommods
 
std::vector< std::string > fuel_inrecipes
 
std::vector< std::string > fuel_outcommods
 
std::vector< std::string > fuel_outrecipes
 
std::vector< double > fuel_prefs
 
bool hybrid_
 
bool keep_packaging
 
double latitude
 
double longitude
 
int n_assem_batch
 
int n_assem_core
 
int n_assem_fresh
 
int n_assem_spent
 
double power_cap
 
std::string power_name
 
std::vector< std::string > pref_change_commods
 
std::vector< intpref_change_times
 
std::vector< double > pref_change_values
 
std::vector< std::string > recipe_change_commods
 
std::vector< std::string > recipe_change_in
 
std::vector< std::string > recipe_change_out
 
std::vector< intrecipe_change_times
 
int refuel_time
 
std::map< int, intres_indexes
 
std::vector< double > side_product_quantity
 
std::vector< std::string > side_products
 
cyclus::toolkit::ResBuf< cyclus::Material > spent
 
std::set< std::string > uniq_outcommods_
 

Detailed Description

Reactor is a simple, general reactor based on static compositional transformations to model fuel burnup.

The user specifies a set of input fuels and corresponding burnt compositions that fuel is transformed to when it is discharged from the core. No incremental transmutation takes place. Rather, at the end of an operational cycle, the batch being discharged from the core is instantaneously transmuted from its original fresh fuel composition into its spent fuel form.

Each fuel is identified by a specific input commodity and has an associated input recipe (nuclide composition), output recipe, output commidity, and preference. The preference identifies which input fuels are preferred when requesting. Changes in these preferences can be specified as a function of time using the pref_change variables. Changes in the input-output recipe compositions can also be specified as a function of time using the recipe_change variables.

The reactor treats fuel as individual assemblies that are never split, combined or otherwise treated in any non-discrete way. Fuel is requested in full-or-nothing assembly sized quanta. If real-world assembly modeling is unnecessary, parameters can be adjusted (e.g. n_assem_core, assem_size, n_assem_batch). At the end of every cycle, a full batch is discharged from the core consisting of n_assem_batch assemblies of assem_size kg. The reactor also has a specifiable refueling time period following the end of each cycle at the end of which it will resume operation on the next cycle if it has enough fuel for a full core; otherwise it waits until it has enough fresh fuel assemblies.

In addition to its core, the reactor has an on-hand fresh fuel inventory and a spent fuel inventory whose capacities are specified by n_assem_fresh and n_assem_spent respectively. Each time step the reactor will attempt to acquire enough fresh fuel to fill its fresh fuel inventory (and its core if the core isn't currently full). If the fresh fuel inventory has zero capacity, fuel will be ordered just-in-time after the end of each operational cycle before the next begins. If the spent fuel inventory becomes full, the reactor will halt operation at the end of the next cycle until there is more room. Each time step, the reactor will try to trade away as much of its spent fuel inventory as possible.

When the reactor reaches the end of its lifetime, it will discharge all material from its core and trade away all its spent fuel as quickly as possible. Full decommissioning will be delayed until all spent fuel is gone. If the reactor has a full core when it is decommissioned (i.e. is mid-cycle) when the reactor is decommissioned, half (rounded up to nearest int) of its assemblies are transmuted to their respective burnt compositions.

Definition at line 57 of file build/cycamore/reactor.h.

Constructor & Destructor Documentation

◆ Reactor() [1/2]

cycamore::Reactor::Reactor ( cyclus::Context * ctx)

Definition at line 13 of file build/cycamore/reactor.cc.

◆ ~Reactor() [1/2]

virtual cycamore::Reactor::~Reactor ( )
inlinevirtual

Definition at line 65 of file build/cycamore/reactor.h.

◆ Reactor() [2/2]

cycamore::Reactor::Reactor ( cyclus::Context * ctx)

◆ ~Reactor() [2/2]

virtual cycamore::Reactor::~Reactor ( )
inlinevirtual

Definition at line 111 of file src/reactor.h.

Member Function Documentation

◆ AcceptMatlTrades() [1/2]

virtual void cycamore::Reactor::AcceptMatlTrades ( const std::vector< std::pair< cyclus::Trade< cyclus::Material >, cyclus::Material::Ptr > > & responses)
virtual

◆ AcceptMatlTrades() [2/2]

virtual void cycamore::Reactor::AcceptMatlTrades ( const std::vector< std::pair< cyclus::Trade< cyclus::Material >, cyclus::Material::Ptr > > & responses)
virtual

◆ annotations()

Json::Value cycamore::Reactor::annotations ( )
virtual

Definition at line 228 of file build/cycamore/reactor.cc.

◆ CheckDecommissionCondition() [1/2]

bool cycamore::Reactor::CheckDecommissionCondition ( )
virtual

Definition at line 1405 of file build/cycamore/reactor.cc.

References core, and spent.

Referenced by Tick().

◆ CheckDecommissionCondition() [2/2]

virtual bool cycamore::Reactor::CheckDecommissionCondition ( )
virtual

◆ Clone()

cyclus::Agent * cycamore::Reactor::Clone ( )
virtual

Definition at line 30 of file build/cycamore/reactor.cc.

◆ Discharge() [1/2]

bool cycamore::Reactor::Discharge ( )
private

Discharge a batch from the core if there is room in the spent fuel inventory.

Returns true if a batch was successfully discharged.

Definition at line 1712 of file build/cycamore/reactor.cc.

References core, fuel_outcommods, n_assem_batch, n_assem_spent, PeekSpent(), Record(), and spent.

Referenced by Tick().

◆ Discharge() [2/2]

bool cycamore::Reactor::Discharge ( )
private

Discharge a batch from the core if there is room in the spent fuel inventory.

Returns true if a batch was successfully discharged.

◆ EnterNotify() [1/2]

◆ EnterNotify() [2/2]

virtual void cycamore::Reactor::EnterNotify ( )
virtual

◆ fuel_incommod() [1/2]

std::string cycamore::Reactor::fuel_incommod ( cyclus::Material::Ptr m)
private

◆ fuel_incommod() [2/2]

std::string cycamore::Reactor::fuel_incommod ( cyclus::Material::Ptr m)
private

◆ fuel_inrecipe() [1/2]

std::string cycamore::Reactor::fuel_inrecipe ( cyclus::Material::Ptr m)
private

◆ fuel_inrecipe() [2/2]

std::string cycamore::Reactor::fuel_inrecipe ( cyclus::Material::Ptr m)
private

◆ fuel_outcommod() [1/2]

std::string cycamore::Reactor::fuel_outcommod ( cyclus::Material::Ptr m)
private

Referenced by PeekSpent(), and PopSpent().

◆ fuel_outcommod() [2/2]

std::string cycamore::Reactor::fuel_outcommod ( cyclus::Material::Ptr m)
private

◆ fuel_outrecipe() [1/2]

std::string cycamore::Reactor::fuel_outrecipe ( cyclus::Material::Ptr m)
private

Referenced by Transmute().

◆ fuel_outrecipe() [2/2]

std::string cycamore::Reactor::fuel_outrecipe ( cyclus::Material::Ptr m)
private

◆ fuel_pref() [1/2]

double cycamore::Reactor::fuel_pref ( cyclus::Material::Ptr m)
private

◆ fuel_pref() [2/2]

double cycamore::Reactor::fuel_pref ( cyclus::Material::Ptr m)
private

◆ GetMatlBids() [1/2]

virtual std::set< cyclus::BidPortfolio< cyclus::Material >::Ptr > cycamore::Reactor::GetMatlBids ( cyclus::CommodMap< cyclus::Material >::type & commod_requests)
virtual

◆ GetMatlBids() [2/2]

virtual std::set< cyclus::BidPortfolio< cyclus::Material >::Ptr > cycamore::Reactor::GetMatlBids ( cyclus::CommodMap< cyclus::Material >::type & commod_requests)
virtual

◆ GetMatlRequests() [1/2]

std::set< cyclus::RequestPortfolio< Material >::Ptr > cycamore::Reactor::GetMatlRequests ( )
virtual

◆ GetMatlRequests() [2/2]

virtual std::set< cyclus::RequestPortfolio< cyclus::Material >::Ptr > cycamore::Reactor::GetMatlRequests ( )
virtual

◆ GetMatlTrades() [1/2]

virtual void cycamore::Reactor::GetMatlTrades ( const std::vector< cyclus::Trade< cyclus::Material > > & trades,
std::vector< std::pair< cyclus::Trade< cyclus::Material >, cyclus::Material::Ptr > > & responses )
virtual

◆ GetMatlTrades() [2/2]

virtual void cycamore::Reactor::GetMatlTrades ( const std::vector< cyclus::Trade< cyclus::Material > > & trades,
std::vector< std::pair< cyclus::Trade< cyclus::Material >, cyclus::Material::Ptr > > & responses )
virtual

◆ index_res() [1/2]

void cycamore::Reactor::index_res ( cyclus::Resource::Ptr m,
std::string incommod )
private

Store fuel info index for the given resource received on incommod.

Definition at line 1791 of file build/cycamore/reactor.cc.

References fuel_incommods, and res_indexes.

◆ index_res() [2/2]

void cycamore::Reactor::index_res ( cyclus::Resource::Ptr m,
std::string incommod )
private

Store fuel info index for the given resource received on incommod.

◆ InfileToDb()

void cycamore::Reactor::InfileToDb ( cyclus::InfileTree * tree,
cyclus::DbInit di )
virtual

◆ InitFrom() [1/2]

void cycamore::Reactor::InitFrom ( cycamore::Reactor * m)
virtual

◆ InitFrom() [2/2]

void cycamore::Reactor::InitFrom ( cyclus::QueryableBackend * b)
virtual

◆ InitInv()

void cycamore::Reactor::InitInv ( cyclus::Inventories & inv)
virtual

Definition at line 1119 of file build/cycamore/reactor.cc.

References core, fresh, and spent.

◆ Load() [1/2]

void cycamore::Reactor::Load ( )
private

Top up core inventory as much as possible.

Definition at line 1739 of file build/cycamore/reactor.cc.

References core, fresh, n_assem_core, and Record().

Referenced by Tick().

◆ Load() [2/2]

void cycamore::Reactor::Load ( )
private

Top up core inventory as much as possible.

◆ PeekSpent() [1/2]

std::map< std::string, MatVec > cycamore::Reactor::PeekSpent ( )
private

Returns all spent assemblies indexed by outcommod without removing them from the spent fuel buffer.

Definition at line 1701 of file build/cycamore/reactor.cc.

References fuel_outcommod(), and spent.

Referenced by Discharge().

◆ PeekSpent() [2/2]

std::map< std::string, cyclus::toolkit::MatVec > cycamore::Reactor::PeekSpent ( )
private

Returns all spent assemblies indexed by outcommod without removing them from the spent fuel buffer.

◆ PopSpent() [1/2]

std::map< std::string, MatVec > cycamore::Reactor::PopSpent ( )
private

Returns all spent assemblies indexed by outcommod - removing them from the spent fuel buffer.

Definition at line 1802 of file build/cycamore/reactor.cc.

References fuel_outcommod(), and spent.

◆ PopSpent() [2/2]

std::map< std::string, cyclus::toolkit::MatVec > cycamore::Reactor::PopSpent ( )
private

Returns all spent assemblies indexed by outcommod - removing them from the spent fuel buffer.

◆ PushSpent() [1/2]

void cycamore::Reactor::PushSpent ( std::map< std::string, cyclus::toolkit::MatVec > leftover)
private

Complement of PopSpent - must be called with all materials passed that were not traded away to other agents.

◆ PushSpent() [2/2]

void cycamore::Reactor::PushSpent ( std::map< std::string, cyclus::toolkit::MatVec > leftover)
private

Complement of PopSpent - must be called with all materials passed that were not traded away to other agents.

◆ Record() [1/2]

void cycamore::Reactor::Record ( std::string name,
std::string val )
private

Records a reactor event to the output db with the given name and note val.

Definition at line 1850 of file build/cycamore/reactor.cc.

Referenced by Discharge(), Load(), Tick(), Tock(), and Transmute().

◆ Record() [2/2]

void cycamore::Reactor::Record ( std::string name,
std::string val )
private

Records a reactor event to the output db with the given name and note val.

◆ RecordPosition() [1/2]

void cycamore::Reactor::RecordPosition ( )
private

Records an agent's latitude and longitude to the output db.

Definition at line 1860 of file build/cycamore/reactor.cc.

References latitude, and longitude.

Referenced by EnterNotify().

◆ RecordPosition() [2/2]

void cycamore::Reactor::RecordPosition ( )
private

Records an agent's latitude and longitude to the output db.

◆ RecordSideProduct() [1/2]

void cycamore::Reactor::RecordSideProduct ( bool produce)
private

Records production of side products from the reactor.

Definition at line 1828 of file build/cycamore/reactor.cc.

References hybrid_, side_product_quantity, and side_products.

Referenced by Tock().

◆ RecordSideProduct() [2/2]

void cycamore::Reactor::RecordSideProduct ( bool produce)
private

Records production of side products from the reactor.

◆ retired() [1/2]

bool cycamore::Reactor::retired ( )
inlineprivate

Definition at line 114 of file build/cycamore/reactor.h.

Referenced by GetMatlRequests(), Tick(), and Tock().

◆ retired() [2/2]

bool cycamore::Reactor::retired ( )
inlineprivate

Definition at line 143 of file src/reactor.h.

◆ schema()

std::string cycamore::Reactor::schema ( )
virtual

Definition at line 37 of file build/cycamore/reactor.cc.

◆ Snapshot()

◆ SnapshotInv()

cyclus::Inventories cycamore::Reactor::SnapshotInv ( )
virtual

Definition at line 1107 of file build/cycamore/reactor.cc.

References core, fresh, and spent.

◆ Tick() [1/2]

◆ Tick() [2/2]

virtual void cycamore::Reactor::Tick ( )
virtual

◆ Tock() [1/2]

void cycamore::Reactor::Tock ( )
virtual

◆ Tock() [2/2]

virtual void cycamore::Reactor::Tock ( )
virtual

◆ Transmute() [1/4]

void cycamore::Reactor::Transmute ( )
private

Transmute the batch that is about to be discharged from the core to its fully burnt state as defined by its outrecipe.

Definition at line 1682 of file build/cycamore/reactor.cc.

References n_assem_batch, and Transmute().

Referenced by Tick(), and Transmute().

◆ Transmute() [2/4]

void cycamore::Reactor::Transmute ( )
private

Transmute the batch that is about to be discharged from the core to its fully burnt state as defined by its outrecipe.

◆ Transmute() [3/4]

void cycamore::Reactor::Transmute ( int n_assem)
private

Transmute the specified number of assemblies in the core to their fully burnt state as defined by their outrecipe.

Definition at line 1684 of file build/cycamore/reactor.cc.

References core, fuel_outrecipe(), and Record().

◆ Transmute() [4/4]

void cycamore::Reactor::Transmute ( int n_assem)
private

Transmute the specified number of assemblies in the core to their fully burnt state as defined by their outrecipe.

◆ version() [1/2]

virtual std::string cycamore::Reactor::version ( )
inlinevirtual

Definition at line 67 of file build/cycamore/reactor.h.

References CYCAMORE_VERSION.

◆ version() [2/2]

virtual std::string cycamore::Reactor::version ( )
inlinevirtual

Definition at line 113 of file src/reactor.h.

References CYCAMORE_VERSION.

Member Data Documentation

◆ assem_size

double cycamore::Reactor::assem_size
private

◆ coordinates

cyclus::toolkit::Position cycamore::Reactor::coordinates
private

Definition at line 382 of file build/cycamore/reactor.h.

◆ core

cyclus::toolkit::ResBuf< cyclus::Material > cycamore::Reactor::core
private

◆ cycle_step

int cycamore::Reactor::cycle_step
private

◆ cycle_time

int cycamore::Reactor::cycle_time
private

◆ cycpp_shape_assem_size

std::vector<int> cycamore::Reactor::cycpp_shape_assem_size
private

Definition at line 211 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_core

std::vector<int> cycamore::Reactor::cycpp_shape_core
private

Definition at line 337 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), and InitFrom().

◆ cycpp_shape_cycle_step

std::vector<int> cycamore::Reactor::cycpp_shape_cycle_step
private

Definition at line 251 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_cycle_time

std::vector<int> cycamore::Reactor::cycpp_shape_cycle_time
private

Definition at line 241 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_decom_transmute_all

std::vector<int> cycamore::Reactor::cycpp_shape_decom_transmute_all
private

Definition at line 298 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_discharged

std::vector<int> cycamore::Reactor::cycpp_shape_discharged
private

Definition at line 352 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_fresh

std::vector<int> cycamore::Reactor::cycpp_shape_fresh
private

Definition at line 332 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), and InitFrom().

◆ cycpp_shape_fuel_incommods

std::vector<int> cycamore::Reactor::cycpp_shape_fuel_incommods
private

Definition at line 158 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_fuel_inrecipes

std::vector<int> cycamore::Reactor::cycpp_shape_fuel_inrecipes
private

Definition at line 163 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_fuel_outcommods

std::vector<int> cycamore::Reactor::cycpp_shape_fuel_outcommods
private

Definition at line 175 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_fuel_outrecipes

std::vector<int> cycamore::Reactor::cycpp_shape_fuel_outrecipes
private

Definition at line 180 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_fuel_prefs

std::vector<int> cycamore::Reactor::cycpp_shape_fuel_prefs
private

Definition at line 170 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_hybrid_

std::vector<int> cycamore::Reactor::cycpp_shape_hybrid_
private

Definition at line 289 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_keep_packaging

std::vector<int> cycamore::Reactor::cycpp_shape_keep_packaging
private

Definition at line 324 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_latitude

std::vector<int> cycamore::Reactor::cycpp_shape_latitude
private

Definition at line 371 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_longitude

std::vector<int> cycamore::Reactor::cycpp_shape_longitude
private

Definition at line 378 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_n_assem_batch

std::vector<int> cycamore::Reactor::cycpp_shape_n_assem_batch
private

Definition at line 218 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_n_assem_core

std::vector<int> cycamore::Reactor::cycpp_shape_n_assem_core
private

Definition at line 223 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_n_assem_fresh

std::vector<int> cycamore::Reactor::cycpp_shape_n_assem_fresh
private

Definition at line 228 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_n_assem_spent

std::vector<int> cycamore::Reactor::cycpp_shape_n_assem_spent
private

Definition at line 233 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_power_cap

std::vector<int> cycamore::Reactor::cycpp_shape_power_cap
private

Definition at line 259 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_power_name

std::vector<int> cycamore::Reactor::cycpp_shape_power_name
private

Definition at line 266 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_pref_change_commods

std::vector<int> cycamore::Reactor::cycpp_shape_pref_change_commods
private

Definition at line 312 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_pref_change_times

std::vector<int> cycamore::Reactor::cycpp_shape_pref_change_times
private

Definition at line 307 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_pref_change_values

std::vector<int> cycamore::Reactor::cycpp_shape_pref_change_values
private

Definition at line 317 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_recipe_change_commods

std::vector<int> cycamore::Reactor::cycpp_shape_recipe_change_commods
private

Definition at line 193 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_recipe_change_in

std::vector<int> cycamore::Reactor::cycpp_shape_recipe_change_in
private

Definition at line 198 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_recipe_change_out

std::vector<int> cycamore::Reactor::cycpp_shape_recipe_change_out
private

Definition at line 203 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_recipe_change_times

std::vector<int> cycamore::Reactor::cycpp_shape_recipe_change_times
private

Definition at line 188 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_refuel_time

std::vector<int> cycamore::Reactor::cycpp_shape_refuel_time
private

Definition at line 246 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_res_indexes

std::vector<int> cycamore::Reactor::cycpp_shape_res_indexes
private

Definition at line 361 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_side_product_quantity

std::vector<int> cycamore::Reactor::cycpp_shape_side_product_quantity
private

Definition at line 282 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_side_products

std::vector<int> cycamore::Reactor::cycpp_shape_side_products
private

Definition at line 275 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ cycpp_shape_spent

std::vector<int> cycamore::Reactor::cycpp_shape_spent
private

Definition at line 342 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), and InitFrom().

◆ decom_transmute_all

bool cycamore::Reactor::decom_transmute_all
private

Definition at line 297 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ discharged

bool cycamore::Reactor::discharged
private

Definition at line 351 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), Snapshot(), Tick(), and Tock().

◆ fresh

cyclus::toolkit::ResBuf< cyclus::Material > cycamore::Reactor::fresh
private

◆ fuel_incommods

std::vector< std::string > cycamore::Reactor::fuel_incommods
private

◆ fuel_inrecipes

std::vector< std::string > cycamore::Reactor::fuel_inrecipes
private

◆ fuel_outcommods

std::vector< std::string > cycamore::Reactor::fuel_outcommods
private

◆ fuel_outrecipes

std::vector< std::string > cycamore::Reactor::fuel_outrecipes
private

Definition at line 179 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ fuel_prefs

std::vector< double > cycamore::Reactor::fuel_prefs
private

◆ hybrid_

bool cycamore::Reactor::hybrid_
private

◆ keep_packaging

bool cycamore::Reactor::keep_packaging
private

Definition at line 323 of file build/cycamore/reactor.h.

Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ latitude

double cycamore::Reactor::latitude
private

Definition at line 370 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), RecordPosition(), and Snapshot().

◆ longitude

double cycamore::Reactor::longitude
private

Definition at line 377 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), RecordPosition(), and Snapshot().

◆ n_assem_batch

int cycamore::Reactor::n_assem_batch
private

◆ n_assem_core

int cycamore::Reactor::n_assem_core
private

◆ n_assem_fresh

int cycamore::Reactor::n_assem_fresh
private

Definition at line 227 of file build/cycamore/reactor.h.

Referenced by GetMatlRequests(), InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ n_assem_spent

int cycamore::Reactor::n_assem_spent
private

Definition at line 232 of file build/cycamore/reactor.h.

Referenced by Discharge(), InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ power_cap

double cycamore::Reactor::power_cap
private

Definition at line 258 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tock().

◆ power_name

std::string cycamore::Reactor::power_name
private

Definition at line 265 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ pref_change_commods

std::vector< std::string > cycamore::Reactor::pref_change_commods
private

Definition at line 311 of file build/cycamore/reactor.h.

Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ pref_change_times

std::vector< int > cycamore::Reactor::pref_change_times
private

Definition at line 306 of file build/cycamore/reactor.h.

Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ pref_change_values

std::vector< double > cycamore::Reactor::pref_change_values
private

Definition at line 316 of file build/cycamore/reactor.h.

Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ recipe_change_commods

std::vector< std::string > cycamore::Reactor::recipe_change_commods
private

Definition at line 192 of file build/cycamore/reactor.h.

Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ recipe_change_in

std::vector< std::string > cycamore::Reactor::recipe_change_in
private

Definition at line 197 of file build/cycamore/reactor.h.

Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ recipe_change_out

std::vector< std::string > cycamore::Reactor::recipe_change_out
private

Definition at line 202 of file build/cycamore/reactor.h.

Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ recipe_change_times

std::vector< int > cycamore::Reactor::recipe_change_times
private

Definition at line 187 of file build/cycamore/reactor.h.

Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), Snapshot(), and Tick().

◆ refuel_time

int cycamore::Reactor::refuel_time
private

◆ res_indexes

std::map< int, int > cycamore::Reactor::res_indexes
private

Definition at line 360 of file build/cycamore/reactor.h.

Referenced by index_res(), InfileToDb(), InitFrom(), InitFrom(), and Snapshot().

◆ side_product_quantity

std::vector< double > cycamore::Reactor::side_product_quantity
private

Definition at line 281 of file build/cycamore/reactor.h.

Referenced by InfileToDb(), InitFrom(), InitFrom(), RecordSideProduct(), and Snapshot().

◆ side_products

std::vector< std::string > cycamore::Reactor::side_products
private

◆ spent

cyclus::toolkit::ResBuf< cyclus::Material > cycamore::Reactor::spent
private

◆ uniq_outcommods_

std::set< std::string > cycamore::Reactor::uniq_outcommods_
private

Definition at line 366 of file build/cycamore/reactor.h.


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