![]() |
CYCAMORE
|
Separations processes feed material into one or more streams containing specific elements and/or nuclides. More...
#include <separations.h>
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::Separations *m) |
virtual void | InitFrom (cyclus::QueryableBackend *b) |
virtual void | InitInv (cyclus::Inventories &inv) |
virtual void | InitInv (cyclus::Inventories &inv) |
virtual std::string | schema () |
Separations (cyclus::Context *ctx) | |
Separations (cyclus::Context *ctx) | |
virtual void | Snapshot (cyclus::DbInit di) |
virtual cyclus::Inventories | SnapshotInv () |
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 | ~Separations () |
virtual | ~Separations () |
Private Member Functions | |
void | Record (std::string name, double val, std::string type) |
void | Record (std::string name, double val, std::string type) |
Private Attributes | |
std::vector< int > | cycpp_shape_feed |
std::vector< int > | cycpp_shape_feed_commod_prefs |
std::vector< int > | cycpp_shape_feed_commods |
std::vector< int > | cycpp_shape_feed_recipe |
std::vector< int > | cycpp_shape_feedbuf_size |
std::vector< int > | cycpp_shape_leftover |
std::vector< int > | cycpp_shape_leftover_commod |
std::vector< int > | cycpp_shape_leftoverbuf_size |
std::vector< int > | cycpp_shape_streams_ |
std::vector< int > | cycpp_shape_throughput |
cyclus::toolkit::ResBuf< cyclus::Material > | feed |
std::vector< double > | feed_commod_prefs |
std::vector< std::string > | feed_commods |
std::string | feed_recipe |
double | feedbuf_size |
cyclus::toolkit::ResBuf< cyclus::Material > | leftover |
std::string | leftover_commod |
double | leftoverbuf_size |
std::map< std::string, cyclus::toolkit::ResBuf< cyclus::Material > > | streambufs |
std::map< std::string, std::pair< double, std::map< int, double > > > | streams_ |
double | throughput |
Separations processes feed material into one or more streams containing specific elements and/or nuclides.
It uses mass-based efficiencies.
User defined separations streams are specified as groups of component-efficiency pairs where 'component' means either a particular element or a particular nuclide. Each component's paired efficiency represents the mass fraction of that component in the feed that is separated into that stream. The efficiencies of a particular component across all streams must sum up to less than or equal to one. If less than one, the remainining material is sent to a waste inventory and (potentially) traded away from there.
The facility receives material into a feed inventory that it processes with a specified throughput each time step. Each output stream has a corresponding output inventory size/limit. If the facility is unable to reduce its stocks by trading and hits this limit for any of its output streams, further processing/separations of feed material will halt until room is again available in the output streams.
Definition at line 41 of file build/cycamore/separations.h.
cycamore::Separations::Separations | ( | cyclus::Context * | ctx | ) |
Definition at line 13 of file build/cycamore/separations.cc.
|
inlinevirtual |
Definition at line 48 of file build/cycamore/separations.h.
cycamore::Separations::Separations | ( | cyclus::Context * | ctx | ) |
|
inlinevirtual |
Definition at line 67 of file src/separations.h.
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 442 of file build/cycamore/separations.h.
|
virtual |
Definition at line 355 of file build/cycamore/separations.cc.
References leftover, and streambufs.
|
virtual |
|
inlinevirtual |
Definition at line 71 of file build/cycamore/separations.h.
References InitFrom().
|
virtual |
Definition at line 49 of file build/cycamore/separations.cc.
References feed_commod_prefs, feed_commods, streambufs, and streams_.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Definition at line 195 of file build/cycamore/separations.cc.
References feed, feed_commod_prefs, feed_commods, feed_recipe, and throughput.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 118 of file build/cycamore/separations.h.
References cycpp_shape_feed, cycpp_shape_feed_commod_prefs, cycpp_shape_feed_commods, cycpp_shape_feed_recipe, cycpp_shape_feedbuf_size, cycpp_shape_leftover, cycpp_shape_leftover_commod, cycpp_shape_leftoverbuf_size, cycpp_shape_streams_, cycpp_shape_throughput, feed_commod_prefs, feed_commods, feed_recipe, feedbuf_size, leftover_commod, leftoverbuf_size, streams_, and throughput.
|
inlinevirtual |
Definition at line 78 of file build/cycamore/separations.h.
References cycpp_shape_feed, cycpp_shape_feed_commod_prefs, cycpp_shape_feed_commods, cycpp_shape_feed_recipe, cycpp_shape_feedbuf_size, cycpp_shape_leftover, cycpp_shape_leftover_commod, cycpp_shape_leftoverbuf_size, cycpp_shape_streams_, cycpp_shape_throughput, feed, feed_commod_prefs, feed_commods, feed_recipe, feedbuf_size, leftover, leftover_commod, leftoverbuf_size, streams_, and throughput.
Referenced by Clone().
|
inlinevirtual |
Definition at line 307 of file build/cycamore/separations.h.
References cycpp_shape_feed, cycpp_shape_feed_commod_prefs, cycpp_shape_feed_commods, cycpp_shape_feed_recipe, cycpp_shape_feedbuf_size, cycpp_shape_leftover, cycpp_shape_leftover_commod, cycpp_shape_leftoverbuf_size, cycpp_shape_streams_, cycpp_shape_throughput, feed, feed_commod_prefs, feed_commods, feed_recipe, feedbuf_size, leftover, leftover_commod, leftoverbuf_size, streams_, and throughput.
|
virtual |
Definition at line 36 of file build/cycamore/separations.cc.
References feed, leftover, and streambufs.
|
virtual |
References feed, feed_commod_prefs, feed_commods, feed_recipe, feedbuf_size, leftover, leftover_commod, leftoverbuf_size, streambufs, streams_, and throughput.
|
private |
Definition at line 370 of file build/cycamore/separations.cc.
Referenced by Tick().
|
private |
|
inlinevirtual |
Definition at line 348 of file build/cycamore/separations.h.
|
inlinevirtual |
Definition at line 574 of file build/cycamore/separations.h.
References cycpp_shape_feed_commod_prefs, cycpp_shape_feed_commods, cycpp_shape_feed_recipe, cycpp_shape_feedbuf_size, cycpp_shape_leftover_commod, cycpp_shape_leftoverbuf_size, cycpp_shape_streams_, cycpp_shape_throughput, feed_commod_prefs, feed_commods, feed_recipe, feedbuf_size, leftover_commod, leftoverbuf_size, streams_, and throughput.
|
virtual |
Definition at line 16 of file build/cycamore/separations.cc.
References feed, leftover, and streambufs.
|
virtual |
|
virtual |
Definition at line 102 of file build/cycamore/separations.cc.
References feed, leftover, leftover_commod, Record(), cycamore::SepMaterial(), streambufs, streams_, and throughput.
|
virtual |
|
virtual |
Definition at line 353 of file build/cycamore/separations.cc.
|
virtual |
|
inlinevirtual |
Definition at line 50 of file build/cycamore/separations.h.
References CYCAMORE_VERSION.
|
inlinevirtual |
Definition at line 69 of file src/separations.h.
References CYCAMORE_VERSION.
|
private |
Definition at line 633 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), and InitFrom().
|
private |
Definition at line 612 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().
|
private |
Definition at line 605 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().
|
private |
Definition at line 619 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().
|
private |
Definition at line 626 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().
|
private |
Definition at line 661 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), and InitFrom().
|
private |
Definition at line 647 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().
|
private |
Definition at line 654 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().
|
private |
Definition at line 668 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().
|
private |
Definition at line 640 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), and Snapshot().
|
private |
Definition at line 632 of file build/cycamore/separations.h.
Referenced by GetMatlRequests(), InitFrom(), InitFrom(), InitInv(), SnapshotInv(), and Tick().
|
private |
Definition at line 611 of file build/cycamore/separations.h.
Referenced by EnterNotify(), GetMatlRequests(), InfileToDb(), InitFrom(), InitFrom(), InitInv(), and Snapshot().
|
private |
Definition at line 604 of file build/cycamore/separations.h.
Referenced by EnterNotify(), GetMatlRequests(), InfileToDb(), InitFrom(), InitFrom(), InitInv(), and Snapshot().
|
private |
Definition at line 618 of file build/cycamore/separations.h.
Referenced by GetMatlRequests(), InfileToDb(), InitFrom(), InitFrom(), InitInv(), and Snapshot().
|
private |
Definition at line 625 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), InitInv(), and Snapshot().
|
private |
Definition at line 660 of file build/cycamore/separations.h.
Referenced by CheckDecommissionCondition(), InitFrom(), InitFrom(), InitInv(), SnapshotInv(), and Tick().
|
private |
Definition at line 646 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), InitInv(), Snapshot(), and Tick().
|
private |
Definition at line 653 of file build/cycamore/separations.h.
Referenced by InfileToDb(), InitFrom(), InitFrom(), InitInv(), and Snapshot().
|
private |
Definition at line 674 of file build/cycamore/separations.h.
Referenced by CheckDecommissionCondition(), EnterNotify(), InitInv(), SnapshotInv(), and Tick().
|
private |
Definition at line 667 of file build/cycamore/separations.h.
Referenced by EnterNotify(), InfileToDb(), InitFrom(), InitFrom(), InitInv(), Snapshot(), and Tick().
|
private |
Definition at line 639 of file build/cycamore/separations.h.
Referenced by GetMatlRequests(), InfileToDb(), InitFrom(), InitFrom(), InitInv(), Snapshot(), and Tick().