A logical error

Answered

Comments

4 comments

  • Official comment
    Avatar
    Rick Kossik

    No, unlike Excel, GoldSim only supports values and boolean outputs and does not support strings (which you would typically use as the iferror value). If there is an error of any sort GoldSim will mark the field as red and display a error message (in Edit Mode) or throw a Fatal Error (in Run Mode).

    Comment actions Permalink
  • Avatar
    Peter Serey

    Hi Rick, 

    Thanks for your response. You mentioned throwing a Fatal Error (in Run Mode). Could you please elaborate this further? 

    0
    Comment actions Permalink
  • Avatar
    Rick Kossik

    For example, if in the middle of a simulation, there was a divide by zero error, the simulation would stop and this error would appear:

    You can also use the Interrupt element to pause the model (for non-fatal errors): https://help.goldsim.com/#!Modules/5/interruptingasimulation1.htm

    0
    Comment actions Permalink
  • Avatar
    Jason

    Not sure if this helps but just wanted to add that you can generate user-defined error interrupts, messaging, and logging based on your own triggers in the model.

    0
    Comment actions Permalink

Please sign in to leave a comment.