Turning a Controller On and Off

All Controllers have an additional set of inputs (unrelated to the method-specific inputs) that impact their behavior. In particular, the Controller can be triggered “On” or “Off”. This is done at the bottom of the dialog:

Note that the drop-list contains three options:

If “Not Used” is selected, the two buttons are grayed out. Otherwise, these buttons provide access to triggers that allow you to turn the Controller On or Off:

If the Controller is “On” (or the switch is “Not Used”), the output is computed according to the specified method. If the Controller is “Off”, the output is set to zero.

This allows you to deactivate the Controller under specific circumstances (e.g., if you don’t want to Controller to operate when certain conditions are met, or if the Controller cannot operate due to a failure of some kind).

An example model which illustrates the basic use of the On/Off switches for a Controller (ControllerOnOff.gsm) can be found in the General Examples/Controllers folder in your GoldSim directory (accessed by selecting File | Open Example... from the main menu).