.Modelica_Requirements.Examples.Elementary.ChecksInFixedWindow.WithinDomain

Example for WithinDomain (in every true condition phase, point input must be within domain defined by polygon)

Information

Using check block WithinDomain as

displays the polygon and the point in the icon of the block. If the point is within the polygon, the point is displayed in green and the polygon area in grey (the grey point on the polygon marks the polygon point that is closest to the point). If the point is outside of the polygon, it is displayed in red and the polygon area in light red:

Simulating this examples results in

simulation result

Note, that the point is outside of the domain defined by the polygon if distance < 0.


Generated at 2025-03-09T19:25:01Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos