Hello,
I have to use an Non Linear Resistor in my circuit. I thought that I understood how it fucntioned based on the documentation. However, putting in the values that I needed caused errors in the simulation.
=== Simulation (Elapsed: 1 sec) ===
Error:The model contains blocks that require a discrete solver. The powergui Simulation type must be set to Discrete.
=== Simulation (Elapsed: 1 sec) ===
Error:An error occurred while running the simulation and the simulation was terminated
Caused by:
Derivative of state '1' in block 'CircuitNLR/Integrator' at time 0.1 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
=== Simulation (Elapsed: 0.817 sec) ===
Error:An error occurred while running the simulation and the simulation was terminated
Caused by:
Derivative of state '1' in block 'CircuitNLR/Integrator' at time 1.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
Ideally, I would like the resistor to drop from 100M to 1k or less. I am to understand that for 100M the first value of the matrix should be v = 10MV and i = 100mA? And the following for R= 1k, => v = 1v and 1mA = i?
The cirucit will finish normally with the Non linear resistor removed.