.Buildings.Controls.OBC.CDL.Logical.Pre

Breaks algebraic loops by adding a delay of the output without advancing time (y = pre(u): event iteration continues until u = pre(u))

Information

This block delays the Boolean input by an infinitesimal small time delay and therefore breaks algebraic loops. In a network of logical blocks, in every closed connection loop, at least one logical block must have a delay, since algebraic systems of Boolean equations are not solvable.

This block returns the value of the input signal u from the last event iteration. The event iteration stops once both values are identical, i.e., if u = pre(u).

Revisions


Generated at 2025-04-26T18:20:16Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos