# Inductor

Linear inductor in electrical systems

## Library

Electrical Elements

## Description

The Inductor block models a linear inductor, described with the following equation:

`$V=L\frac{dI}{dt}$`

where

 `I` Current `V` Voltage `L` Inductance `t` Time

The Series resistance and Parallel conductance parameters represent small parasitic effects. The series resistance can be used to represent the DC winding resistance or the resistance due to the skin effect. Simulation of some circuits may require the presence of a small parallel conductance. For more information, see Modeling Best Practices.

Connections + and – are conserving electrical ports corresponding to the positive and negative terminals of the inductor, respectively. The current is positive if it flows from positive to negative, and the voltage across the inductor is equal to the difference between the voltage at the positive and the negative terminal, V(+) – V(–).

### Variables

To set the priority and initial target values for the block variables prior to simulation, use the Variables tab in the block dialog box (or the Variables section in the block Property Inspector). For more information, see Set Priority and Initial Target for Block Variables.

## Parameters

Inductance

Inductance, in henries. The default value is `1` µH.

Series resistance

Represents small parasitic effects. The series resistance can be used to represent the DC winding resistance. The default value is `0`.

Parallel conductance

Represents small parasitic effects. The parallel conductance across the inductor can be used to model insulation conductance. Simulation of some circuits may require the presence of a small parallel conductance. The default value is `1e-9` 1/Ω.

## Ports

The block has the following ports:

`+`

Electrical conserving port associated with the inductor positive terminal.

`-`

Electrical conserving port associated with the inductor negative terminal.

## Extended Capabilities

### C/C++ Code GenerationGenerate C and C++ code using Simulink® Coder™.

Introduced in R2007a