Resistor¶ A resistor sets the ratio of voltage to current. Terminals¶ Two electrical terminals. Parameters¶ Parameter Unit Function Resistance Ω Sets the slope of the voltage-current curve. Model¶ The model uses Ohm's law.