| Author | Topic |
Posts: 961
Registered: October 2003
|
|
Re: What to do about his unit checking case
|
23 Feb '07 11:24

|
 |
|
Stefan,
The definition of a single parameter with the right units is
very clever! As you probably guessed, what I originally
meant was that instead of using raw numbers at all, e.g.,
<apply>
<times/>
<cn> 42 </cn>
<ci> TimeUnit </cn>
</apply>
you would define some parameter called "Whatever42means" and
then use *that*. So, e.g.,
<listOfParameters>
<parameter id="Whatever42means" value="1" units="WhateverUnits"/>
...
</listOfParameters>
then in place of the <apply>...</apply>, you just use
<cn> Whatever42means </cn>
instead of an apply multiplying 42 by a quantity of "1"
declared with the appropriate units. In some sense, this is
just good modeling practice (don't embed constants into your
math formulas, but rather make them parameters). But what
you describe would reduce the number of parameters that have
to be defined, at the small cost of increasing the
complexity of the formulas themselves.
This also means there are a couple of ways of accomplishing
this goal, which is good, because it gives people some
flexibility.
MH
____________________________________________________________
To manage your sbml-discuss list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-discuss
For a web interface to the sbml-discuss mailing list, visit
http://sbml.org/forums/
For questions or feedback about the sbml-discuss list,
contact sbml-team@caltech.edu.
|
|
|