| CPC G16H 50/50 (2018.01) [G06N 7/01 (2023.01); G16B 5/20 (2019.02); G16H 50/20 (2018.01)] | 9 Claims |

|
1. A method performed by a computer system for simulating a biological system, the method comprising:
accessing a definition of a model of the biological system, the definition specifying components of the model and connections between outputs and inputs of the components, each component having output component code for calculating output of the component, the components including a cell aging component for modeling aging of cells of the biological system using a differential equation that is implemented by a differential equation component code of the cell aging component;
establishing identifiers for parameters, states, the inputs, and the outputs of the components of the model;
generating implementation code that:
includes a differential equation function based on the differential equation component code of the cell aging component;
calculates outputs of the components as specified by the output component codes of the components; and
sets inputs of the cell aging component based on outputs of connected components to which the inputs are connected including transitively setting an input of a connected component to the output of a component to which it is connected; and
simulating, using the implementation code, behavior of the biological system from a current simulation time to a next simulation time, wherein the simulating comprises invoking a differential equation solver to solve the differential equation as represented by the differential equation component code; wherein:
the cell aging component comprises a state that includes a current cell age distribution for the current simulation time and one or more of a first probability density function (PDF) for a cell birth rate, a second PDF for a cell reduction rate, or a third PDF for a cell aging rate; and
the invoked differential equation solver generates a next cell age distribution for the next simulation time using one or more values sampled from the one or more of the first PDF for the cell birth rate, the second PDF for the cell reduction rate, or the third PDF for the cell aging rate.
|