|
|
Choosing A Webhost: |
Re: Dimensional consistency and units conversions (was [Fwd: Re: ten Tussch: msg#00045text.xml.cellml.general
> > The CellML specification distinguishes expansion and simplification. The > expansion algorithm given maintains a scale factor in the expanded unit, > and hence the *expansion* of m/km is *not* the same as dimensionless. It > is only when you then simplify that the scale factor is lost. For > checking dimensional consistency, this is fine. For performing units > conversions, it is not, and so the units conversion algorithm in the spec > does *not* drop the scale factor, even though it claims in the text that > the units involved are "fully expanded and simplified", this is according > to C.3.4 (expansion) not C.3.1 (simplification). > > So there are two separate questions here: > 1) checking the dimensional consistency of mathematics Which we can already do given our variables and constants need to all have dimensions and it is easy to discover if they do not. > 2) ensuring a sensible semantics for simulating a model > What are sensible semantics in the case of 'units'? How do you ensure something like units consistency has been applied correctly by an author? You are never going to be able to ensure any unit multiplication factors are correct, even if they are given units of their own. going back to the following equation Andrew supplied: amount_Na [nmol] = 10^-6 [dimensionless] * conc_Na [nmol / L] * vol[microL] How do you make this more 'valid'? (it is already valid dimensionally and numerically). Also, I'm not sure what 'converting units at connections' has to do with this discussion - that only ensures value consistency in the assigning of values to inputs and outputs of components and has nothing to do with ensuring units consistency inside the math. cheers Matt
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Identifying time-points at which themodelbecomes stiff, David Nickerson |
|---|---|
| Next by Date: | Re: Dimensional consistency and unitsconversions (was [Fwd: Re: ten Tusscher model]), David Nickerson |
| Previous by Thread: | Dimensional consistency and units conversions (was [Fwd: Re: ten Tusscher model]), Jonathan Cooper |
| Next by Thread: | Re: Dimensional consistency and unitsconversions (was [Fwd: Re: ten Tusscher model]), David Nickerson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |