.Buildings.Fluid.Examples.Performance.Example8

Information

This is a very simple example demonstrating common subexpression elimination. The Dymola generated C-code of this model is:

W_[0] = sin(Time+1);
W_[1] = W_[0];

Hence, the sine and addition are evaluated once only, which is more efficient.

Revisions


Generated at 2021-05-11T00:32:40Z by OpenModelicaOpenModelica 1.18.0~dev-269-g83ff1a1 using GenerateDoc.mos