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
Bill Denney


Posts: 32
Registered:
March 2006
Re: What to do about his unit checking case 09 Feb '07 06:48 Go to previous messageGo to previous message

Michael Hucka wrote:
> To cope with this, we are tentatively thinking of using the
> following set of guidelines:
>
> 1) If the number is the only thing contained inside a <math>
> (such as the original example involving a delay on
> Events), assume that the units of the number are the
> units defined for that field (so, timeUnits for delays).
>
> 2) In all other cases, assume pure numbers have no units.
>
> This handles the first case, and also addresses the second
> case. (In the second case, there would be a unit validation
> failure because the "2" would not have units and therefore
> the overall expression could not have consistent units.)
>
Well, this isn't really too bad. In many formula (especially
empirically defined), there are numbers with units put in to make the
units work. Numbers could be assumed to be dimensionless, and people
could be required to use unit-fixing factors.

One other solution could be to add a mathUnits attribute to the element
containing the math. The mathUnits could be assumed to be treated like
the number 1 with mathUnits multiplied by any units used by any other
variables. I.e. for your example:

<stoichiometryMath mathUnits="metre">
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<plus/>
<ci> S </ci>
<cn> 2 </cn>
</apply>
</math>
</stoichiometryMath>

The units for the math expression would be metre*(the units of S).

Have a good day,

Bill
____________________________________________________________
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.