ModelicaBook
ModelicaBook copied to clipboard
Unit issue in EvaluationTest1 and Differentiation2
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.