Coil
magnetic.coil
Winding of N turns that links an electrical pair to a magnetic pair. Current into p raises the magnetic potential of mp over mn by N i, and the flux out of mp induces v = N dPhi/dt.
Ports
| Name | Domain |
|---|---|
p | electrical |
n | electrical |
mp | magnetic |
mn | magnetic |
Parameters
| Name | Unit | Default | Range | Description |
|---|---|---|---|---|
N | 1 | 100 | 0 to ∞ | Number of turns |
Variables
| Name | Unit |
|---|---|
v | V |
i | A |
Vm | A |
Phi | Wb |
Equations
v = p.v - n.v 0 = p.i + n.i i = p.i Vm = mp.Vm - mn.Vm 0 = mp.Phi + mn.Phi Phi = mn.Phi Vm = N * i v = N * der(Phi)