pymgipsim.Utilities.Scenario

class settings(sampling_time: int, simulator_name: str, solver_name: str, save_directory: str, start_time: int, end_time: int, random_seed: int, random_state: dict)[source]

Bases: object

General, simulator wide settings.

Mirrors the settings field of the scenario JSON file.

Parameters:
  • sampling_time – Sampling time of the simulation [min].

  • solver_name – ODE solver name (Euler or RK4)

  • number_of_subjects – Cohort simulation size.

  • start_time – Start time of the simulation in %d-%m-%Y %H:%M:%S datetime format.

  • end_time – End time of the simulation in %d-%m-%Y %H:%M:%S datetime format.

  • simulator_name – Currently openloop single scale, will be extended with more capabilities.