Logical Elements

GoldSim provides a number of operators which allow you to create conditional expressions (e.g., A>B, A>B and C < D, A==B). Conditional expressions are powerful because they allow you to add conditional logic to your models.

If the conditional expression is simple, you can create the expression directly in the input field to an element. If, however, your conditional expression is very complex and/or it is important to make your conditional logic very transparent, GoldSim’s three logical elements (And, Or, Not) are very useful. You use these three simple elements to visually display conditional logic:

In addition to the And, Or and Not elements, GoldSim provides an additional element that provides an alternative way to create complex logic by using a logic tree (consisting of And, Or, Not and N-Vote gates):

Text

Description automatically generated

Each of the Logical elements is discussed in the topics below. An example model which uses all four Logical elements (Logical.gsm) can be found in the General Examples folder in your GoldSim directory (accessed by selecting File | Open Example... from the main menu).

Related Topics…

Learn more about: