Hi Marcel, If there is a convergence issue during the transient, the simulator will still report success in OCEAN because the simulation completed. The only real way you can determine whether an analysis failed, or stopped early, is to determine whether: The database is in the results() return list at all (this means it at least started to run) The final x-axis value (for a transient) is what you expect it to be. Normally this is only going to be a check you'd need to do for transient So for example, I could do member('tran results()) to check that the results are there. I could use lastVal(v("/out" ?result 'tran)) to find the x value of the last point, and if that was lower than the stop time (allowing for numerical error, so I'd check that it was less than the expected stop time minus a small delta to allow for numerical differences), then you'd know that the transient stopped early. In ADE XL and ADE Explorer/Assembler there's another method used to determine whether each analysis succeeded, but that's not used in ADE L or OCEAN. Regards, Andrew.
↧