Finding Recursive Loops

When using the Function Of or Affects View on an element that is within a feedback or recursive loop, GoldSim will stop building a branch of the dependency tree as soon as an item is repeated (and it will mark this as a “loop”). 

For example, if A is a function of B, B is a function of the previous value of  C, and C is a function of A, the Function Of View for A would look like this:

When using the Find function (Ctrl+F) in a Function Of or Affects view, one of the options is to search in Labels.  If this is selected, and you enter “loop”, GoldSim will find the next loop in the list (since it will find the word “loop” in the label for the element).  When using this search method, GoldSim will find all the loops (both feedback loops and recursive loops) in the model.

Related Topics…

Learn more about: