# Electromagnetic Converter

Lossless electromagnetic energy conversion device

## Library

Magnetic Elements

## Description

The Electromagnetic Converter block provides a generic interface between the electrical and magnetic domains.

The block is based on the following equations:

`$MMF=N\cdot I$`
`$V=-N\cdot \frac{d\Phi }{dt}$`

where

 MMF Magnetomotive force (mmf) across the magnetic ports Φ Flux through the magnetic ports I Current through the electrical ports V Voltage across the electrical ports N Number of electrical winding turns t Simulation time

Connections N and S are magnetic conserving ports, and connections + and – are electrical conserving ports. If the current from the electrical + to – ports is positive, then the resulting mmf is positive acting across the magnetic N to S ports. A positive rate of change of flux flowing from N to S results in a negative induced voltage across the + and – ports.

## Basic Assumptions and Limitations

Electromagnetic energy conversion is lossless.

## Dialog Box and Parameters

### Parameters Tab

Number of winding turns

Number of electrical winding turns. The default value is `1`.

### Variables Tab

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

## Ports

The block has the following ports:

`N`

Magnetic conserving port associated with the block North terminal.

`S`

Magnetic conserving port associated with the block South terminal.

`+`

Positive electrical conserving port.

`-`

Negative electrical conserving port.