Hi,
If there is any function in goldsim we can use to reflect a logical error (i.e., in excel we use iferror function).
Regards,
Peter
Hi,
If there is any function in goldsim we can use to reflect a logical error (i.e., in excel we use iferror function).
Regards,
Peter
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).
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
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.
Please sign in to leave a comment.
Comments
4 comments