Clone model simulation
Run clone simulation models based on specified configurations. There are various simulation modes available to model different growth goals.
- bioreactormodelling.biosim.new_clone_simulation.run_clone_simulation(fit_config: FitConfiguration, column_map: ColumnMapping, fitted_model: ModelCoefficients, initial_conditions: dict[str, float], batch: str, simulation_mode: SimulationModes, config: CloneConfig, productivity: float | None = None) tuple[DataFrame, DataFrame]
Run a clone simulation with the given configuration and initial conditions
- Parameters:
fit_config (FitConfiguration. The configuration for the fitting)
column_map (ColumnMapping. The mapping of the columns in the data to the model variables)
fitted_model (ModelCoefficients. The fitted model coefficients)
initial_conditions (dict. The initial conditions for the simulation)
batch (str. The batch id for the simulation)
simulation_mode (SimulationModes. The mode of the simulation)
config (CloneConfig. The configuration for the clone simulation)
productivity (float, optional. The specific productivity, by default None)
- Returns:
pandas.DataFrame, pandas.DataFrame
The simulated data and the summary statistics