-
Notifications
You must be signed in to change notification settings - Fork 2
Future enhancements
This page is merely to keep track of things that arise that could currently cannot be dealt with but that it would be good to support in the future.
Models may well have variables that are considered to be species or parameters. At present we translate the model such that all variables are considered to be one or the other; we need to allow there to be mixtures.
User code may well use mathematical expressions to assign values to things that remain constant throughout the remainder of the model. These can be represented in SBML as InitialAssignments but at present the XPP->SBML conversion does not support them and so values need to be calculated and hard coded.
Example in MATLAB
a = 10
b = a + 5
would become
<parameter id="a" value="10"/>
<parameter id="b" value="15"/>
which essentially loses the information that b depends on a.
This is a hard one but it does need to be considered.
Allow users to assign units to things and make these consistent with the produced SBML.
MATLAB scoping means that a file may refer to functions in files within the same directory. We have examples of user models that use this facility to split the model code between multiple files. It is also possible that files may refer to functions that exist elsewhere on the user's MATLAB path. We need to consider this possibility.