ModelicaBook icon indicating copy to clipboard operation
ModelicaBook copied to clipboard

Unit issue in EvaluationTest1 and Differentiation2

Open maltelenz opened this issue 2 years ago • 0 comments

Here: https://github.com/mtiller/ModelicaBook/blob/a8677a650f4d84322914e18b06b26c8f1e7c387f/ModelicaByExample/Functions/Polynomials/EvaluationTest1.mo#L4-L7

The equation yp = time^2-2*time+2 is questionable from a unit perspective, since it subtracts things with units s2 and s, which are not compatible units.

The same issue exists in the model Differentiation2.

maltelenz avatar Apr 06 '23 09:04 maltelenz