reduce_model¶
Module for general model reduction class and function.
- class pymars.reduce_model.ReducedModel(model: Solution, filename: str = '', error: float = 0.0, limbo_species: list = [])¶
Represents reduced model and associated metadata
- pymars.reduce_model.trim(initial_model_file, exclusion_list, new_model_file, phase_name='')¶
Function to eliminate species and corresponding reactions from model
- Parameters:
- Returns:
new_solution – Model with species and associated reactions eliminated
- Return type:
ct.Solution