OpenEnergyPlatform / ontology

Repository for the Open Energy Ontology (OEO)
Creative Commons Zero v1.0 Universal
111 stars 22 forks source link

Composed units need relations #1815

Closed chrwm closed 8 months ago

chrwm commented 9 months ago

Description of the issue

When units are composed the concept per e.g. €/MW and times e.g. m/s^2 are needed

Ideas of solution

Add per Add times

Workflow checklist

I am aware that

l-emele commented 9 months ago

Solution from physical OEO dev meeting:

m/s EquivalentTo: unit and has_linear_unit_numerator m and has_denominator s
kg/m³ has_numerator kg and has_cubed_denominator m

km/s has_numerator km and has_denominator s

MWh/km has numerator (has_prefix mega and Wh) and 

Wh has_numerator W and has_numerator h

relation_between_units as subclasses of has_part
has_unit_numerator: A relation between a (composed) unit A and a unit B in which B is in the numerator of unit A.
    has_linear_unit_numerator: A relation between a (composed) unit A and a unit B in which B is in the numerator of unit A with exponent 1.
    has_squared_unit_numerator
    has_cubed_unit_numerator
has_unit_denominator
    has_linear_unit_denominator
    has_squared_unit_denominator
    has_cubed_unit_denominator

I will implement.