Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-discuss » units in sbml l2v3
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Nicolas Le Novere


Posts: 469
Registered:
October 2003
Re: units in sbml l2v3 05 Jun '07 00:47 Go to previous messageGo to previous message

On Tue, 5 Jun 2007, Sven Sahle wrote:

> It is quite obvious that if you encode a unit in sbml using the "new way" and
> then interprete it the "old way", as you did, the result will be wrong. If
> you encode the old way, and then interprete the old way, it will be correct:
>
> sbml code old way:
> <listOfUnitDefinitions>
> <unitDefinition id="umolPerSqIn">
> <listOfUnits>
> <unit kind="mole" scale="-6" />
> <unit kind="metre" multiplier="0.00064516" exponent="-2" />
> </listOfUnits>
> </unitDefinition>
> </listOfUnitDefinitions>
>
> old interpretation: mole x 1e-6 x 0.00064516 m^(-2)
>
> new interpretation: mole x 1e-6 x (0.00064516 m)^(-2)
>
> The first is right, the second is wrong. Which is understandable, since it was
> encoded the old way. And I can see that in this example the new way looks
> more intuitive.
>
> What I really do not get at all is: Why do you consider the old
> interpretation "wrong"? Itīs just a mathematical definition.
>
> Old: Unit=multiplier*10^scale*baseunit^exponent
> New: Unit=(multiplier*10^scale*baseunit)^exponent

Sven, you are right of course. But a little unfair. To be honest, at the time of L2V1 release I don't think the majority of people writting unit conversion software would have considered

<unit kind="metre" multiplier="0.00064516" exponent="-2" />

as the correct way to encode for "per square inch". This is what we would write now after all the discussions we had, in order to tweak the broken unit system to nevertheless get the result right.

I may be wrong, so I'll stop here. It seems we all agree anyway :-)

--
Nicolas LE NOVERE, Computational Neurobiology,
EMBL-EBI, Wellcome-Trust Genome Campus, Hinxton, Cambridge, CB10 1SD, UK
Tel: +44(0)1223494521, Fax: 468, Mob: +44(0)7833147074 Skype:n.lenovere
http://www.ebi.ac.uk/~lenov, AIM: nlenovere, MSN: nlenovere@hotmail.com

      

SubjectPosterDate
Read Message   units in sbml l2v3 Ralph Gauges30 May '07 06:21
Read Message   Re: units in sbml l2v3 Mike Hucka01 Jun '07 14:07
Read Message   Re: units in sbml l2v3 Sven Sahle01 Jun '07 16:36
Read Message   Re: units in sbml l2v3 Mike Hucka03 Jun '07 11:46
Read Message   Re: units in sbml l2v3 Sven Sahle04 Jun '07 08:36
Read Message   Re: units in sbml l2v3 Stefan.Hoops04 Jun '07 11:28
Read Message   Re: units in sbml l2v3 Sven Sahle04 Jun '07 13:06
Read Message   Re: units in sbml l2v3 Ralph.Gauges04 Jun '07 13:27
Read Message   Re: units in sbml l2v3 Nicolas Le Novere04 Jun '07 13:58
Read Message   Re: units in sbml l2v3 Nicolas Le Novere04 Jun '07 14:42
Read Message   Re: units in sbml l2v3 Sven Sahle04 Jun '07 15:38
Read Message   Re: units in sbml l2v3  Nicolas Le Novere05 Jun '07 00:47
Read Message   Re: units in sbml l2v3 Sven Sahle05 Jun '07 03:59
Read Message   Re: units in sbml l2v3 Mike Hucka06 Jun '07 23:19
Read Message   Re: units in sbml l2v3 Mike Hucka06 Jun '07 23:42
Previous Topic:DSMTS for SBML L2v3
Next Topic:Re: [Biomodels] Eight release of BioModels Database
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.