Ontology: add aggregation type for temporal data

Created on 19 Oct 2020  路  8Comments  路  Source: OpenEnergyPlatform/ontology

Description of the issue

An aggregation type is usually part of the description of a time step. This appeared in #267, see https://github.com/OpenEnergyPlatform/ontology/issues/267#issuecomment-694194730 and https://github.com/OpenEnergyPlatform/ontology/issues/267#issuecomment-708337709

Ideas of solution

We could implement this analogous to time stamp alignment:

  • a class aggregation type that is a subclass of data descriptor
  • individuals of this class that represent the different possible aggregation types

Aggregation types mentioned so far:

  • sum/integrated
  • mean
  • instantaneous

Workflow checklist

  • [ ] I discussed the issue with someone else than me before working on a solution
  • [ ] I already read the latest version of the workflow for this repository
  • [ ] The goal of this ontology is clear to me

I am aware that

  • [ ] every entry in the ontology should have a definition
  • [ ] classes should arise from concepts rather than from words
[A] new term

Most helpful comment

Also _mean_ shold be called "arithmetic mean". Are other types of _mean_ used for the aggregation, too?

Suggestion for a definition: _An aggregation type is a data descriptor that contains information on the aggregation method applied on a data set._

We could add an example of usage here, too. E.g. temporal aggregation of continuous measurements for discrete a time series, aggregation of a data set with a spatial references

All 8 comments

We should also add "maximum" and "minimum" to the aggregation types. A typical "maximum" are e.g. wind gust in a time interval. Similar could be maximum and minim prices in the time series.
A further option could be something like "number", e.g. if we count the number of flahes in a thunder storm within a time interval. Or maybe something how often a thereshold of a price level is surpassed.

And another one: "flags" could als be a possibility, e.g. for quality control flags of measurement time series.

Number could occur e.g. as the number of values used to create an average in an aggregation process.

Also _mean_ shold be called "arithmetic mean". Are other types of _mean_ used for the aggregation, too?

Suggestion for a definition: _An aggregation type is a data descriptor that contains information on the aggregation method applied on a data set._

We could add an example of usage here, too. E.g. temporal aggregation of continuous measurements for discrete a time series, aggregation of a data set with a spatial references

Do individuals also get definitions @sfluegel05 ?

I'd say, "number" (e.g. of flashes) is the same as "sum/integral".

So far, we have some individuals without definitions and some that have definitions. In general, I'd say definitions are not necessary for individuals, because there is just one of them.
In this case it might be nice to have some examples or definitions so everyone understands what is meant by a term.

Defs for the instances. Apart from instantaneous, all other instances can be used for temporal AND spatial aggregation. Maybe we have to specify "spatial region" when classes for georeferencing are implemented. But for now:

  • instantaneous: _value measured at or modelled for exactly one 0-dim temporal region, referenced by a time stamp, e.g. to represent a time step in a time series_
  • integral: _sum or integral of values, e.g. within a time step or a spatial region_
  • arithemetic mean: _average value claculated by arithmetic mean over a set of data values, e.g. within a time step or spatial region_
  • minimum: _minimum value within a set of data values, e.g. in a time step or spatial region_
  • maximum: _maximum value within a set of data values, e.g. in a time step or spatial region_

For "flag" we should find another place than aggregation type, propably as own data descriotor subclass. Any ideas for a definition @carstenhoyerklick?

I'd propose to implement what we have and discuss "flag" in another issue, so that we can close here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fabianneuhaus picture fabianneuhaus  路  4Comments

sfluegel05 picture sfluegel05  路  6Comments

stap-m picture stap-m  路  8Comments

l-emele picture l-emele  路  5Comments

sfluegel05 picture sfluegel05  路  7Comments