# Network Coupler (Voltage-Voltage)

Split network at an electrical connection

**Library:**Simscape / Utilities / Network Couplers

## Description

The Network Coupler (Voltage-Voltage) block provides a starting point for you to split a Simscape™ network into two coupled networks at an electrical connection. Use this block for splitting power networks where connection cables are modeled as resistors and inductors connected in series, and where parts of the network do not have a local electrical reference connection. The inductances in this type of scenario do not allow the use of current sources at the interface, and therefore this block presents a voltage source to both networks.

You cannot simply drive the voltage source for Network 2 based on a voltage measurement for Network 1 (and the other way around) because then the definition is cyclic and contains no constraint on the currents flowing into the two networks, which must sum to zero. To introduce the constraint on currents, the two voltage sources have an added internal source resistance.

The discrete-time equations defining the values of the two voltage sources are:

$$\begin{array}{l}{V}_{s1}\left(n+1\right)={V}_{2}\left(n\right)+{i}_{2}\left(n\right){R}_{1}\\ {V}_{s2}\left(n+1\right)={V}_{1}\left(n\right)+{i}_{1}\left(n\right){R}_{2}\end{array}$$

where:

*V*_{s1},*V*_{s2}— Voltages of the two internal sources.*R*_{1},*R*_{2}— Resistances of the two internal sources.*i*_{1},*i*_{2}— Currents flowing from the connected networks into the sources.*V*_{1},*V*_{2}— Voltages presented to the connected networks.*n*— Sample number.

When there is no load connected to either side, then the poles are at
`+-1`

, that is, on the unit circle. The connected network can act to either
stabilize the poles (they end up inside the unit circle), or destabilize (they end up outside
of the unit circle).

Generally, it is best when the series inductances and resistances of the two coupled networks are approximately equal because this results in the slowest set of closed-loop poles.

Both of the port interfaces of the Network Coupler (Voltage-Voltage) block are implemented as voltage sources. Therefore, you cannot connect this block to a voltage loop, such as a set of series-connected voltage sources and capacitors, because this would cause an Index-2 topology (for more information, see Avoiding Numerical Simulation Issues).

### Working with the Block on the Model Canvas

When you add the block to your model and double-click it, the Network Coupler (Voltage-Voltage) subsystem opens.

The Port 1 Interface block contains the dynamics that break the algebraic loop. Double-click this block to set most of the Network Coupler (Voltage-Voltage) subsystem parameters and view the derived values.

However, unlike most of the other coupler blocks, the Port 2 Interface
block also has one parameter, **Port 2 voltage source resistance
(ohms)**, which you need to set separately.

The rate transition blocks are, by default, commented through. Uncomment them if at least one of the coupled networks is running fixed step.

### Using the Derived Values to Estimate Block Parameters

The **Analysis** tab asks you for information about the
series-connected resistance and inductance of the two coupled networks and provides advice
on values of *R1* and *R2*, to ensure stability. If at
least one of your coupled networks has switching, then use the smallest series resistance
value and the largest series inductance value.

For most applications, following the recommended values results in a stable simulation,
but on occasion you may need to experiment with values for *R1* and
*R2*.

The **Update** button lets you recalculate
the derived values after you change the parameters of the connected networks.

## Ports

### Conserving

## Parameters

## Extended Capabilities

## Version History

**Introduced in R2022a**