Contenuto principale

SPST Switch (Three-Phase)

Three-phase single-pole single-throw switch

  • SPST Switch (Three-Phase) block

Libraries:
Simscape / Electrical / Switches & Breakers

Description

The SPST Switch (Three-Phase) block models a three-phase single-throw switch that uses an external signal to connect each phase of port ~1 with the corresponding phase of port ~2 via internal resistance.

The table shows how the external signal vT controls the block behavior.

ConditionBlock BehaviorResistance Parameter Used
vTThresholdThe switch is open. Each phase in the composite three-phase port ~1 connects to the corresponding phase in the port ~2 via large internal resistance.Open conductance
vT >ThresholdThe switch is closed. Each phase in the composite three-phase port ~1 connects to the corresponding phase in the port ~2 via small internal resistance.Closed resistance

Examples

Ports

Input

expand all

Physical control port.

Dependencies

To enable this port, set the Control port parameter to PS.

Conserving

expand all

Electrical conserving port representing the three phases of side 1. For more information, see Three-Phase Ports.

Dependencies

To enable this port, set the Electrical connection parameter to Composite three-phase ports.

Electrical conserving port representing the three phases of side 2. For more information, see Three-Phase Ports.

Dependencies

To enable this port, set the Electrical connection parameter to Composite three-phase ports.

Electrical conserving port associated with the phase a of side 1.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Electrical conserving port associated with the phase b of side 1.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Electrical conserving port associated with the phase c of side 1.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Electrical conserving port associated with the phase a of side 2.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Electrical conserving port associated with the phase b of side 2.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Electrical conserving port associated with the phase c of side 2.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Electrical conserving control port.

Dependencies

To enable this port, set the Control port parameter to Electrical.

Parameters

expand all

Since R2026a

Whether to model composite or expanded three-phase ports.

Composite three-phase ports represent three individual electrical conserving ports with a single block port. You can use composite three-phase ports to build models that correspond to single-line diagrams of three-phase electrical systems.

Expanded three-phase ports represent the individual phases of a three-phase system using three separate electrical conserving ports.

Programmatic Use

To set the block parameter value programmatically, use the set_param function.

Parameter: port_option
Values: "ee.enum.threePhasePort.composite" (default) | "ee.enum.threePhasePort.expanded"

Since R2026a

Option to choose between a physical signal input port or electrical conserving port for the external control signal.

Programmatic Use

To set the block parameter value programmatically, use the set_param function.

Parameter: control_port_option
Values: "ee.enum.controlport.ps" (default) | "ee.enum.controlport.elec"

Resistance between ports ~1 and ~2 when the switch is closed.

Conductance between ports ~1 and ~2 when the switch is open.

Threshold voltage for the control port vT. When the voltage is above the threshold, the switch is closed.

Extended Capabilities

expand all

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

Version History

Introduced in R2013b

expand all