KarrLab / wc_sim

A multi-algorithmic simulator for whole-cell models
MIT License
6 stars 2 forks source link

Submodels with no reactions or no propensity generate a large number of events #29

Closed jonrkarr closed 5 years ago

artgoldberg commented 5 years ago

Now Submodels with no reactions are not constructed. SSA submodels with propensity == 0 are handled by 2 cases: 1) if the SSA submodel is the entire simulation, schedule a noop event for it at time infinity 2) otherwise, have the SSA simulation wait, because other submodels can change the populations of its reactants Naturally, more sophisticated algorithms for this are possible.