MATLAB Examples

Use functions which analyze Simscape™ logging data to get harmonic magnitudes, calculate total harmonic distortion percentage and plot harmonic magnitudes. The model to which this

Calculation and confirmation of a nonlinear transformer core magnetization characteristic. Starting with fundamental parameter values, the core characteristic is derived. This is

A Permanent Magnet Synchronous Machine (PMSM) and inverter sized for use in a typical hybrid vehicle. Here the inverter is connected directly to the vehicle battery, but often there is also a

A comparison of Composite three-phase ports versus Expanded three-phase ports. The first circuit shows a Voltage Source configured with a Composite three-phase port. A Phase Splitter

An induction machine used as a wind turbine generator. The Simple Turbine block converts wind speed to turbine output power by a simple output power versus wind speed characteristic.

A custom Simscape™ implementation of a Permanent Magnet Synchronous Machine (PMSM). To view the PMSM source code, double-click on the motor block and then click on the hyperlink 'Source

Model a three-phase voltage-sourced converter that uses Sinusoidal Pulse-Width Modulation (SPWM). This modulation scheme compares a reference sine wave with a higher-frequency

Control and initialize a Synchronous Machine (SM).

Model a wye-delta starting circuit for an induction machine. When the supply is connected to the machine via switch S1, switch S2 is initially off resulting in the machine being connected in a

Two different ways to create a custom transformer component. The first uses built-in library blocks to lay out the magnetic circuit as a masked Simulink® subsystem. The second builds a

A representative marine half-ship electrical power system with base load, hotel load, bow thrusters and electric propulsion.

How simplify the custom Simscape™ synchronous machine model.

A custom Simscape™ implementation of a Synchronous Machine (SM). To view the SM source code, double-click on the Synchronous Machine block and then click on the hyperlink 'Source code'.

Model a three-phase voltage-sourced converter that uses Fixed Low-side Bias (FLB) modulation. This modulation scheme minimises the switching in the converter as at any given time one

A comparison in behavior of a linear and nonlinear inductor. Starting with fundamental parameter values, the parameters for linear and nonlinear representations are derived. These

A comparison of three-phase transforms.

In this example, an asynchronous motor is connected to an ideal pump. The diameter of the valve on the hydraulic system affects the speed and current drawn by the motor.

Script shows how you can linearize a Simscape™ Power Systems™ model to support control system stability analysis and design. It uses example model pe_sm_governor_control_design.

Use a Permanent Magnet Synchronous Motor (PMSM) to amplify driver-applied force in a power-assisted automobile steering system.

The generation of a temperature profile based on switching and conduction losses in an insulated-gate bipolar transistor (IGBT). There are two buck converters. For one converter, the IGBT

Use the PWM Generator (Three-phase, Three-level) to control a Three-Level Converter. The upper and lower supply voltages are input to a Neutral point controller, which balances the

Control and analyze the operation of an Asynchronous Machine (ASM) using sensored rotor field-oriented control. The model shows the main electrical circuit, with three additional

The voltage output by a Supercapacitor block as it is charged and then discharged. To charge the Supercapacitor, a current of 100 mA is input to the Supercapacitor for 100 seconds. The

The starting procedure for a synchronous motor.

Phasor simulation of a 9-MW wind farm using Induction Generators (IG) driven by variable-pitch wind turbines.

A detailed model of a 100-kW array connected to a 25-kV grid via a DC-DC boost converter and a three-phase three-level VSC.

The measurement distortion due to saturation of a current transformer (CT).

The simulation of an H-bridge used to generate a chopped voltage and to control the speed of a DC motor.

An average model of a 100-kW array connected to a 25-kV grid via a DC-DC boost converter and a three-phase three-level VSC.

The Machine Load Flow tool of Powergui block to initialize an induction motor/diesel-generator system.

A current-controlled 60-kW 6/4 SRM drive using the SRM specific model based on measured magnetization curves. 8/6 and 10/8 preset models are also presented with same control strategy.

Energy management systems for a fuel cell hybrid electric source.

The operation of two models of on load tap changer (OLTC) regulating transformer.

An aircraft electrical power generation and distribution system. The AC power frequency is variable and depends of the engine speed

The operation of a typical transformerless photovoltaic (PV) residential system connected to the electrical utility grid.

Phasor simulation of a 9 MW wind farm using Doubly-Fed Induction Generator (DFIG) driven by a wind turbine.

An average model of a distribution STATCOM.

The use of the Three-Phase Transformer Inductance Matrix Type block to model a three-phase core-type saturable transformer. It also shows that using three single-phase transformers to

A six-pulse cycloconverter driving a static load.

A detailed model of a 250-kW PV array connected to a 25-kV grid via a three-phase converter.

The operation of the multilevel multiphase SVPWM and two-level multiphase SVPWM.

The behavior of a simplified model of a small-scale micro grid during 24 hours on a typical day. The model uses Phasor solution provided by Specialized Technology of Simscape™ Power Systems™

The asynchronous machine in an open-loop speed control on a 3 HP 220 V industrial motor.

The use of three-phase blocks to study transients on a series-compensated 735-kV transmission system

A model of a solid oxide fuel cell (SOFC) which can be utilized in Simscape™ Power Systems™.

A wind turbine asynchronous generator in an isolated network.

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.