Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-discuss » What to do about his unit checking case
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Mike Hucka


Posts: 961
Registered:
October 2003
Re: What to do about his unit checking case 23 Feb '07 11:24 Go to previous messageGo to previous message

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.

      

SubjectPosterDate
Read Message   What to do about his unit checking case Mike Hucka08 Feb '07 18:11
Read Message   Re: What to do about his unit checking case Upinder Singh Bhalla08 Feb '07 18:22
Read Message   Re: What to do about his unit checking case Mike Hucka10 Feb '07 17:40
Read Message   Re: What to do about his unit checking case Bill Denney09 Feb '07 06:48
Read Message   Re: What to do about his unit checking case Mike Hucka11 Feb '07 12:04
Read Message   Re: What to do about his unit checking case Darren J Wilkinson11 Feb '07 13:59
Read Message   Re: What to do about his unit checking case Stefan.Hoops12 Feb '07 08:55
Read Message   Re: What to do about his unit checking case Darren J Wilkinson12 Feb '07 11:08
Read Message   Re: What to do about his unit checking case Mike Hucka22 Feb '07 13:39
Read Message   Re: What to do about his unit checking case Nicolas Le Novere22 Feb '07 14:21
Read Message   Re: What to do about his unit checking case Mike Hucka22 Feb '07 14:53
Read Message   Re: What to do about his unit checking case Stefan.Hoops23 Feb '07 05:40
Read Message   Re: What to do about his unit checking case  Mike Hucka23 Feb '07 11:24
Read Message   MathML help Tommaso Mazza01 Mar '07 08:58
Read Message   Re: MathML help Nicolas Le Novere01 Mar '07 14:10
Read Message   Re: MathML help Tommaso Mazza02 Mar '07 00:15
Read Message   Re: MathML help Mike Hucka02 Mar '07 14:39
Read Message   Re: MathML help Tommaso Mazza03 Mar '07 02:23
Previous Topic:bipartite graphs from SBML
Next Topic:time symbol in SBML
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.