This function is a conceptual model which is used as a building block to create a wide variety of inductive and magnetic circuit models. This function is normally used in conjunction with the CORE model, but can also be used with resistors, hysteresis blocks, etc. to build up systems which mock the behavior of linear and nonlinear components.

The lcouple takes as an input (on the "L" port) a current. This current value is multiplied by the num_turns value, N, to produce an output value (a voltage value which appears on the mmf output port). The mmf output acts similar to a magnetomotive force in a magnetic circuit; when the lcouple is connected to the "core" model, or to some other resistive device, a current will flow. This current value (which is modulated by whatever the lcouple is connected to) is then used by the lcouple to calculate a voltage "seen" at the "L" port. The voltage is a function of the derivative with respect to time of the current value seen at mmf output.

The most common use for lcouples will be as a building block in the construction of transformer models. To create a transformer with a single input and a single output, you would require two lcouple models plus one core model. The process of building up such a transformer is described under the description of the CORE model.

# Parameters

Parameter | Description | Default |
---|---|---|

num_turns | Number of inductor turns. | 1 |

# Example

The following example shows the use of two "lcouple" models and one core model to produce a simple primary/secondary transformer.