AMEE API / Calculation
The AMEE API performs calculations to determine CO2 emission amounts. There are three parts of the API that perform calculations. These are:
- The Profile Item Resource in the Profile API.
- The Profile Category Resource in the Profile API.
- The Data Item Resource in the Data Api.
See the individual resource pages listed above to learn how to perform calculations.
Calculated CO2 amounts are only stored in Profile Items. Profiles and Profile Categories can represent multiple time-frames so storing CO2 emission amounts here is not rational.
Calculations are performed in conjunction with Item Definitions, Item Value Definitions, Data Items, Data Item Values, Profile Items, Profile Item Values and Algorithms.
Precision
All decimals within AMEE that take part in calculations are subject to precision constraints.
- Precision: 19
- Scale: 3
- Range: -999,999,999,999,999,999.999 to 999,999,999,999,999,999.999
