Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(quantity): create @archetypes/quantity module #3

Open
20 tasks done
gregswindle opened this issue Dec 2, 2019 · 0 comments
Open
20 tasks done

feat(quantity): create @archetypes/quantity module #3

gregswindle opened this issue Dec 2, 2019 · 0 comments
Assignees

Comments

@gregswindle
Copy link
Collaborator

gregswindle commented Dec 2, 2019

briefcase Feature Request

1. User story

As an API consumer,
I need to consistently compare and calculate amounts of things
In order to express quantitative relationships.

2. Acceptance criteria

We'll be done when we can represent quantities with a:

  • 1. Metric, which represents a standard of measurement for quantities
  • 2. Unit, which represents a type of Metric that is part of a SystemOfUnits
  • 3. SystemOfUnits, which represents a set of related Units defined by a standard such as the International System of Units (SI)
  • 4. DerivedUnit, which represents a combination of one or more base Units according to a specific equation
  • 5. DerivedUnitTerm, which represents a term (i.e., a single Unit and its power, e.g., s–1) within a DerivedUnit
  • 6. Quantity, which specifies an amount that is measured in some Metric, and uses
  • 6.1. Arithmetic operations (add, subtract, multiply, and divide)
  • 6.2. Comparison operations (equalTo, greaterThan, lessThan)
  • 6.3. RoundingPolicy to define the mathematical semantics of the rounding operation
  • 6.4. RoundingStrategy to represent the type of rounding to be applied
  • 7. StandardConversion, which defines a conversionFactor that can be used to convert a Quantity in a source Unit to a Quantity in a target Unit
  • 8. UnitConverter, which represents the conversion process
  • 9. SIBaseUnit, which represents one of the base units defined in SI
  • 9.1. Meter: SI unit of length
  • 9.2. Kilogram: SI unit of mass
  • 9.3. Second: SI unit of time
  • 9.4. Ampere: SI unit of electric current
  • 9.5. Kelvin: SI unit of temperature
  • 9.6. Mole: SI unit of amount of substance
  • 9.7. Candela: SI unit of luminous intensity

3. Notes

⌦ Provide additional information here, if you need to.

@gregswindle gregswindle self-assigned this Dec 2, 2019
gregswindle added a commit that referenced this issue Dec 2, 2019
gregswindle added a commit that referenced this issue Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant