メインコンテンツ

Phasor-to-Discrete Interface

(To be removed) Connect a Discrete Phasor network to Discrete network

Since R2023a

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.

Libraries:
Simscape / Electrical / Specialized Power Systems / Utilities

Description

Use the Phasor-to-Discrete Interface block with a Discrete-to-Phasor Interface block to connect a network simulated in Discrete Phasor mode to a network simulated in Discrete mode. The Phasor-to-Discrete Interface block must be used in a subsystem or Model Reference that has a Powergui block with Simulation type set to Discrete phasor. The electrical network that this subsystem contains is called the Discrete Phasor Network.

An associated Discrete-to-Phasor Interface block must be used in another subsystem or Model Reference that has a Powergui block with Simulation type set to Discrete. The electrical network contained that this subsystem contains is called the Discrete Network.

The Phasor-to-Discrete Interface block and the Discrete-to-Phasor Interface block form a decoupling device system. Each phase terminal of the Phasor-to-Discrete Interface block consists of a controlled Voltage Source block in series with a Current Measurement block and a resistor, connected to a series inductance and shunt capacitor, as shown in the right section of this model:

The Phasor-to-Discrete Interface block send the voltages measured at the A, B, and C terminals of the block to the Discrete-to-Phasor Interface block. It also phase shift the phasor voltages received by the Discrete-to-Phasor block. Because the Phasor-to-Discrete Interface block and the Discrete-to-Phasor Interface block act together to model a single decoupling system, the values specified for the resistance Rc, nominal frequency F, and sample time Ts parameters must be the same in the two blocks.

Ports

Conserving

expand all

Electrical conserving port associated with the phase A terminal of the block.

Electrical conserving port associated with the phase B terminal of the block.

Electrical conserving port associated with the phase C terminal of the block.

Simulink

expand all

Signal representing the three-phase voltage coming from the Discrete-to-Phasor Interface block. Connect this input to an Inport block of the subsystem or Model Reference containing the block.

Signal that measures the three-phase voltage on the Discrete network. Connect this signal to an Outport block of the subsystem or Model Reference containing the block.

Parameters

expand all

Resistance of the decoupling equivalent model, in ohms. This value must be the same as the value of the Rc (Ohms) parameter of the associated Discrete-to-Phasor Interface block.

Nominal frequency of the system, in hertz. The block uses this value to phase-shift the voltage measurement coming from the Discrete-to-Phasor block. The value must be same as the value of the Nominal frequency parameter of the associated Discrete-to-Phasor Interface block.

Sample time, in seconds, of the Discrete phasor network. This value must be the same as the value of the Sample time parameter of the Powergui block of the Discrete network.

Extended Capabilities

expand all

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

Version History

Introduced in R2023a