주요 콘텐츠

Variable-Ratio Transformer

(To be removed) Discrete variable-ratio two-winding ideal transformer

The Specialized Power Systems library will be removed in R2026a. Use the Simscape™ Electrical™ blocks and functions instead. For more information on updating your models, see Upgrade Specialized Power System Models to use Simscape Electrical Blocks.

  • Variable-Ratio Transformer block

Libraries:
Simscape / Electrical / Specialized Power Systems / Passives

Description

The Variable-Ratio Transformer block implements a discrete, variable-ratio, two-winding ideal transformer.

When you use a Variable-Ratio Transformer block, set the powergui block Simulation type to Discrete and select the Automatically handle Discrete solver and Advanced tab solver settings of blocks parameter in the Preferences tab. The robust discrete solver is used to discretize the electrical model. Simulink® signals an error if the robust discrete solver is not used.

Equations

The voltage ratio between windings 1 and 2 is determined by the input signal, N, such that:

N=N2N1,

where:

  • N1 is the voltage at winding 1.

  • N2 is the voltage at winding 2.

Assumptions and Limitations

  • Windings cannot be unconnected.

Ports

Input

expand all

Signal representing the voltage ratio.

Conserving

expand all

Specialized electrical conserving port associated with the positive voltage at winding 1.

Specialized electrical conserving port associated with the negative voltage at winding 1.

Specialized electrical conserving port associated with the positive voltage at winding 2.

Specialized electrical conserving port associated with the negative voltage at winding 2.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2019b