Skip to content

Where is der(v, N) defined? #3857

@casella

Description

@casella

The Modelica grammar has:

result-reference :
   component-reference
   | time
   | der "(" ( component-reference | time ) [ "," UNSIGNED-INTEGER ] ")"

which is also referred to in Section 18.5.2.3.

However, the definition of Operator 3.11 der in Section 3.7.4 just says:

der(𝑒𝑥𝑝𝑟)
The time derivative of 𝑒𝑥𝑝𝑟. If the expression 𝑒𝑥𝑝𝑟 is a scalar it needs to be a subtype of Real.

I guess this should be updated, explaining the meaning of the optional second integer input of the operator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions