OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

energyinterop message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ENERGYINTEROP-696) Mantissa and Scale throughout spec


Toby Considine created ENERGYINTEROP-696:
--------------------------------------------

             Summary: Mantissa and Scale throughout spec
                 Key: ENERGYINTEROP-696
                 URL: https://issues.oasis-open.org/browse/ENERGYINTEROP-696
             Project: OASIS Energy Interoperation TC
          Issue Type: Bug
         Environment: [https://lists.oasis-open.org/archives/energyinterop-comment/202111/msg00007.html]ÂH Walter JohnsonÂ
            Reporter: Toby Considine
            Assignee: William Cox


|Interesting work. Thanks for the opportunity to review. Here are a few things I noticed as I read through the doc.Â
The definition of *Scale* in Table 3-3 appears to be incorrect. *Scale*Âis defined there as the *Mantissa that specifies the size of the Resource Unit* and the example given states that *megawatts*Âhas a mantissa of 6. Assuming we are working in base 10, the prefix mega- refers to the 6th power of 10 (10^6), where 6 is the EXPONENT of the number, not the mantissa. In standard scientific notation, *mantissa* refers to the digits without the 10^n part. Therefore, the definition of *scale* should be the EXPONENT of the size prefix (*mega* or 6 in the example), not the mantissa (the fractional part or *precision* of the number).Â
Â
Nevertheless, the effect of the definition of scale is correct: the example for *Size*Â(5 kW), with the explanation that the 5 is the size and 3 is the scale, makes sense, since the scale part of this is kilo-Ã (10^3) and thus the exponent (NOT the mantissa) of 5 x 10^3 is 3. But why is Size constrained to be an *integer*? Why not allow a Product to have a fractional Size (for example "0.5 MW") rather than requiring this to be expressed as *500 kW* (or even *500000 W*)?Â
Â
I'm not sure that I understand the example of *Stream Payload Mantissa* in Table 5-1, but it seems to contain the same confusion between mantissa and exponent.
Â
The definition of *Quantity Scale*Âin Table 6-2 definitely confuses mantissa and exponent.|



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]