Resistor

Scicos Block
fr - eng

##
Electrical resistor

### Contents

- Electrical resistor
  - Description
  - Dialog box
  - Default properties
  - Interfacing function

### Description

A resistor is a two-port electrical component that resists an electric current by producing a voltage drop ( ) between its terminals according to the Ohm's law.

The electrical resistance ( ) is equal to the voltage drop across the resistor divided by the current through the resistor ( ).

### Dialog box

Set Resistor block parameter |
R (ohm) | 0.01

- R (ohm) : Type 'vec' of size 1. Resistance

### Default properties

- always active: no
- direct-feedthrough: yes
- zero-crossing: no
- mode: no
- number/sizes of inputs: 1 / 1
- number/sizes of outputs: 1 / 1
- number/sizes of activation inputs: 0 /
- number/sizes of activation outputs: 0 /
- continuous-time state: no
- discrete-time state: no
- name of modelica function: resistor

### Interfacing function

`Resistor.sci`