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.
The Modelica grammar has:
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.