Programmable Voltage Source (Three-Phase)

Three-phase voltage source with optional programmable AC magnitude, frequency, and phase shift

  • Library:
  • Simscape / Electrical / Sources

Description

The Programmable Voltage Source (Three-Phase) block models a three-phase voltage source with programmable AC magnitude, frequency, and phase shift. Choose the external mode to specify these quantities by physical input signals M, F, and Phi. You can add harmonics and internal impedance to the voltage source.

For relevant equations, see the Voltage Source (Three-Phase) block.

Variables

Use the Variables settings to specify the priority and initial target values for the block variables before simulation. For more information, see Set Priority and Initial Target for Block Variables (Simscape).

Ports

Input

expand all

Physical signal input associated with the frequency.

Physical signal input associated with the magnitude.

Physical signal input associated with the phase shift.

Conserving

expand all

Electrical conserving port associated with a neutral point.

Expandable electrical conserving three-phase port associated with the AC voltage.

Parameters

expand all

AC Magnitude

Configure the magnitude of the AC component of the voltage.

Dependencies

Selecting Constant, Ramp, Step, or Modulation exposes related parameters.

Selecting External exposes a physical signal input port.

Rated AC voltage (phase-to-phase RMS).

Dependencies

This parameter is exposed when the AC magnitude configuration parameter is set to Constant, Ramp, Step, or Modulation.

AC voltage rate of change.

Dependencies

This parameter is exposed when the AC magnitude configuration parameter is set to Ramp.

AC voltage step amplitude.

Dependencies

This parameter is exposed when the AC magnitude configuration parameter is set to Step.

AC voltage modulation magnitude.

Dependencies

This parameter is exposed when the AC magnitude configuration parameter is set to Modulation.

AC voltage modulation frequency.

Dependencies

This parameter is exposed when the AC magnitude configuration parameter is set to Modulation.

Simulation time for start of AC voltage.

Dependencies

This parameter is exposed when the AC magnitude configuration parameter is set to Ramp, Step, or Modulation.

Simulation time for stop of AC voltage.

Dependencies

This parameter is exposed when the AC magnitude configuration parameter is set to Ramp, Step, or Modulation.

Frequency

Configure the frequency of the AC component of the voltage.

Dependencies

Selecting Constant, Ramp, Step, or Modulation exposes related parameters.

Selecting External exposes a physical signal input port.

Rated frequency.

Dependencies

This parameter is exposed when the AC frequency configuration parameter is set to Constant, Ramp, Step, or Modulation.

AC frequency rate of change.

Dependencies

This parameter is exposed when the AC frequency configuration parameter is set to Ramp.

AC frequency step amplitude.

Dependencies

This parameter is exposed when the AC frequency configuration parameter is set to Step.

AC frequency modulation magnitude.

Dependencies

This parameter is exposed when the AC frequency configuration parameter is set to Modulation.

AC frequency modulation frequency.

Dependencies

This parameter is exposed when the AC frequency configuration parameter is set to Modulation.

Simulation time for starting AC frequency.

Dependencies

This parameter is exposed when the AC frequency configuration parameter is set to Ramp, Step, or Modulation.

Simulation time for stopping AC frequency.

Dependencies

This parameter is exposed when the AC frequency configuration parameter is set to Ramp, Step, or Modulation.

Phase

Configure the phase of the AC component of the voltage.

Dependencies

Selecting Constant, Ramp, Step, or Modulation exposes related parameters.

Selecting External exposes a physical signal input port.

AC voltage phase shift.

Dependencies

This parameter is exposed when the AC phase shift configuration parameter is set to Constant, Ramp, Step, or Modulation.

AC phase shift rate of change.

Dependencies

This parameter is exposed when the AC phase shift configuration parameter is set to Ramp.

AC phase shift step amplitude.

Dependencies

This parameter is exposed when the AC phase shift configuration parameter is set to Step.

AC phase shift modulation magnitude.

Dependencies

This parameter is exposed when the AC phase shift configuration parameter is set to Modulation.

AC phase shift modulation frequency.

Dependencies

This parameter is exposed when the AC phase shift configuration parameter is set to Modulation.

Simulation time for starting AC phase shift.

Dependencies

This parameter is exposed when the AC phase shift configuration parameter is set to Ramp, Step, or Modulation.

Simulation time for stopping AC phase shift.

Dependencies

This parameter is exposed when the AC phase shift configuration parameter is set to Ramp, Step, or Modulation.

Impedance

Source impedance configuration.

Dependencies

Selecting X/R Ratio, Series R, Series L, or Series RL exposes related parameters.

Short-circuit power level.

Dependencies

This parameter is exposed when the Source impedance parameter is set to X/R Ratio.

Source X/R ratio.

Dependencies

This parameter is exposed when the Source impedance parameter is set to X/R Ratio.

Source resistance.

Dependencies

This parameter is exposed when the Source impedance parameter is set to Series R or Series RL.

Source inductance.

Dependencies

This parameter is exposed when the Source impedance parameter is set to Series L or Series RL.

Harmonics

Configuration for the source harmonics.

Dependencies

Selecting Generate harmonics exposes related parameters.

Harmonic orders.

Dependencies

This parameter is exposed when the Source harmonics parameter is set to Generate harmonics.

Harmonic to base magnitude ratios. Specify the same number of elements as is specified for the Harmonic orders parameter.

Dependencies

This parameter is exposed when the Source harmonics parameter is set to Generate harmonics.

Harmonic phase shifts. Specify the same number of elements as is specified for the Harmonic orders parameter.

Dependencies

This parameter is exposed when the Source harmonics parameter is set to Generate harmonics.

Harmonic sequences:

  • 0 indicates zero-sequence

  • 1 indicates positive-sequence

  • 2 indicates negative-sequence

Specify the same number of elements as is specified for the Harmonic orders parameter.

Dependencies

This parameter is exposed when the Source harmonics parameter is set to Generate harmonics.

Simulation time for start of source harmonics.

Dependencies

This parameter is exposed when the Source harmonics parameter is set to Generate harmonics.

Simulation time for stop of source harmonics.

Dependencies

This parameter is exposed when the Source harmonics parameter is set to Generate harmonics.

Extended Capabilities

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

Introduced in R2019a