rizer.hybrid.engineering_model.model.expansion#

Classes#

ExpansionModel

Compute temperature and pressure during the expansion phase.

Module Contents#

class rizer.hybrid.engineering_model.model.expansion.ExpansionModel(inputs: rizer.hybrid.engineering_model.dataclass.expansion.ExpansionInputs)#

Compute temperature and pressure during the expansion phase.

Main assumptions of the expansion model are:

  • (a1) 1D cylindrical configuration.

  • (a2) Inviscid flow.

  • (a3) Calorically perfect gas.

  • (a4) Constant adiabatic index and molar mass inside and outside the kernel.

  • (a5) Ideal gas.

  • (a6) Gas initially at rest.

  • (a7) Negligible heat diffusion.

  • (a8) Stepwise initial profiles for T and P.

  • (a9) Reversible and adiabatic expansion in the enclosed domain.

Parameters:

inputs (ExpansionInputs) – Inputs for the expansion model.

Notes

The expansion model is based on the equations (Eq. 17 and 18) of [Roger2026].

inputs#
T1(t: float) float#
P1(t: float) float#
solve(t_eval: numpy.ndarray) rizer.hybrid.engineering_model.dataclass.expansion.ExpansionOutputs#

Compute the temperature and pressure at the given time points.

Parameters:

t_eval (numpy.ndarray) – Time points at which to evaluate the temperature and pressure.

Returns:

Temperature and pressure at the given time points.

Return type:

ExpansionOutputs