Learn how to create custom Simscape™
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 parameters are then used in a Simscape™ model and the simulation outputs compared.
Calculation and confirmation of a nonlinear transformer core magnetization characteristic. Starting with fundamental parameter values, the core characteristic is derived. This is then used in a Simscape™ model of an example test circuit which can be used to plot the core magnetization characteristic on an oscilloscope. Model outputs are then compared to the known values.
How to model a digital potentiometer such as is used to control audio amplifiers from a digital circuit or microprocessor-controlled system. The model also shows how you can create your own custom blocks in order to extend the Simscape™ Electrical™ library.
Model a custom transformer that exhibits hysteresis by using the Non Linear Reluctance block in a magnetic circuit. The transformer is rated for a 50W load and steps down from 120V to 12V rms. The magnetizing resistance Rm is modeled in the magnetic domain using an Eddy Loss block.
A custom frequency-dependent transmission line model. The characteristic admittance and propagation function are first derived from the frequency-dependent resistance, reactance, and susceptance. The derived values are fitted using RF Toolbox™. The Universal Line Model (ULM)  is then implemented in Simscape™ based on the fitted parameters. The results from the frequency-dependent transmission line model and the classic pi-section transmission line model are compared.
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 code'. This test circuit shows the PMSM being used as a generator, the rectifier block converting the induced AC back EMFs to a DC voltage which is in turn applied to a resistive load.
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'.
A comparison of three-phase transforms.
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 custom Simscape™ component using the Simscape language.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Choose a web site 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 web site 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.
Contact your local office