Skip to content

USCustomaryUnits.sysml:255: 229835/900 [K] binds [K] to 900 only #126

Description

@mhoh79

sysml.library/Domain Libraries/Quantities and Units/USCustomaryUnits.sysml, line 255:

private attribute zeroDegreeFahrenheitInKelvin: ThermodynamicTemperatureValue = 229835/900 [K];

By KerMLExpressions.xtext (release 2026-07), MultiplicativeExpression descends through ExponentiationExpression, UnaryExpression and ExtentExpression to PrimaryExpression, where '[' SequenceExpression ']' is a postfix of the primary before it. So the value parses as 229835 / (900 [K]), of dimension Θ⁻¹ rather than Θ.

The intended 255.372 K needs (229835/900) [K]. OpenSysML's sysml-grpc v0.4.0, which checks dimensions, reports it at 255:89: "cannot bind a value of dimension Θ^-1 to a feature typed by ThermodynamicTemperatureValue (dimension Θ)".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions