teh_o_prke/lib.rs
1
2#[warn(missing_docs)]
3/// contains structs for the zero power point reactor kinetics equations
4///
5/// the SixGroupPRKE struct contains the code which performs solution of
6/// the PRKE matrix with six precursor groups
7///
8/// but you must supply reactivity (or keff equivalently) as an input.
9///
10/// for real-time calculations, only thermal reactors are okay
11/// because the neutron generation time is on the order of 10E-4 s
12/// for fast reactors, neutron generation time is on the order of 10E-8
13/// but home computers calculate on the order of 1E-5s per calculation or
14/// 1E-6s at best
15///
16/// Will probably need some other kind of method to calculate feedback
17///
18pub mod zero_power_prke;
19
20
21/// contains functions and structs for fuel temperature feedback
22///
23/// this is the simplest feedback mechanism
24/// where rudimentary thermal hydraulics model is added.
25pub mod fuel_temperature_feedback;
26
27/// contains functions and structs for control rod feedback
28pub mod control_rod_feedback;
29
30/// error type for the crate
31pub mod teh_o_prke_error;
32
33
34
35/// contains code for various feedback mechanisms
36/// this uses the six factor formula rather than simply adjusting reactivity
37pub mod feedback_mechanisms;
38
39
40/// contains code for decay heat simulation
41/// the user can have up to seven groups
42///
43pub mod decay_heat;
44
45/// contains code for time stepping for prke
46/// some algorithms copied from OpenFOAM
47///
48pub mod time_stepping;