exact

class jsf.exact.JumpClock(clock: jsf.types.Time, start_time: jsf.types.Time)

Bases: object

clock: Time
set_clock(new_clock: float) None
start_time: Time
jsf.exact.JumpSwitchFlowExact(x0: SystemState, rates: Callable[[SystemState, Time], List[float]], stoich: Dict[str, Any], t_max: Time, options: Dict[str, Any]) Trajectory

Simulate a jump-switch flow model numerically by using forward-Euler. It is exact in the sense that it does not use operator splitting.

Args:

x0: Initial state. rates: Function that computes reaction rates. stoich: Stoichiometry matrix. t_max: Maximum time to simulate. options: Simulation options.

Returns:

Trajectory of the simulation.