Remaining items from this section of #21
@MauriceHendrix it would be useful if you added things here as you encounter them; since I think these are things that will directly impact you
get_equations_for features:
for x in symbols:
equations.append(model.get_equations_for([x]))```
* [ ] Can we add a feature that stops recursion past a list of given symbols, so you don't include those symbols or their dependencies? right now I've got to do:
```equations = []
for x in symbols:
if x not in unwanted_symbols:
equations.append(model.get_equations_for([x]))```
Remaining items from this section of #21
Renaming variables if needed?Mark a variable asModifiable parameterSystem output of interest (also called derived quantity in pycml)Cython + CVODE code gen- this is more for weblab-cgBasic system of ODEsAdd interfaces for setting parameters & reading outputsHandling a purely algebraic system@MauriceHendrix it would be useful if you added things here as you encounter them; since I think these are things that will directly impact you
Would be useful if model.get_symbols accepted a list instead of single equation
model.get_symbols([eqations])Would be useful to have a sort of "dimensionally_equivalent" (that's how pycml calls it) which cheks of 2 things are in the same sort of unit, ignoring conversion factor
Shortcut functions requested:
shortcut for factor = model.units.get_conversion_factor(1 * current_units, secondary_units)ideally I guess I'd do something like
factor = model.get_conversion_factor(eq.lhs, desired_units)(and return 1.0 if the units are the same)? see Shortcut conversion factor #98get_equations_for features:
the lexicographical_sort flag is not quite what I needNo longer needed.Would it be possible to have the output ordered according to the input symbols. so that I don't have to do: