BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8

# .BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8

Common subexpression elimination example

## 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

- July 14, 2015, by Michael Wetter:
  Revised documentation.
- June 18, 2015, by Filip Jorissen:
  First implementation.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos