draeger-lab / SBSCL

The Systems Biology Simulation Core Library (SBSCL) provides an efficient and exhaustive Java implementation of methods to interpret the content of models encoded in the Systems Biology Markup Language (SBML) and its numerical solution.
https://draeger-lab.github.io/SBSCL/
GNU Lesser General Public License v3.0
20 stars 13 forks source link

Simulation of models with reaction without reactants and products #41

Closed hemilpanchiwala closed 4 years ago

hemilpanchiwala commented 4 years ago

As the new SBML Level 3 Version 2 models now allow for reactions without reactants and products, this support has to be added to the SBSCL simulator. Currently, the simulation fails with a warning by giving NaN values in results.

The result after simulating the test case 1300 from SBML Test Suite:

 WARN (SBMLCoreParser.java:477) - The reaction 'J0' does neither contain any reactants nor products.
[Time] [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0], [p1], [NaN], [NaN], [NaN], [NaN], [NaN], [NaN], [NaN], [NaN], [NaN], [NaN], [NaN]]

A similar problem exists for test case 1301 and 1302.