-
Notifications
You must be signed in to change notification settings - Fork 1
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
proposal to change representation of attributes and units #29
Comments
cim:UnitSymbol.W rdf:type cim:UnitSymbol ;
rdfs:comment "Real power in watts (J/s). Electrical power may have real and reactive components. The real portion of electrical power (I²R or VIcos(phi)), is expressed in Watts. See also apparent power and reactive power." ;
rdfs:label "W"@en ;
cim:UnitMultiplier.M rdf:type cim:UnitMultiplier ;
rdfs:comment "Mega 10**6." ;
rdfs:label "M"@en ;
cims:stereotype "enum" . and then a shape in er:Curve.y1Unit-datatype
rdf:type sh:PropertyShape;
sh:path cim:Curve.y1Unit;
sh:in ( cim:UnitSymbol.A cim:UnitSymbol.none cim:UnitSymbol.VPerVAr cim:UnitSymbol.WPerm2 cim:UnitSymbol.s cim:UnitSymbol.Pa cim:UnitSymbol.WPers cim:UnitSymbol.deg cim:UnitSymbol.degC cim:UnitSymbol.VAr cim:UnitSymbol.Hz cim:UnitSymbol.V cim:UnitSymbol.W cim:UnitSymbol.ohm ); So instead of "M" and "W" above, everywhere we should use cim:UnitMultiplier.M and cim:UnitSymbol.W respectively. |
This is very similar to 3lbits/CIM4NoUtility#338 but addresses some other aspects. |
#38 describe this in more detail, and rdfs-improvement/README in even more detail:
The last sec has mapping tables to QUDT. So let's NOT discuss here, let's discuss there. |
Currently datatypes are defined like this:
And then attributes (data props) are defined like this:
cim:GeneratingUnit.maxEconomicP rdf:type rdf:Property ; rdfs:domain cim:GeneratingUnit ; cims:dataType cim:ActivePower ; cims:stereotype <http://iec.ch/TC57/NonStandard/UML#attribute> .
There are several problems:
GeneratingUnit.maxEconomicP
in instance data is a a pure number)cim:ActivePower.unit
andcim:ActivePower.multiplier
are never usedcim:Float
is a non-standard datatype (egxsd:double
is a standard datatype)Proposals:
cim:GeneratingUnit.maxEconomicP a owl:DatatypeProperty.
cim:ActivePower.unit
andcim:ActivePower.multiplier
since they are not used (but if you like them, you can keep them)cim:ActivePower
, egThe text was updated successfully, but these errors were encountered: