Search code examples
modelicadymola

In Dymola, How to find which component that the wrong equations belong to?


If I build a model in Dymola, but in translation, there is a warning about incompatible units of equations, but just according to the warning message, I can't find which components that the wrong equations belong to. So how could I find it in Dymola?

enter image description here


Solution

  • I agree that Dymola should include more information about equations in unit-checking. However, we can see that:

    • It doesn't seem to be in a function, as it is an equation for a derivative.
    • It doesn't seem to be in heatExchangerFixedTemperature as all variables do not start with that prefix (unless T_amb is a package constant). It would thus seem that the equation is directly in the current model, or in one of its base-classes.