STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
cea_cache.py File Reference

Go to the source code of this file.

Classes

class  engine.pipeline.cea_cache.CEACache
class  engine.pipeline.cea_cache.CEAAuxTables

Namespaces

namespace  engine
namespace  engine.pipeline
namespace  engine.pipeline.cea_cache

Functions

bool engine.pipeline.cea_cache._cea_build_allowed ()
float engine.pipeline.cea_cache._isentropic_cf_vac (float gamma, float eps)
float engine.pipeline.cea_cache._scalar_clamp (float x, float lo, float hi)
 engine.pipeline.cea_cache._get_CEA_Obj ()
 engine.pipeline.cea_cache.safe_print (*args, **kwargs)
Tuple[float, float, float, float, float, float] engine.pipeline.cea_cache.parse_cea_basic (str out)
List[Tuple[int, int, int, float, float, float, float, float, float]] engine.pipeline.cea_cache._compute_cea_point_chunk (List[Tuple[int, int, int, float, float, float]] chunk, str ox_name, str fuel_name, Optional[float] expansion_ratio=None, Optional[Any] lock=None)
Dict[str, np.ndarray] engine.pipeline.cea_cache._load_npz_tables (str path)
Tuple[int, float, bool] engine.pipeline.cea_cache._aux_axis (np.ndarray grid, float x, bool log)
np.ndarray engine.pipeline.cea_cache._fill_nan_nearest (np.ndarray a)
CEAAuxTables engine.pipeline.cea_cache.get_aux_tables (str ox_name, str fuel_name)

Variables

int engine.pipeline.cea_cache.CEA_TABLE_SCHEMA_VERSION = 2
 engine.pipeline.cea_cache._CEA_Obj = None
 engine.pipeline.cea_cache.logger = logging.getLogger("evaluate")
 engine.pipeline.cea_cache._original_print = print
 engine.pipeline.cea_cache.print = safe_print
 engine.pipeline.cea_cache.encoding
 engine.pipeline.cea_cache.errors
 engine.pipeline.cea_cache.stdout
 engine.pipeline.cea_cache.buffer
dict engine.pipeline.cea_cache._NPZ_TABLE_MEMO = {}
int engine.pipeline.cea_cache.CEA_AUX_SCHEMA_VERSION = 1
tuple engine.pipeline.cea_cache.AUX_SPECIES = ("H2O", "CO2", "CO", "H2", "OH", "O2", "O", "H")
 engine.pipeline.cea_cache._AUX_MR = np.round(np.linspace(0.8, 4.0, 65), 6)
 engine.pipeline.cea_cache._AUX_PC = np.geomspace(1.0e5, 1.2e7, 16)
 engine.pipeline.cea_cache._AUX_EPS = np.geomspace(1.1, 60.0, 48)
float engine.pipeline.cea_cache._PSI = 6894.757293168361
float engine.pipeline.cea_cache._BTU_LBM_R = 4186.8
float engine.pipeline.cea_cache._MILLIPOISE = 1.0e-4
float engine.pipeline.cea_cache._MCAL_CM_S_K = 0.4184
dict engine.pipeline.cea_cache._AUX_MEMO = {}