Nonlinear Resistor
Discrete nonlinear resistor
Libraries:
Simscape /
Electrical /
Specialized Power Systems /
Passives
Description
The Nonlinear Resistor block represents a time-varying resistor. It implements a discrete variable resistor as a current source or a voltage source. The resistance is specified by a monotonically increasing or decreasing voltage-current characteristic.
Equations
When the nonlinear resistor is implemented as a voltage source, the block uses the following equation for the relationship between the voltage, v, across the device and the current through the resistor, i, for the resistance characteristic specified by R:
When the nonlinear resistor is implemented as a current source, the block uses the following equation for the relationship:
When you use a Nonlinear Resistor block in your model, set the
powergui block Simulation type to
Discrete
and select the Automatically
handle Discrete solver and Advanced tab solver settings of blocks
parameter in the Preferences tab. The robust discrete solver is
used to discretize the electrical model. Simulink® signals an error if the robust discrete solver is not used.
Ports
Conserving
Parameters
Extended Capabilities
Version History
Introduced in R2019b