Issue link: https://resources.pcb.cadence.com/i/1180526
PSpice User Guide Analog behavioral modeling October 2019 350 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. where MAXREAL is a PSpice internal constant representing a very large number (on the order of 1e30). In general, the result of evaluating an expression is limited to MAXREAL. This is modeled with an ABM2/I (two input, current output) part like this one in 6-12. Figure 6-12 ABM expression part example four. This part is characterized by the following properties: EXP1 = V(%IN2)/V(%IN1) Note that output of GRATIO can be used as part of the controlling function. This produces a PSpice netlist declaration like this: GRATIO 2 3 VALUE = {V(13)/V(2)} Note: Letting a current approach ±1e30 will almost certainly cause convergence problems. To avoid this, use the limit function on the ratio to keep the current within reasonable limits.