pub struct SmrOutcome {
pub outlet_flows: Vec<f64>,
pub extents: Vec<f64>,
pub heat_duty: f64,
pub methane_conversion: f64,
pub residence_time: f64,
}Expand description
What a solved case reports.
Fields§
§outlet_flows: Vec<f64>Outlet molar flows [mol/s], by Species::index.
extents: Vec<f64>Per-reaction extent [mol/s], in SmrReaction::BOTH order.
heat_duty: f64Net heat of reaction [W]. Positive means heat must be supplied to hold the feed temperature — reforming is endothermic, so a converged case with meaningful conversion should report a positive duty. This is reported, not enforced: the model is isothermal and does not solve an energy balance.
methane_conversion: f64Fractional methane conversion X = (F_in − F_out)/F_in [-].
residence_time: f64Nominal residence time τ = V/Q [s].
Implementations§
Source§impl SmrOutcome
impl SmrOutcome
Sourcepub fn mole_fraction(&self, species: Species) -> f64
pub fn mole_fraction(&self, species: Species) -> f64
Outlet mole fraction of species [-].
Sourcepub fn hydrogen_yield(&self, methane_feed: f64) -> f64
pub fn hydrogen_yield(&self, methane_feed: f64) -> f64
Hydrogen yield, moles of H₂ per mole of methane fed.
The stoichiometric ceiling is 4 (the overall reaction
CH4 + 2H2O -> CO2 + 4H2), reached only at complete conversion with
complete shift.
Trait Implementations§
Source§impl Clone for SmrOutcome
impl Clone for SmrOutcome
Source§impl Debug for SmrOutcome
impl Debug for SmrOutcome
Source§impl PartialEq for SmrOutcome
impl PartialEq for SmrOutcome
impl StructuralPartialEq for SmrOutcome
Auto Trait Implementations§
impl Freeze for SmrOutcome
impl RefUnwindSafe for SmrOutcome
impl Send for SmrOutcome
impl Sync for SmrOutcome
impl Unpin for SmrOutcome
impl UnsafeUnpin for SmrOutcome
impl UnwindSafe for SmrOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more