# MODELS

MODELNAME: PMSMFromDatasheet
PATH: examples/simscapeelectrical/main/PMSMFromDatasheet.slx
DESCRIPTION: PMSM Parameterization from Datasheet
BLOCKTYPE_FREQUENCY: 6;2;2;2;2;2;6;1;1;2;2
CHECKSUM: 08231DF572CD66DCBF663218CF77C6B5
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Rated conditions PMSM Parameterization from Datasheet  1. Plot torque and calculate efficiency at rated load (see code) 2. Confirm stall torque (see code) 3. Set parameters for model 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Stall conditions Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
 Torque sensor ;A;B;C;Damper torque equal to rated torque when at rated speed;Damping & friction;ERef;MRRef;PMSM;PS-Simulink Converter;RA;RB;RC;Reference;Solver Configuration;Torque;Torque sensor 

BLOCKTYPE:
AC Current Source;Electrical Reference;Ideal Torque Sensor;Mechanical Rotational Reference;PMSM;PS-Simulink Converter;Resistor;Rotational Damper;Rotational Friction;Scope;Solver Configuration


MODELNAME: PMSMFromMeasurement
PATH: examples/simscapeelectrical/main/PMSMFromMeasurement.slx
DESCRIPTION: PMSM Parameterization from Measurements
BLOCKTYPE_FREQUENCY: 1;1;1;5;3;3;1;3;1;10;5;10;5;1;1;1;1;23;1;4;6;12;1;32;3;2;3;4;6;1;7;1;1;1;3;2;3;3;5;6;1;2;2;1;4;4
CHECKSUM: 794741507F5A875DB6046569CFB1FF54
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Approximate open circuit. The resistor has a large value relative to the motor winding impedance. A small conductance path to ground is required to resolve the voltages at the motor ports. Approximate open circuit. The resistor has a large value relative to the motor winding impedance. A small conductance path to ground is required to resolve the voltages at the motor ports. Approximate open circuit. The resistor has a large value relative to the motor winding impedance. A small conductance path to ground is required to resolve the voltages at the motor ports. Approximate open circuit. The resistor has a large value relative to the motor winding impedance. A small conductance path to ground is required to resolve the voltages at the motor ports. Identify R and L PMSM Parameterization from Measurements  1. Identify R and L and plot time constant (see code) 2. Identify back EMF constant (see code) 3. Identify friction, damping and inertia (see code) 4. Set parameters for model 5. Explore simulation results using Simscape Results Explorer 6. Learn more about this example Identify back EMF constant Identify friction, damping and inertia Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
 rad2rpm ;+;-;A;Abs;Add;B;Bias;C;Computational Delay;Constant;Controlled current source assignments;Controller;Convert from mechanical to electrical angle;Current Sensor A;Current Sensor B;Current Sensor C;Current control and gate assignment (averaged);Current demands;Demux;Digital controller;Discrete-Time Integrator;ERef;Electrical Reference;Enable;Encoder;From;G;Gain;Goto;I_abc;Iabc;Ideal Angular Velocity Source;Inertia;Inverse Parks;Kp;MRRef;Map torque demand to equivalent Iq value;Math Function;Matrix Concatenate;Maximum power;Motion Sensor;Mux;OC;P;PMSM;PMSM Controller;PS Constant;PS Product;PS Terminator;PS-Simulink Converter;Power and torque limits;Power limits;Prevent divide by zero;Product;R;Reference;Resistor;Rotational Friction;Scopes;Sensing iabc;Signal Specification;Simulink-PS G;Solver Configuration;Speed (rpm);Speed Controller;Speed controller;SubSystem;Sum;Switch;Terminator;Three-phase Inverter;Torque (Nm);Torque Sensor;Torque limits;Trigonometric Function;Unit Delay;V;Vector controller;Voltage Sensor;ZOH/;a;b;c;iA;iABC;iB;iC;iRef;iRefABC;iabc;idRef;imeas;iqRef;meas;oc;ref;rpm2rad;rpmDemand;th;theta;trqRef;trqRefLim;w;wMeas;wRef

BLOCKTYPE:
Abs;Bias;Concatenate;Constant;Controlled Current Source;Current Sensor;DC Voltage Source;Demux;DiscreteIntegrator;Electrical Reference;From;Gain;Goto;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inertia;Inport;Math;Mechanical Rotational Reference;Mux;Outport;P+I motor speed controller;PMIOPort;PMSM;PS Constant;PS Product;PS Terminator;PS-Simulink Converter;Product;Resistor;Rotational Friction;Saturate;Saturation Dynamic;Scope;SignalSpecification;Simulink-PS Converter;Solver Configuration;Sum;Switch;Terminator;Trigonometry;UnitDelay;Vector controller;Voltage Sensor;ZeroOrderHold


MODELNAME: PMSMIronLosses
PATH: examples/simscapeelectrical/main/PMSMIronLosses.slx
DESCRIPTION: PMSM Iron Losses
BLOCKTYPE_FREQUENCY: 1;3;2;2;6;1;6;2;2;5;1;3;1;3;2;10;5;2;4;2;1;2
CHECKSUM: C385A831E048EDE37AD08CC21CF6E3EA
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
PMSM Iron Losses  1. Plot iron losses for both tests (see code) 2. Calculate parameters for PMSM flux linkage (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
 Short-circuit i2r losses ;+;-;Angular Velocity Source;C;Current Sensor;Current measurement ;Electrical Reference;FEM-Parameterized PMSM Open Circuit Test;FEM-Parameterized PMSM Short Circuit Test;From;Gain;Goto;Ideal Torque Sensor;Math Function;Mechanical Rotational Reference;Mux;Open Circuit a;Open Circuit b;Open Circuit c;Open-circuit iron losses;PS-Simulink Converter;Pi2r;Power;R;Reference;Scopes;Short-circuit current;Short-circuit iron losses;Simulink-PS Converter;Solver Configuration;Speed Demand;SubSystem;Sum;Torque Sensor;Velocity Source OC Test;Velocity Source SC Test;i2r losses;iVec;ia;ib;ic;w

BLOCKTYPE:
Constant;Current Sensor;Electrical Reference;FEM-Parameterized PMSM;From;Gain;Goto;Ideal Angular Velocity Source;Ideal Torque Sensor;Inport;Math;Mechanical Rotational Reference;Mux;Open Circuit;Outport;PMIOPort;PS-Simulink Converter;Product;Scope;Simulink-PS Converter;Solver Configuration;Sum


MODELNAME: PMSMMotorDrive
PATH: examples/simscapeelectrical/main/PMSMMotorDrive.slx
DESCRIPTION: PMSM Drive Test Harness
ANNOTATION: PMSM Drive Test Harness Copyright 2023-2024 The MathWorks, Inc.
BLOCKTYPE_FREQUENCY: 1;1;6;1;1;3;1;1;8;1;1;1;1;15;1;2;1;4;8;2;15;1;5;1;1;1;4;1;2;1;1;1;1;1;6;1;4;1;1;1;4
CHECKSUM: 290782CB0CEBE7E356433C7125D079A6
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
 #pole pairs ;#pole pairs;+;-;Abs;Add;Average-Value Voltage Source Converter (Three-Phase);C;Computational Delay;Constant;Current Sensor;DC current sensor;DC voltage sensor;DCV;Demux;Divide;ERef;Feedback control;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inertial Load;Ld;Lq;MRRef;MRRef Torque;MinMax;ModWave;Modulator;Mux;Out;PMSM;PMSM Controller;PMSMDrive;PS-Simulink Converter;Phase Splitter;Product;R;Ramp;Reference;Saturation;Scope;Scopes;Sensing Speed and Angle;Sign Change;Simulink-PS Converter;Solver Configuration;Step;SubSystem;Sum;Switch;Te* -> iq*;Terminator;Three-Phase Inverter;Torque limiter;TorqueRef;Tq saturation;TqRef;TqRefSat;Tr;TrNm;Vdc;Vdc factor;Voltage Sensor;ZOH Tr;ZOH i;ZOH meas;a;abc->dq;b;c;d-axis current PI;dq;dq->abc;encoder;i;id*;m;meas;q-axis current PI;the;w

BLOCKTYPE:
Abs;Average-Value Voltage Source Converter (Three-Phase);Constant;Current Sensor;Current Sensor (Three-Phase);Demux;Electrical Reference;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inertia;Inport;Inverse Park Transform;Mechanical Rotational Reference;MinMax;Mux;Outport;PID 1dof;PMIOPort;PMSM;PS-Simulink Converter;PWM Generator (three-phase, two-level);Park Transform;Phase Splitter;Product;Ramp;Saturate;Saturation Dynamic;Scope;Simulink-PS Converter;Solver Configuration;Step;Sum;Switch;Terminator;UnitDelay;Voltage Sensor;Voltage Source;ZeroOrderHold


MODELNAME: PMSMParameterization
PATH: examples/simscapeelectrical/main/PMSMParameterization.slx
DESCRIPTION: Parameterize a Permanent Magnet Synchronous Motor
BLOCKTYPE_FREQUENCY: 3;1;2;2;4;1;6;2;2;2;8;1;2;2
CHECKSUM: C00499D3FCACDF0E217018F5A76146B4
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Parameterize a Permanent Magnet Synchronous Motor  1. Set back EMF constant to 0.1 2. Set back EMF constant to estimated value 3. Modify example script 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2017-2023 The MathWorks, Inc.

BLOCK:
C;Electrical Reference;Emulated dynamometer;Experiment Angular Velocity Source;Experiment Mechanical Rotational Reference;Experiment Solver Configuration;Experimental Blackbox PMSM;Mux;Noise A;Noise B;Noise C;PS Constant;PS-Simulink Converter;Phase A voltage;R;Ra_exp;Ra_sim;Rb_exp;Rb_sim;Rc_exp;Rc_sim;Reference;Resistor;Simulation Angular Velocity Source;Simulation Mechanical Rotational Reference;Simulation PMSM;Simulation PS Constant;Simulation Solver Configuration;SubSystem;a;b;c;n;v_Ra_exp;v_Ra_sim

BLOCKTYPE:
AC Voltage Source;Blackbox PMSM;Electrical Reference;Ideal Angular Velocity Source;Mechanical Rotational Reference;Mux;PMIOPort;PMSM;PS Constant;PS-Simulink Converter;Resistor;Scope;Solver Configuration;Voltage Sensor


MODELNAME: PMSMPositionControl
PATH: examples/simscapeelectrical/main/PMSMPositionControl.slx
DESCRIPTION: PMSM Position Control
BLOCKTYPE_FREQUENCY: 1;1;2;1;1;1;1;1;1;14;3;9;13;1;1;1;1;20;1;1;3;7;10;8;1;1;1;5;1;1;10;1;1;7;7;1;7;1;1;2;2;3;1;1
CHECKSUM: 9A09528136072C6127C64C9249C5213D
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot position of rotor (see code) 2. Explore simulation results using Simscape Results Explorer 3. Modify model parameters 4. Learn more about this example PMSM Position Control Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
;+;-;Battery;C;Constant;Control;Converter;Current Sensor;Current control;Demux;Discrete Transfer Fcn;ERef Converter;From;Function-Call Generator;G;Gain;Gate Driver;Goto;IABC;ID;IQ;In;Inertia;Inverse Park Transform;LQR;Load Viscous Friction;Luenberger Observer;MRRef;MRRef IPMSM;MRRef Load;Measurements;Motion Sensor;Mux;Out;PMSM;PMSM Current Controller with Pre-Control;PMSM Current Reference Generator;PS-Simulink Converter;PWM Generator (Three-phase, Two-level);Park Transform;Position control;R;Rate Transition;Reference;S;Saturation;Scopes;Selector;Sensing Vdc;Sensing iabc;Sensing trq;Sensing w a;Signal Editor;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Sum;TQ;Task100us;Task1ms;Terminator;Torque Sensor;Torque Source;Tq_ref;Unit Delay;VDC;Vdc;Vdc Filter;Vdc_sens;Voltage Sensor;elec->mech;iabc;iabc_sens;idq;idq_ref;pole pairs;pole pairs ;rad/s->rpm;rpm;th_sens;theta;thetaReq;vdc_sens;vdq;w_sens;we

BLOCKTYPE:
Battery;Capacitor;Constant;Converter (Three-Phase);Current Sensor (Three-Phase);Demux;Discrete first-order filter (Low-pass);DiscreteTransferFcn;Electrical Reference;From;Function-Call Generator;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Inertia;Inport;Inverse Park Transform;Luenberger Observer;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PMSM;PMSM Current Controller with Pre-Control;PMSM Current Reference Generator;PS-Simulink Converter;PWM Generator (three-phase, two-level);Park Transform;RateTransition;Rotational Damper;Saturate;Scope;Selector;SignalEditor;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sum;Terminator;TriggerPort;UnitDelay;Voltage Sensor


MODELNAME: PMSMTractionDrive
PATH: examples/simscapeelectrical/main/PMSMTractionDrive.slx
DESCRIPTION: Three-Phase PMSM Traction Drive
CHECKSUM: A187138AD4BAABC11E3354FC37123219
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Three-Phase PMSM Traction Drive  1. Plot speed of motor (see code) 2. Choose between Detailed and Equivalent converter models 3. Explore simulation results using Simscape Results Explorer 3. Modify model parameters 5. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
;+;-;1L;1R;2*pi;2-D Lookup Table Ld;2-D Lookup Table Lq;2-D Lookup Table Psim;2L;2R;Battery;C;Constant;Converter;Current Sensor;Currents;D-axis controller;Demux;ERef Converter;Electrical Reference;FEM-Parameterized PMSM;Feedforward pre-control;Friction;From;G;Gain;Gate Driver;Gates;Goto;Ideal Torque Sensor;In;Inner loop control;Input interface;Inverse Park Transform;Low-Pass Filter (Discrete or Continuous);Math Function;Meas Vxy;Mechanical Rotational Reference;ModWave;Motor & load inertia;Mux;Open Circuit;Out;Outer loop control;PMSM Current Reference Generator;PMSM controller;PS-Simulink Converter;PWM;PWM Generator (Three-phase, Two-level);Park Transform;Phase Splitter;Product;PwmEnable;Q-axis controller;Rate Limiter;Rate Transition ;Reference;Relay;Resistor;Resolver;Resolver-to-Digital Converter;S;Scope;Selector;Sensing Vdc;Sensing iabc;Sensor time lag;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Speed;Step;SubSystem;Sum;Switch;Terminator;Torque;TqRef;Transfer Fcn;Unit Delay;VS;Vdc;VdcSens;Velocity controller;Voltage Sensor;Vp;Vx;Vy;Zero vector;d-q Voltage Limiter;elec->mech;i_abc;iabc;iabcSens;id;idqRef;idq_ref;iq;meas;p;pole pairs;pole pairs ;rad/s2rpm;rpm;rpm -> rad/s [mech.];thSens;theta;vdFF;vdqRef;vqFF;wElectrical;wSens;x;y

BLOCKTYPE:
AC Voltage Source;Battery;Capacitor;Constant;Converter (Three-Phase);Current Sensor (Three-Phase);Demux;Electrical Reference;FEM-Parameterized PMSM;From;Gain;Goto;Ideal Torque Sensor;Inertia;Inport;Inverse Park Transform;Lookup_n-D;Low-Pass Filter (Discrete or Continuous);Math;Mechanical Rotational Reference;Mux;Open Circuit;Outport;PID 1dof;PMIOPort;PMSM Current Reference Generator;PS-Simulink Converter;PWM Generator (three-phase, two-level);Park Transform;Phase Splitter;Product;RateLimiter;RateTransition;Relay;Resistor;Resolver;Resolver-to-Digital Converter;Rotational Friction;Scope;Selector;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Step;Sum;Switch;Terminator;TransferFcn;UnitDelay;Voltage Sensor;d-q Voltage Limiter

BLOCKTYPE_FREQUENCY:
1;1;1;4;1;1;6;6;1;8;7;8;1;1;25;1;3;1;1;1;7;1;18;3;15;1;6;1;1;1;4;1;5;1;2;1;1;1;5;1;6;1;1;1;6;1;2;3;1;4;1


MODELNAME: PMSMWithThermal
PATH: examples/simscapeelectrical/main/PMSMWithThermal.slx
DESCRIPTION: PMSM with Thermal Model
CHECKSUM: 5EBC13BD471649F4642CEBE4FACD52A2
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
PMSM with Thermal Model  1. Plot speed of motor and winding currents (see code) 2. Plot temperature of windings and rotor (see code) 3. Set parameters for model (see code) 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
 rad2rpm ;+;-;A;Abs;Add;Ambient Temperature;B;Bias;C;Computational Delay;Constant;Controlled current source assignments;Convert from mechanical to electrical angle;Current Sensor A;Current Sensor B;Current Sensor C;Current control and gate assignment (averaged);Current demands;Demux;Discrete-Time Integrator;ERef;Encoder;Env;FEM-Parameterized PMSM;From;G;Gain;Goto;H;I_abc;Inverse Parks;Kp;Load;Load Damping;Load Inertia;MRRef;Map torque demand to equivalent Iq value;Math Function;Matrix Concatenate;Motion Sensor;Motor temperature (deg C);Mux;P;PMSM Controller;PS Product;PS Terminator;PS-Simulink Converter;Power and torque limits;Power limits;Prevent divide by zero;Product;R;Rate Transition;Reference;Resistor;Rotor;Scopes;Sensing Temperature Rot;Sensing Temperature WiA;Sensing Temperature WiB;Sensing Temperature WiC;Sensing iabc;Signal Specification;Simulink-PS Converter;Simulink-PS G;Solver Configuration;Speed (rpm);Speed Controller;Speed Demand;Speed controller;SubSystem;Sum;Switch;Temperature Sensor;Temperature Source;Terminator;ThRef;Thermal Model;Three-phase Inverter;Torque;Torque (Nm);Torque Sensor;Torque Source;Torque limits;Trigonometric Function;Unit Delay;Vector controller;Voltage Sensor;WiA-Amb Convection;WiA-Rot Convection;WiA-WiB Conduction;WiA-WiB Convection;WiA-WiC Conduction;WiA-WiC Convection;WiB-Amb Convection;WiB-Rot Convection;WiB-WiC Conduction;WiB-WiC Convection;WiC-Amb Convection;WiC-Rot Convection;Winding A;Winding B;Winding C;ZOH/;a;b;c;iA;iABC;iB;iC;iRef;iRefABC;iabc;idRef;imeas;iqRef;max_power;rad2rpm;ref;th;theta;trq;trqRef;trqRefLim;w;wMeas;wRef

BLOCKTYPE:
Abs;Bias;Concatenate;Conductive Heat Transfer;Constant;Controlled Current Source;Controlled Temperature Source;Convective Heat Transfer;Current Sensor;Demux;DiscreteIntegrator;DiscretePulseGenerator;Electrical Reference;FEM-Parameterized PMSM;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Inertia;Inport;Math;Mechanical Rotational Reference;Mux;Outport;P+I motor speed controller;PMIOPort;PS Constant;PS Product;PS Terminator;PS-Simulink Converter;Product;RateTransition;Resistor;Rotational Damper;Saturate;Saturation Dynamic;Scope;SignalSpecification;Simulink-PS Converter;Solver Configuration;Step;Sum;Switch;Temperature Sensor;Terminator;Thermal Reference;Trigonometry;UnitDelay;Vector controller;Voltage Sensor;ZeroOrderHold

BLOCKTYPE_FREQUENCY:
1;1;1;3;4;3;1;9;3;3;1;1;4;1;8;9;8;1;1;1;1;22;1;3;7;12;1;32;1;3;3;10;1;4;3;1;1;1;3;2;4;1;1;5;3;4;1;5;2;2;1;3;4


MODELNAME: PNPCharacteristics
PATH: examples/simscapeelectrical/main/PNPCharacteristics.slx
DESCRIPTION: PNP Bipolar Transistor Characteristics
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;4;1;2;1;3;1;1;1
CHECKSUM: 6AFD2E3E4BDDB793F5E700455A3884F7
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
PNP Bipolar Transistor Characteristics  1. Transistor curves: Define Ib and Vce, plot curves (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2006-2023 The MathWorks, Inc.

BLOCK:
+;-;Controlled Voltage Source;Current Sensor;ERef;Ib;Ic;Measure Ic;Measure Vbe;PNP Bipolar Transistor;PS-Simulink Converter;Parameters;Reference;Simulink-PS Converter;Solver Configuration;SubSystem;Vbe;Vce;Vce(m);Voltage Sensor

BLOCKTYPE:
Bipolar Test Parameters;Controlled Voltage Source;Current Sensor;DC Current Source;Electrical Reference;PMIOPort;PNP Bipolar Transistor;PS-Simulink Converter;Ramp;Scope;Simulink-PS Converter;Solver Configuration;Voltage Sensor


MODELNAME: PWMCircuitUsing555Timer
PATH: examples/simscapeelectrical/main/PWMCircuitUsing555Timer.slx
DESCRIPTION: PWM Circuit Using 555 Timer
BLOCKTYPE_FREQUENCY: 2;1;1;2;2;1;1;1;1;1;2;1;1;1;1;1
CHECKSUM: 48B59122C9D8A30ADFAD953750614FBF
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
PWM Circuit Using 555 Timer  1. Explore simulation results using Simscape Results Explorer 2. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
+;555 Timer;C;Constant;D;Duty Cycle Control Knob;ERef;Electrical Reference;P;PS-Simulink Converter;R;Reference;Scope;Sensor;Simulink-PS Converter;Solver Configuration;SubSystem;Supply;V;Voltmeter

BLOCKTYPE:
Capacitor;Constant;DC Voltage Source;Diode;Electrical Reference;KnobBlock;Outport;PMIOPort;PS-Simulink Converter;Potentiometer;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Timer;Voltage Sensor


MODELNAME: PWMControlledDCMotor
PATH: examples/simscapeelectrical/main/PWMControlledDCMotor.slx
DESCRIPTION: PWM-Controlled DC Motor
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;1;1;1;2;2;1
CHECKSUM: 7B9725AB32A7041B056C8FF2FF975C86
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
PWM-Controlled DC Motor  1. Plot current and speed in DC Motor (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
Controlled PWM Voltage;Current;Current Sensor;DC Motor;ERef;H-Bridge;Ideal Rotational Motion Sensor;MRRef;PS-Simulink;PWM reference voltage;RPM;Reference;Solver Configuration

BLOCKTYPE:
Controlled PWM Voltage;Current Sensor;DC Motor;DC Voltage Source;Electrical Reference;H-Bridge;Ideal Rotational Motion Sensor;Mechanical Rotational Reference;PS-Simulink Converter;Scope;Solver Configuration


MODELNAME: ParameterizeMotorTorque
PATH: examples/simscapeelectrical/main/ParameterizeMotorTorque.slx
DESCRIPTION: Torque Motor Parameterization
BLOCKTYPE_FREQUENCY: 2;1;1;6;6;2;2;1;1;6;3;12;6;2;1;2;1;1;1;1
CHECKSUM: 170BD28B6DAD6849412033DCECB3CF98
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Torque Motor Data  Resistance 2.6 Ohms Inductance 15 mH Torque Constant 80 mNm/A Weight 320 g Rotor Diameter 40 mm Torque Motor Parameterization  1. Plot shaft angle of motors (see code) 2. Set range for test: Full, Linear region 3. Calculate and plot flux data (see code) 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
+;-;Angle FEM;Angle Simple;C;Current FEM;Current Sensor;Current Simple;ERef;From;Goto;Hard Stop;Inductor;Inertia;Load Damper FEM;Load Damper Simplified;MRRef;MRRef FEM Actuator;MRRef FEM Damper;MRRef Simplified Actuator;MRRef Simplified Damper;Motion Sensor;Mux;R;Reference;Resistor;Rotary Actuator FEM-Parameterized ;Rotary Actuator Simplified ;Rotational Electromechanical Converter;Rotational Motion Sensor;Scope;Sensing Elec FEM;Sensing Elec Simplified;Sensing Mech FEM ;Sensing Mech Simplified;Solver Configuration;SubSystem;Torque FEM;Torque Sensor;Torque Simple;Vsrc

BLOCKTYPE:
Current Sensor;Electrical Reference;FEM-Parameterized Rotary Actuator;From;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inductor;Inertia;Mechanical Rotational Reference;Mux;PMIOPort;PS-Simulink Converter;Positive Supply Rail;Resistor;Rotational Damper;Rotational Electromechanical Converter;Rotational Hard Stop;Scope;Solver Configuration


MODELNAME: PeltierCooler
PATH: examples/simscapeelectrical/main/PeltierCooler.slx
DESCRIPTION: Use of Peltier Device as Thermoelectric Cooler
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;1;1;1;1;1;1;1
CHECKSUM: 4B79FC04943A4B556FE3217EA78CFC7A
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot characteristic curves for the Peltier cell (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example  Use of Peltier Device as Thermoelectric Cooler Copyright 2018-2023 The MathWorks, Inc.

BLOCK:
Cold side;Conn;Current Source;Electrical Reference;Gain;Heat Flow Rate Sensor;Hot side;Out;PS-Simulink Converter;Peltier Device;Reference;Scope;Solver Configuration;SubSystem;Subsystem

BLOCKTYPE:
Electrical Reference;Gain;Heat Flow Rate Sensor;Outport;PMIOPort;PS-Simulink Converter;Peltier Device;Piecewise Linear Current Source;Scope;Solver Configuration;Temperature Source;Thermal Mass


MODELNAME: PhaseLockedLoop
PATH: examples/simscapeelectrical/main/PhaseLockedLoop.slx
DESCRIPTION: Phase-Locked Loop
BLOCKTYPE_FREQUENCY: 1;8;2;6;2;2;4;14;2;2;2;4;2;2;1;8;33;8;2;2;5;1;2;1;2;2;10;1;1;2
CHECKSUM: 1D75189A1170E24B8E4621AB30900866
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Phase-Locked Loop  1. Plot voltages of voltage controlled oscillator (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2014-2023 The MathWorks, Inc.

BLOCK:
+;+10V ;-;-10V;1/propagation delay;C;CLK;Cclk;Cd;Charge Pump and Filter;Ciclr;Comparator;Compare To Constant CLK;Compare To Constant D;Compare To Constant ICLR;Conv and Delay;D;D Flip-Flop;D-Type Flip-Flop;Data Type Conversion;Drive Circuit MOS;ERef;ERef C1C;ERef Comparator;ERef Src ;ERef VCO;From;G;Goto;Integrator;MOS;Meas;Meas ;NAND;Osc;PS-Simulink Converter;Phase Detector;Propagation Delay;Push-Pull Output;Q;R;RG;Reference;S;SL;Scope;Simulink-PS Converter;Solver Configuration;SubSystem;Sum;Terminator;U;V;V_DD;Vi;Vo;Voltage Controlled Voltage Source;Voltage Sensor;Voltage- Controlled Oscillator;Y;u;|CLR

BLOCKTYPE:
CMOS NAND;Capacitor;Comparator;Compare To Constant;D-Type Flip-Flop;DFlipFlop;DataTypeConversion;Electrical Reference;From;Gain;Goto;Inport;Integrator;N-Channel MOSFET;Negative Supply Rail;Outport;PMIOPort;PS-Simulink Converter;Positive Supply Rail;Push-Pull Output;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Sum;Terminator;Voltage Sensor;Voltage Source;Voltage-Controlled Oscillator;Voltage-Controlled Voltage Source


MODELNAME: PhotovoltaicGenerator
PATH: examples/simscapeelectrical/main/PhotovoltaicGenerator.slx
DESCRIPTION: Photovoltaic Generator
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;2;2;2;3;10;4;1;1;4;1;1;1;2;2;1;1;3
CHECKSUM: 28C0639AD040829C0372874E6C966F6F
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
The optimal operating point is where the power versus voltage curve for current irradiance level and temperature reaches a peak. The tabulated data used here is generated from a polynomial surface fit to data obtained by running the SolarCellPowerCurvePlotCharacteristics.m script used by the Solar Cell Power Curve example model. Photovoltaic Generator  1. Plot panel inputs and outputs (see code) 2. Plot voltage with conditions for maximum power (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
+;-;1/v_ac_nom;Controlled Voltage Source;Convection;Current Sensor;DC Power;DC-AC Converter;ERef Converter;ERef Panel;Efficiency;Environment;From;Goto;H;Heat Flow;Heat Flow Source;Ir;PS Lookup Table (2D);PS-Simulink Converter;P_ac;Panel albedo;Panel area;Radiation;Reference;Scope;Set Optimal Operating Point;Simulink-PS Converter;Solar Panel Set ;Solver Configuration;SubSystem;T;Temperature Sensor;Temperature Source;Test Inputs;ThRef;VPanel;Vref;i_ac

BLOCKTYPE:
Controlled Heat Flow Rate Source;Controlled Temperature Source;Controlled Voltage Source;Convective Heat Transfer;Current Sensor;Electrical Reference;From;Goto;Outport;PMIOPort;PS Gain;PS Lookup Table (2D);PS Product;PS-Simulink Converter;Radiative Heat Transfer;Scope;SignalEditor;Simulink-PS Converter;Solar Cell;Solver Configuration;Temperature Sensor;Thermal Reference


MODELNAME: PhotovoltaicShading
PATH: examples/simscapeelectrical/main/PhotovoltaicShading.slx
DESCRIPTION: Analysis of Solar Photovoltaic System Shading
BLOCKTYPE_FREQUENCY: 1;1;1;2;2;4;2;1;1;1;1;1;1
CHECKSUM: D28D31F0EBC6F2CFA842582B66EB400C
PRODUCT: MATLAB;Simscape;Simscape;Simscape;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Analysis of Solar Photovoltaic System Shading  1 Open script that inputs values from the datasheet 2. Plot current, power curves at varying conditions (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2018-2023 The MathWorks, Inc.

BLOCK:
+;-;Controlled Voltage Source;Electrical Reference;From;Goto;Ipv;PS-Simulink Converter;Reference;Scope;Simulink-PS Converter;Solar Plant;Solver Configuration;SubSystem;Test Voltage;Vpv

BLOCKTYPE:
Controlled Voltage Source;Current Sensor;Electrical Reference;From;Goto;PMIOPort;PS-Simulink Converter;Ramp;Scope;SimscapeComponentBlock;Simulink-PS Converter;Solver Configuration;Voltage Sensor


MODELNAME: PiezoBenderEnergyHarvester
PATH: examples/simscapeelectrical/main/PiezoBenderEnergyHarvester.slx
BLOCKTYPE_FREQUENCY: 1;1;1;1;5;1;2;1;2;1;2;2;10;1;1;1;1;1;1;3;1;1;1
CHECKSUM: 25E19BB3244E3CC9236C0C1046997662
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Set vibration source type (see code): sine wave or chirp 2. Plot converter voltages and output power (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example  Piezo Bender Energy Harvester Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
1+;1-;2+;2-;Battery;Buck Converter;Capacitor;Chirp;Diode;Electrical Reference;Full-Wave Rectifier;Gain;Ideal Translational Velocity Source;Load;Mass;Mechanical Rotational Reference;Mechanical Translational Reference;PS Sine Wave;PS-Simulink Converter;Piezo Bender;Pulse Generator;Reference;Rotational Free End;Rro;Rtr;SPST Switch;Scope;Simulink-PS Converter;Sine;Solver Configuration;Step;SubSystem;Vibration;Vibration Source

BLOCKTYPE:
Battery;Buck Converter;Capacitor;Constant Power Load;Diode;DiscretePulseGenerator;Electrical Reference;Gain;Ideal Translational Velocity Source;Mass;Mechanical Rotational Reference;Mechanical Translational Reference;PMIOPort;PS Sine Wave;PS-Simulink Converter;Piezo Bender;Rotational Free End;SPST Switch;Scope;Simulink-PS Converter;Solver Configuration;Step;chirp


MODELNAME: PotentiometerDatasheet
PATH: examples/simscapeelectrical/main/PotentiometerDatasheet.slx
DESCRIPTION: Digital Potentiometer Parameterized from Datasheet
BLOCKTYPE_FREQUENCY: 1;2;1;1;3;1;1;1;2;4;1;3;4;1;1;1;1;2;1;1;3;2;1;2;1
CHECKSUM: DF3827118005E795D68CD72947807BCD
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Digital Potentiometer Parameterized from Datasheet  1. Plot voltages in circuit (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2006-2023 The MathWorks, Inc.

BLOCK:
AC Voltage;CS;Chip Select;Constant;Count;Digipot;ERef;ERef Op Amp;ERef Source;Enable;Finite Gain Op-Amp;Gain;H;L;Limit [0,No_of_Steps];Meas ;Mux;PS-Simulink Converter;Product;Pulse;Pulse Counter;R;R/No_of_Steps;Reference;SL;Set Up/Down;Sign;Simulink-PS Converter ;Solver Configuration;SubSystem;Sum;Trigger;U/D;Unit Delay;V;Variable Resistor ;Voltage Sensor;Vout;W;sign

BLOCKTYPE:
AC Voltage Source;Constant;Digipot;DiscretePulseGenerator;Electrical Reference;EnablePort;Fcn;Finite-Gain Op-Amp;Gain;Inport;Mux;Outport;PMIOPort;PS-Simulink Converter;Product;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Step;Sum;TriggerPort;UnitDelay;Variable Resistor;Voltage Sensor


MODELNAME: PowerAssistedSteering
PATH: examples/simscapeelectrical/main/PowerAssistedSteering.slx
DESCRIPTION: Electric Power Assisted Steering
BLOCKTYPE_FREQUENCY: 2;2;1;3;1;7;1;2;1;2;3;2;1;2;1;4;4;1;4;4;1;1;4;1;5;1;1;1;1;4;1;1;1
CHECKSUM: 1FB72952695489B23B1A61F48B93760C
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
EXTERNALFILE_REFERENCE: PowerAssistedSteeringControl.slx___Model_Block___
ANNOTATION:
Converts PWM count compare values to a normalized duty cycle. Driver Peripherals Electric Power Assisted Steering  1. Plot torque waveforms (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2014-2023 The MathWorks, Inc.

BLOCK:
Bus Creator;Bus Selector;C;Command Type;Constant;Controlled Voltage Source;Controller;Current Sensor;Data Type Conversion;Demux;Driver Peripherals;Electrical Reference;From;Gmin;Goto;Iabc;Ideal Inverter Delay;Ideal Rotational Motion Sensor;Inverter;Inverter Voltages & Currents;Kp;Mechanical Rotational Reference;PMSM;PMSM Drive;PS Terminator;PS-Simulink Converter;PWM;Phase Splitter;R;RT;Rate Transition;Reference;Scale To Bus Voltage;Sensor;Simulink-PS Converter;Solver Configuration;Steering Column Deflection;Steering Column Inertia;Steering Wheel Velocity;SubSystem;Torsion Bar Spring;Units Per PWM Count;Vabc;Viscous Load;error;m;pwm_compare;steering wheel angular velocity;~

BLOCKTYPE:
BusCreator;BusSelector;Constant;Controlled Voltage Source;Current Sensor (Three-Phase);DataTypeConversion;Demux;Electrical Reference;Enumerated Constant;From;Gain;Goto;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Inertia;Inport;Mechanical Rotational Reference;ModelReference;Outport;PMIOPort;PMSM;PS Terminator;PS-Simulink Converter;Phase Splitter;RateTransition;Resistor;Rotational Damper;Rotational Spring;Scope;Simulink-PS Converter;Sin;Solver Configuration;UnitDelay


MODELNAME: PowerAssistedSteeringControl
PATH: examples/simscapeelectrical/main/PowerAssistedSteeringControl.slx
BLOCKTYPE_FREQUENCY: 3;4;21;3;3;9;1;1;2;1;1;1;3;35;3;76;6;1;1;1;1;1;46;4;8;4;3;1;1;2;2;5;23;2;1;1;1
CHECKSUM: 97997B1567EEE9C3F10968833B2DF23B
PRODUCT: Embedded Coder;MATLAB;Simulink;Stateflow
PRODUCT_BASECODE: PS
DESCRIPTION:
Controller Algorithm for Permanent Magnet Synchronous Machine Specifies controller software component for Permanent Magnet Synchronous Machine (PMSM) using Field-Oriented Control. The sensors bus/structure contains values returned by the Analog to Digital Converter (ADC) and quadrature encoder peripherals. The controller outputs compare values used by the Pulse Width Modulators (PWMs) to generate the phase voltages.

ANNOTATION:
Configures controller mode and controller inputs based on user commands. Mode Scheduler Current Controllers The controller regulates direct and quadrature currents.  Rotation Coefficients Sin Cos Calculate sine and cosine of electrical angle. Clarke Transform Converts balanced three-phase quantities into balanced two-phase quantities. The A and B phases are converted to the direct axis (alpha) component and the quadrature axis (beta) component. The alpha and beta components are still dependent on time and speed. Park Transform Converts balanced two-phase orthogonal stationary system to an orthogonal rotating reference frame. Transform Coordinates ABC to dq Transforms from a three-phase time and speed dependent system (ABC) to a two coordinate time invariant system (dq). Va Sectors 1 and 4 Calculate space vector voltage Calculate space vector voltage Va Sectors 2 and 5 Va Sectors 3 and 6 Calculate space vector voltage Calculate space vector voltage Vb Sectors 1 and 4 Vb Sectors 2 and 5 Calculate space vector voltage Calculate space vector voltage Vb Sectors 3 and 6 Vc Sectors 1 and 4 Calculate space vector voltage Calculate space vector voltage Vc Sectors 2 and 5 Vc Sectors 3 and 6 Calculate space vector voltage Calculate Phase Voltages Determines sector based on phase advanced voltages. This sector is mapped to the actual sector of the output voltage reference. Determine Sector Determines sector based on phase advanced voltages. This sector is mapped to the actual sector of the output voltage reference. Phase Advanced Inverse Clarke Transform Projects the quadrature (beta) component (as opposed to the conventional inverse Clarke transform which projects the alpha component). Space Vector Modulation Calculates stator phase voltages using a switching sequence scheme which results in three pseudo-sinusoidal currents in the stator phases. This technique approximates a given stator reference voltage vector by combining the switching pattern corresponding to the basic space vectors. Inverse Park Transform Converts orthogonal rotating reference frame (dq) to two-phase orthogonal stationary reference frame (alpha, beta) Transform Coordinates dq to ABC Converts the two coordinate time invariant system (dq) to a three-phase time and speed dependent system (ABC). Controls stator currents based on transformations between a three-phase phase time and speed dependent system (ABC) and a two coordinate time invariant system (dq). Current Control Wrap position error to keep error centered around zero. Wrap Between -Pi and Pi The controller regulates motor position using rotor position feedback compared to a commanded position. The output of the controller is the quadrature-winding current command which is directly proportional to the electromagnetic torque of the motor. Since the motor being controlled is a Permanent Magnet Synchronous Machine, the rotor flux linkage is fixed (determined by the magnets), hence the commanded direct-winding current is always zero. Position Controller The output of the controller is the quadrature-winding current command which is directly proportional to the electromagnetic torque of the motor. In this configuration, the torque command is just the current command. An additional gain term could be added to translate current to torque based on know motor parameters. Torque Controller The controller regulates motor velocity using rotor velocity feedback compared to a commanded velocity. The output of the controller is the quadrature-winding current command which is directly proportional to the electromagnetic torque of the motor. Since the motor being controlled is a Permanent Magnet Synchronous Machine, the rotor flux linkage is fixed (determined by the magnets), hence the commanded direct-winding current is always zero. Velocity Controller The current controller always executes. Startup, velocity, and torque controllers are optionally enabled. Field Oriented Controller Converts normalized phase voltages to compare values used by the PWMs to generate phase voltages. Phase Voltages to PWM Compare Values This layer converts driver units to engineering units, executes the control law, and calculates compare values used by the PWM driver. The sensors bus/structure contains values returned by the Analog to Digital Converter (ADC) and quadrature encoder peripherals. The controller outputs compare values used by the Pulse Width Modulators (PWMs) to generate the phase voltages. Motor Control Controller Algorithm for Permanent Magnet Synchronous Machine Copyright 2010-2023 The MathWorks, Inc.

BLOCK:
 Demux ; SFunction ; Terminator ; VA;A_phase_current;Action Port;Add;Alpha_Beta_to_ABC Space_Vector_Modulation;Alpha_Gain;B_Gain;B_phase_current;Beta_Gain;Bus Creator;Bus Selector;Bus_Gain;Bus_Voltage;Calculate_Phase_Advanced_Sector;Calculate_Phase_Voltages;Clarke_Transform;Compare_VA_To_Zero;Compare_VB_To_Zero;Compare_VC_To_Zero;Constant;Controller_Mode_Scheduler;Current_Control;Current_Controllers;Data Store Memory;Data Store Read;Detect_Change;Determine_Sector;Direct_Current_Control;Enable;Enum_To_Int;Enumerated_Constant;Error;Field_Oriented_Controller;From;Gain;Goto;Greater_Than;Inverse_Park_Transform;Isolate_For_Merge;Less_Than;Lo_to_Hi_Rate_Transition;Lookup_Table;Merge;Mode_Scheduler;Modulus;Motor_Control;Neg_Pi_Constant;OR;Park_Transform;Phase_Advanced_Inverse_Clarke;Phase_Voltages_to_PWM_Compare_Values;Pi_Constant_;Position_Control;Product;Quadrature_Current_Control;Quantize;Reference;Relational Operator;Rotation_Coefficients_Sin_Cos;Rotor_Speed_Control;Saturation;Scope;Sector;Sector_Gain_VB;Sector_Gain_VC;Sectors_1_and_;Sectors_2_and_;Sectors_3_and_;Select_Angle;Select_Sector;Signal Conversion;Space_Vector_Gain;SubSystem;Subtract;Sum;Switch;Switch Case;Torque_Control;Transform_Coordinates_ABC_to_dq;Transform_Coordinates_dq_to_ABC;Two_Pi_Constant;VA;VB;VC;Va;Va_Gain;Va_Sectors_1_and_;Va_Sectors_2_and_;Va_Sectors_3_and_;Vb;Vb_Sectors_1_and_;Vb_Sectors_2_and_;Vb_Sectors_3_and_;Vc;Vc_Sectors_1_and_;Vc_Sectors_2_and_;Vc_Sectors_3_and_;Velocity_Control;Voltage to PWM Compare Units;Wrap;Wrap_Error_pi;alpha;alpha_current;alpha_current (Duplicate);alpha_voltage;alpha_voltage (Duplicate);beta_current;beta_current (Duplicate);beta_voltage;beta_voltage (Duplicate);bus_alpha_beta;command;command_type;command_value;controller_mode;controller_mode (duplicate);d_current;d_current_command (A);d_current_measured (A);direct_current;dq_axis_voltages (V);dq_voltages;error;motor_on;number_of_pole_pairs;omega;phase_currents;phase_currents (A);phase_voltages;phase_voltages (V);position_command;position_measured;position_measured (duplicate);position_valid;pwm_compare;q_current;q_current_command (A);q_current_measured (A);quadrature_current;reset_integrators;rotation_coefficients;rotor_position;rotor_position (rads);sector;sin_cos;sine_cosine;torqueConstant;torque_command;velocity;velocity_command;velocity_measured

BLOCKTYPE:
ActionPort;BusCreator;BusSelector;Compare To Zero;Concatenate;Constant;DataStoreMemory;DataStoreRead;DataTypeConversion;Demux;Detect Change;Enumerated Constant;From;Gain;Goto;Inport;InportShadow;Logic;LookupNDDirect;Math;Merge;MultiPortSwitch;Outport;PID 1dof;Product;RateTransition;RelationalOperator;S-Function;Saturate;Scope;Selector;SignalConversion;Sum;Switch;SwitchCase;Terminator;Trigonometry


MODELNAME: PowerConverterFidelity
PATH: examples/simscapeelectrical/main/PowerConverterFidelity.slx
DESCRIPTION: Power Converter Model Fidelity Comparison
BLOCKTYPE_FREQUENCY: 2;6;2;3;3;3;3;3;3;15;3;14;1;5;3;21;12;1;1;1;3;9;7;18;1;3;3;3;3
CHECKSUM: BCBE1651FD47026D02DEAD0BBD99A9E3
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Power Converter Model Fidelity Comparison  1. Plot current (see code) 2. Plot voltage (see code) 3. Explore simulation results using Simscape Results Explorer 4. Modify model parameters 5. Learn more about this example Copyright 2019-2023 The MathWorks, Inc.

BLOCK:
;+;-;3-ph Unit Sine Wave;Bias;C;Control;Converter averaged switch modulation waveforms;Converter averaged switches averaged pulses ;Converter ideal switches;Current Sensor;Current and Voltage Sensor (Three-Phase);DC Voltage Source;Demux;Electrical Reference;From;G;Gain;Gate driver;Gate driver averaged pulses;Gate driver modulation waveforms;Goto;Load;Mod. Index;Moving Average;Mux;Open Circuit;PS-Simulink Converter;PWM Generator (Three-phase, Two-level);Product;R;Rate Transition;Reference;SPWM max. input;Scope;Scopes;Selector;Sensing Vdc;Sensing abc;Sensing iDC;Simulink-PS Converter;Six-Pulse Gate Multiplexer;SubSystem;Ts=100us;Ts=10us;Ts=50us;Vdc;Voltage Sensor;iDC;ia;ib;ic;va;vb;vc

BLOCKTYPE:
Bias;Capacitor;Constant;Converter (Three-Phase);Current Sensor;Current and Voltage Sensor (Three-Phase);DC Voltage Source;Demux;Electrical Reference;From;Gain;Goto;Moving Average;Mux;Open Circuit;PMIOPort;PS-Simulink Converter;PWM Generator (three-phase, two-level);Product;RateTransition;Resistor;Scope;Selector;Simulink-PS Converter;Sin;Six-Pulse Gate Multiplexer;Solver Configuration;Voltage Sensor;Wye-Connected Load


MODELNAME: PowerLossAnalysis
PATH: examples/simscapeelectrical/main/PowerLossAnalysis.slx
DESCRIPTION: Power-Loss Analysis of a Three-Phase Rectifier
BLOCKTYPE_FREQUENCY: 1;2;2;1;6;1;9;9;1;9;7;7;1;2;1;1;1;1;3;1
CHECKSUM: 8213A899DE955D091F864ABE30F267F5
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Power-Loss Analysis of a Three-Phase Rectifier  1. Calculate power dissipated by all of the diodes in the model for the entire simulation time (see command window for output). 2. Calculate power dissipated by diode D6 for the entire simulation time (see command window for output). 3. Explore simulation results using Simscape Results Explorer. 4. Calculate the maximum power dissipated by diode D6. (see command window for output). 5. Calculate power dissipated by diode D6 between simulation time, t = 1e-3 to 0.5 s (see command window for output). 6. Plot power dissipated by the diodes (see code). 7. Calculate power dissipated by all of the diodes between simulation time, t = 0.4 to 0.5 s (see command window for output). 8. Learn more about the ee_getPowerLossSummary function. Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
+;-;C;Conn;Constant;Current Sensor;Currents, Voltages, and Power Dissipation;D;D1 ;Electrical Reference;From;Goto;ID;I_D;Iabc;Line Voltage Sensor;PS-Simulink Converter;Pd_D;Pd_D5 ;Phase Splitter;Product;R;Rectifier;Reference;Sensing Vdc;Sensing vi;Signals;Solver Configuration;SubSystem;Vabc;Vdc;VdcD;Vdc_D;Voltage Sensor;Voltage Source;Voltage Source Impedance;~

BLOCKTYPE:
Capacitor;Constant;Current Sensor;Current Sensor (Three-Phase);Diode;Electrical Reference;From;Goto;Line Voltage Sensor (Three-Phase);Outport;PMIOPort;PS-Simulink Converter;Phase Splitter;Product;RLC (Three-Phase);Resistor;Scope;Solver Configuration;Voltage Sensor;Voltage Source (Three-Phase)


MODELNAME: PowerSplitHEV
PATH: examples/simscapeelectrical/main/PowerSplitHEV.slx
DESCRIPTION: Power Split Hybrid Vehicle Electrical Network
BLOCKTYPE_FREQUENCY: 3;1;2;3;1;2;20;13;15;2;5;4;2;1;6;2;1;9;1;2;3;9;29;1;6;1;7;12;1;5;3;1;4;11;1;3;1
CHECKSUM: EBF8FCC98C412822F9D7FFD6B3FEB627
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
The engine is assumed to be operating in fixed-speed mode, and hence it can be represented as a constant angular velocity source. The torque provided by the engine depends on the generator torque control system. Planetary gear consisting of sun (S), ring(R), planets and carrier (C). Workspace parameter ratio is the ratio of the number of teeth on the ring to the number of teeth on the sun. Simscape Driveline(TM) has built-in components that model planetary gears with friction losses. Generator torque demand has been set so that at the starting condition the combustion engine is providing just enough power to keep the vehicle moving at constant speed, and hence battery power is close to zero. The engine RPM demand is set to 2000 rpm for good efficiency. Power Split Hybrid Vehicle Electrical Network  1. Plot power of powertrain components (see code) 2. Plot electrical losses of components (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2011-2023 The MathWorks, Inc.

BLOCK:
 1+ratio ; Electric motor losses; W to kW ;+;-;-ratio;0v;1+ratio;20Hz Lowpass Filter;Accelerate at t=2s;Acceleration level (m/s^2);Amp Hours;Angular Velocity Source;Angular Velocity Source S;Battery;Battery Charge (Ah);C;Calculate losses;Calculations;Charge;Convert to wheel RPM;Current Sensor;DC-DC Converter;DC-DC converter losses;Decelerate at t=12s;E;ERef;Electrical Power;Engine;Engine RPM demand;F;From;G;Gen;Generator;Generator losses;Generator torque demand;Generic Battery;Goto;I;I^;Integrator;Ki;Kp;Limits [-40,40];M;MRRef;MRRef C;MRRef R;MRRef S;MTRef;Mass;Mechanical Power;Motion Sensor;Motion Sensor C;Motion Sensor R;Motor;Mux;Nm;PMSM;PS Add;PS Product;PS-Simulink Converter;PS-Simulink Converter ;PS2S;PS2SL;Ploss;Power;Power (kW);Power Split;R;RPM;RPM Sensor;RPM sensor;Reference;Routing;S;Scopes;Shaft speeds (RPM);Solver Configuration;Spd;Speed;Speed Command;Speed Controller;Steady-state correction factor as proportional-only control;Stop acceleration at t=7s;Stop decelerationat t=17s;Strategy;SubSystem;Sum;T_ref;Torque Sensor;Torque Sensor S;Torque Source C;Torque Source R;Total electrical losses (kW);V;Vehicle Body;Voltage Sensor;W to kW;Wheel and Axle;[-40,40];mps2kmh;ratio;rpm;rpm_ref;trq;v;w

BLOCKTYPE:
Abs;Battery;Constant;Current Sensor;DC-DC Converter;Electrical Reference;From;Gain;Goto;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Ideal Translational Motion Sensor;Inport;Integrator;Mass;Mechanical Rotational Reference;Mechanical Translational Reference;Motor & Drive (System Level);Mux;Outport;PMIOPort;PS Add;PS Gain;PS Integrator;PS Product;PS-Simulink Converter;Saturate;Scope;Simulink-PS Converter;Solver Configuration;Step;Sum;TransferFcn;Voltage Sensor;Wheel and Axle


MODELNAME: PushPullBuckCCM
PATH: examples/simscapeelectrical/main/PushPullBuckCCM.slx
DESCRIPTION: Push-Pull Buck Converter in Continuous Conduction Mode
BLOCKTYPE_FREQUENCY: 1;1;2;4;1;3;1;2;2;1;1;1;2;9;1;1;8;1;2;2;2;1;1;5;1;16;4;1;2;1;2;3;1;2;1;1;4
CHECKSUM: 92C9E39CA4D1497C9BE17740D67937C4
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Push-Pull Buck Converter in Continuous Conduction Mode  1. Modify model parameters 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example. Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
 N-Channel MOSFET ;+;-;500 Hz pulsed load;Add;Circuit Scope;Compare To Constant;Compare To Zero;Constant;Constant Resistive Load;Controlled Current Source;Current Sensor;Cyclic Load;Data Type Conversion;Diode;Discrete PID Controller;Discrete-Time Integrator;Duty;Eddy Current;Electrical Reference;Filter Capacitor;Filter Inductor;From;Fromm;Fundamental Reluctance;G;Goto;Input_Voltage;Logical Operator AND;Magnetic Reference;Math Function;N-Channel MOSFET ;PI Controller;PI Controller Scope;PS-Simulink Converter;PWM Generator;Phase shift Half cycle;Primary Winding;Rate Limiter;Reference;Reference Voltage;Relational Operator;Scopes;Secondary Winding;Sensing Vm;Sensing iD;Sensing iL;Simulink-PS Converter;Solver Configuration;Step-Down Center-Tapped Transformer;SubSystem;Subtract;Unit Delay;Vm;Voltage Sensor;constant;gain;p;s;v

BLOCKTYPE:
Capacitor;Compare To Constant;Compare To Zero;Constant;Controlled Current Source;Current Sensor;DC Voltage Source;DataTypeConversion;Diode;DiscreteIntegrator;DiscretePulseGenerator;Eddy Current;Electrical Reference;From;Fundamental Reluctance;Gain;Goto;Inductor;Inport;Logic;MOSFET (Ideal, Switching);Magnetic Reference;Math;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;RateLimiter;RelationalOperator;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Sum;UnitDelay;Voltage Sensor;Winding


MODELNAME: PushPullBuckDCM
PATH: examples/simscapeelectrical/main/PushPullBuckDCM.slx
DESCRIPTION: Push-Pull Buck Converter in Discontinuous Conduction Mode
BLOCKTYPE_FREQUENCY: 1;1;2;4;3;1;2;2;1;1;2;9;1;1;8;1;2;2;2;1;1;5;1;14;4;1;2;1;2;2;1;2;1;1;4
CHECKSUM: 4FB22817D97CE738850B5A5F62438E60
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Modify model parameters 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example   Push-Pull Buck Converter in Discontinuous Conduction Mode Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
 N-Channel MOSFET ;+;-;Add;Circuit Scope;Compare To Constant;Compare To Zero;Constant;Constant Resistive Load;Current Sensor;Data Type Conversion;Diode;Discrete PID Controller;Discrete-Time Integrator;Duty;Eddy Current;Electrical Reference;Filter Capacitor;Filter Inductor;From;Fromm;Fundamental Reluctance;G;Goto;Input_Voltage;Logical Operator AND;Magnetic Reference;Math Function;N-Channel MOSFET ;PI Controller;PI Controller Scope;PS-Simulink Converter;PWM Generator;Phase shift Half cycle;Primary Winding;Rate Limiter;Reference;Reference Voltage;Relational Operator;Scopes;Secondary Winding;Sensing current iD;Sensing current iL;Sensing voltage Vm;Simulink-PS Converter;Solver Configuration;Step-Down Center-Tapped Transformer;SubSystem;Subtract;Unit Delay;Vm;Voltage Sensor;constant;gain;p;s;v

BLOCKTYPE:
Capacitor;Compare To Constant;Compare To Zero;Constant;Current Sensor;DC Voltage Source;DataTypeConversion;Diode;DiscreteIntegrator;Eddy Current;Electrical Reference;From;Fundamental Reluctance;Gain;Goto;Inductor;Inport;Logic;MOSFET (Ideal, Switching);Magnetic Reference;Math;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;RateLimiter;RelationalOperator;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Sum;UnitDelay;Voltage Sensor;Winding


MODELNAME: RFPowerAmplifier
PATH: examples/simscapeelectrical/main/RFPowerAmplifier.slx
DESCRIPTION: RF Power Amplifier Characterization Test Harness
BLOCKTYPE_FREQUENCY: 4;2;1;1;1;3;2;2;2;2;2;1;1;1;2;5;25;2;4;1;2;1;8;1;4;1;5;1;1;2;1;2;3;1
CHECKSUM: C7F3C312B562851169F5F9BB808A78ED
PRODUCT: MATLAB;Simscape;Simscape;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 RF Power Amplifier Characterization Test Harness  1 Open script that inputs values for power amplifier (load data) 2. Select the input signal Sinusoidal, QAM16 3. Select the power amplifier Class-A, Class-B with Tranformer, Class-B with Filter 4. Plot the input and output characteristics (see code) 5. Plot IV characteristics of RF transistor (see code, Test harness) 6. Explore simulation results using Simscape Results Explorer 7. Learn more about this example Copyright 2022-2023 The MathWorks, Inc.

BLOCK:
;+;Add;Amplifier Phase Shift;Capacitor;ClassA;ClassBwithBandPassFilter;ClassBwithTransformer;Complex to Real-Imag;Constant;Cutt-off voltage;Electrical Reference;Enable;From;Gain;Goto;Inductor;InputSignal;Merge;Moving Average;NOT;Out;PS-Simulink Converter;Power Amplifier;Product;QAM;QAM Demodulation;R;RC;Real-Imag to Complex;Reference;Repeating Sequence Stair;Resistor;Ro;Scope;Simscape Component;Simulink-PS Converter;Sine Wave;Sinusoidal;Solver Configuration;SubSystem;Subsystem;Three-Winding Nonlinear Transformer;To Workspace;Vce;Vdc;Vin;Vin+;Vin-;Voltage Source;Vout;Vout+;Vout-;XY Graph;ZOH/;out;v;vdc+

BLOCKTYPE:
Capacitor;ComplexToRealImag;Constant;Controlled Voltage Source;Delay;Electrical Reference;EnablePort;From;Gain;Goto;Inductor;Inport;Logic;Merge;Moving Average;Outport;PMIOPort;PS-Simulink Converter;Product;RealImagToComplex;Record;Repeating Sequence Stair;Resistor;Scope;SimscapeComponentBlock;Simulink-PS Converter;Sin;Solver Configuration;Sum;Three-Winding Nonlinear Transformer;ToWorkspace;Voltage Sensor;Voltage Source;ZeroOrderHold


MODELNAME: RFPowerAmplifierIVTestHarness
PATH: examples/simscapeelectrical/main/RFPowerAmplifierIVTestHarness.slx
DESCRIPTION: RF Transistor IV Characteristics Test Harness
BLOCKTYPE_FREQUENCY: 1;1;1;1;2;2;2;1;1;1;1;1;1
CHECKSUM: 8450CE77E54612DEF20E3AB6D98A1E97
PRODUCT: MATLAB;Simscape;Simscape;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 RF Transistor IV Characteristics Test Harness  1. Plot IV characteristics of RF transistor (see code) 2. Open main input script of power amplifier 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example  Copyright 2022-2023 The MathWorks, Inc.

BLOCK:
Base current;Controlled Voltage Source;Electrical Reference;From;Goto;Ice;PS-Simulink Converter;Ramp;Reference;Scope;Simscape Component;Simulink-PS Converter;Solver Configuration;Vce

BLOCKTYPE:
Controlled Voltage Source;Current Sensor;Current Source;Electrical Reference;From;Goto;PS-Simulink Converter;Ramp;Scope;SimscapeComponentBlock;Simulink-PS Converter;Solver Configuration;Voltage Sensor


MODELNAME: SMControl
PATH: examples/simscapeelectrical/main/SMControl.slx
DESCRIPTION: Three-Phase Synchronous Machine Control
BLOCKTYPE_FREQUENCY: 2;9;3;4;1;1;2;2;1;1;2;6;4;1;4;1;2;4;1;3;1;1;3
CHECKSUM: 9ED83C643186D4A8D1FEC6192A73836B
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Three-Phase Synchronous Machine Control  1. Plot terminal voltage and rotor speed (see code) 2. Modify model parameters 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
1/T_CH;1/T_G;1/droop;AVR and Exciter;C;Circuit Breaker Step off;Circuit Breaker Step on;Constant;Delta load setpoint;Delta speed;E_FD Simulink-PS ;Electrical Reference;Governor;Governor and Prime Mover ;I_FD PS-Simulink;Ideal Torque Source;Initial Load;Integrator;Load Step off;Load Step on;Load_setpoint;Machine Inertia;Mechanical Rotational Reference;Non-reheat turbine;PS-Simulink Converter;R;Reference;Rotor Velocity Measurement;SM AC1C;Simulink-PS Converter;Solver Configuration;Speed_ref;Step off;Step on;SubSystem;Subtract;Sum;Synchronous Machine Field Circuit (pu);Synchronous Machine Round Rotor (standard);Terminal Current Measurement;Terminal Current PS-Simulink;Terminal Voltage Measurement;Terminal Voltage PS-Simulink;Unit Delay;delta_y;fd+;fd-;pu;pu_velocity;scale by base_torque;torque

BLOCKTYPE:
Circuit Breaker (Three-Phase);Constant;Electrical Reference;Gain;Governor and Prime Mover;Ideal Torque Source;Inport;Integrator;Machine Inertia;Mechanical Rotational Reference;Outport;PMIOPort;PS-Simulink Converter;SM AC1C;Simulink-PS Converter;Solver Configuration;Step;Sum;Synchronous Machine Field Circuit;Synchronous Machine Measurement;Synchronous Machine Round Rotor;UnitDelay;Wye-Connected Load


MODELNAME: SMDrive
PATH: examples/simscapeelectrical/main/SMDrive.slx
DESCRIPTION: Three-Phase Synchronous Machine Drive
BLOCKTYPE_FREQUENCY: 1;1;2;1;1;1;1;2;1;16;3;14;1;1;1;3;2;3;2;11;6;1;9;1;2;3;8;1;1;1;1;1;1;1;1
CHECKSUM: BF45D20D2D0DF1A23641D26EA31C7B97
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Three-Phase Synchronous Machine Drive  1. Plot speed of motor (see code) 2. Choose between Detailed and Equivalent converters models 3. Explore simulation results using Simscape Results Explorer 4. Modify model parameters 5. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
;+;-;Bus Selector;C;Constant;Control;Converter;Current Sensor;Demux;Electrical Reference;From;G;Gate driver;Gate driver chopper;Goto;HV Battery;Idqf ;Inertia;MRRef;MRRef IPMSM;Motion Sensor;Mux;PS-Simulink Converter;R;Rate Limiter;Rate Transition;Reference;RpmRequest;S;SM Field-Oriented Control;SR;Scope;Scopes;Selector;Sensing Vdc;Sensing iabc;Sensing if;Sensing trq;Sensing w a;Sign Change;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Step;SubSystem;Switch;Synchronous Machine Model 1.0 (SI parameters);Torque Sensor;Two-Pulse Gate Multiplexer;Two-Quadrant Chopper;Voltage Sensor;rad/s2rpm;rpm -> rad/s [mech.]

BLOCKTYPE:
Battery;BusSelector;Capacitor;Constant;Converter (Three-Phase);Current Sensor;Current Sensor (Three-Phase);Demux;Electrical Reference;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inertia;Inport;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;RateLimiter;RateTransition;SM Field-Oriented Control;Scope;Selector;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Step;Switch;Synchronous Machine Model 1.0;Two-Pulse Gate Multiplexer;Two-Quadrant Chopper;Voltage Sensor


MODELNAME: SMFluxFromMotorCAD
PATH: examples/simscapeelectrical/main/SMFluxFromMotorCAD.slx
DESCRIPTION: Import Synchronous Machine Flux Linkage Data from Motor-CAD
BLOCKTYPE_FREQUENCY: 3;1;1;4;1;1;1;2;1;4;4;4;4;3;1;1;1;3
CHECKSUM: A54D5923DFBB42C4B3761723BB37EB6C
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Phase offset of 90 degrees used to make a cosine source. Results in zero current advance angle for peak torque. High-value parallel resistor added to avoid driving the inductive load with an ideal current source. Helps solver to converge. High-value parallel resistor added to avoid driving the inductive load with an ideal current source. Helps solver to converge. Phase offset of 90 degrees used to make a cosine source. Additional phase offset of -120 degrees for B-phase source. Results in zero current advance angle for peak torque. High-value parallel resistor added to avoid driving the inductive load with an ideal current source. Helps solver to converge. Phase offset of 90 degrees used to make a cosine source. Additional phase offset of 120 degrees for C-phase source. Results in zero current advance angle for peak torque. Copyright 2022-2023 The MathWorks, Inc.  Import Synchronous Machine Flux Linkage Data from Motor-CAD  1. Load flux data from Motor-CAD (open script, run script) 2. Plot results in motor windings (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example

BLOCK:
+;AC Current Source;Angular Velocity Source;Current Source;Dynamometer;Electrical Reference;FEM-Parameterized Synchronous Machine;Ideal Torque Sensor;Mechanical Rotational Reference;Mux;PS-Simulink Converter;Perfect Insulator;R;Reference;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Speed Demand;SubSystem;Voltage Sensor;torque;vA;vB;vC

BLOCKTYPE:
AC Current Source;Constant;Current Source;Electrical Reference;FEM-Parameterized Synchronous Machine;Ideal Angular Velocity Source;Ideal Torque Sensor;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;Perfect Insulator;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Voltage Sensor


MODELNAME: SMGovernorDesign
PATH: examples/simscapeelectrical/main/SMGovernorDesign.slx
DESCRIPTION: Three-Phase Synchronous Machine Governor Control Design
BLOCKTYPE_FREQUENCY: 1;1;4;4;11;1;1;14;4;1;1;2;9;9;1;1;1;1;4;1;1;2;1;11;1;3;1;2;1
CHECKSUM: 132CF008685890580E621D686DD9617D
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Vrmax Vamax Vamin  __ / / / / / __/ Three-Phase Synchronous Machine Governor Control Design  1. Modify script that generates the linear model 2. Generate a linearized version of the model 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
1/(sTr+1);1/T_CH;1/T_G;1/droop;AVR and Exciter;Compensator and Transducer;Complex to Magnitude;Constant;Damping Filter;Delta load setpoint;Delta speed;Efd;Electrical Reference;Fex;Gain;Governor;Governor and Prime Mover ;Ideal Torque Source;Ifd;Ifd PS-Simulink;In;Initial Load;Integrator;It;Linearization I/O points;Load_setpoint;Machine Inertia;Mechanical Rotational Reference;Non-reheat turbine;Out;PS Divide;PS Gain;PS Lookup Table (1D);PS Product;PS-Simulink Converter;Product;R;Reference;Rotor Velocity Measurement;SM AVR Type AC1A (pu);Saturation;Set to 1 for closed-loop operation, and set to 0 when linearizing;Simulink-PS Converter;Solver Configuration;Speed_ref;SubSystem;Subtract;Sum;Synchronous Machine Field Circuit (pu);Synchronous Machine Round Rotor (standard);Terminal Current Measurement;Terminal Current PS-Simulink;Terminal Voltage Measurement;Terminal Voltage PS-Simulink;Vaminmax;Vc;Ve;Ve Simulink-PS ;Vrmin;Vstab;Vt;Vtref;Vx;delta_y;fd+;pu;pu_velocity;scale by base_torque;torque;u;y

BLOCKTYPE:
AVR and Excitation System;ComplexToMagnitudeAngle;Constant;Electrical Reference;Gain;Governor and Prime Mover;Ideal Torque Source;Inport;Integrator;Lookup;Machine Inertia;Mechanical Rotational Reference;Outport;PMIOPort;PS Divide;PS Gain;PS Lookup Table (1D);PS Product;PS-Simulink Converter;Product;Saturate;Simulink-PS Converter;Solver Configuration;Sum;Synchronous Machine Field Circuit;Synchronous Machine Measurement;Synchronous Machine Round Rotor;Transfer Function with Initial Outputs;Wye-Connected Load


MODELNAME: SMStateSpaceControl
PATH: examples/simscapeelectrical/main/SMStateSpaceControl.slx
DESCRIPTION: Synchronous Machine State-Space Control
CHECKSUM: 80F2D564939F3A61C0F8A37D67FC387E
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink;Stateflow
PRODUCT_BASECODE: PS
ANNOTATION:
Synchronous Machine State-Space Control  1. Plot torque of motor (see code) 2. Explore simulation results using Simscape Results Explorer 3. Modify model parameters 4. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
; Demux ; SFunction ;+;-;C;CLK_50us;Constant;Control;Converter;Current Reference Generator;Current Sensor;Current control;Demux;Disturbance selector;Electrical Reference;Filter;From;Function-Call Clock_50us;G;Gain;Gate driver;Gate driver chopper;Goto;HV Battery;If;Ifd;Input;Inverse Park Transform;Low-Pass Filter (Discrete or Continuous);Luenberger Observer;MRRef;MRRef IPMSM;MRRef Load;Math Function;Measurements;Motion Sensor;Mux;Outer loop control;PS-Simulink Converter;PWM Generator;PWM excitation;PWM generator;Park Transform;Product;PwmON;R;Rate Transition;Reference;Relay;S;Saturation;Saturation ;Saturation Dynamic;Scope;Scopes;Selector;Sensing Vdc;Sensing iabc;Sensing if;Sensing trq;Sensing w a;Sign Change ;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;State-Feedback Controller;SubSystem;Sum;Switch;Synchronous Machine Model 1.0 (SI parameters);Task scheduler;Task100us;Task1ms;Task_100us_1();Task_100us_2();Task_1ms_1();Torque Estimation;Torque Sensor;TqReq;TqRequest;Tq_estim;Tq_lim;Tq_ref;Two-Pulse Gate Multiplexer;Two-Quadrant Chopper;VDC;Vdc;Vdc_m;Vdqf_FF;Velocity Source;VfMax;Voltage Sensor;Zero ;Zero vector;d-q Voltage Limiter;elec->mech;iabc;iabc_m;idq;idqf ;idqf_ref;if;omega;omega_m;pole pairs;pole pairs ;rad/s->rpm;theta;theta_m;vdq;vf;vf limiter;vfRef;vfUnsat

BLOCKTYPE:
Battery;Capacitor;Constant;Converter (Three-Phase);Current Sensor;Current Sensor (Three-Phase);Demux;Electrical Reference;From;Function-Call Generator;Gain;Goto;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inport;Inverse Park Transform;Low-Pass Filter (Discrete or Continuous);Luenberger Observer;Math;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;PWM Generator;PWM Generator (three-phase, two-level);Park Transform;Product;RateTransition;Relay;S-Function;SM Current Reference Generator;Saturate;Saturation Dynamic;Scope;Selector;SignalEditor;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;State-Feedback Controller;Sum;Switch;Synchronous Machine Model 1.0;TriggerPort;Two-Pulse Gate Multiplexer;Two-Quadrant Chopper;Voltage Sensor;d-q Voltage Limiter

BLOCKTYPE_FREQUENCY:
1;2;6;1;1;1;4;1;27;1;13;25;1;1;1;24;1;5;1;1;3;5;19;11;6;1;1;1;3;14;1;1;1;2;1;4;5;1;8;1;1;1;3;2;1;4;1;1;1;1


MODELNAME: SMTorqueControl
PATH: examples/simscapeelectrical/main/SMTorqueControl.slx
DESCRIPTION: SM Torque Control
CHECKSUM: 8B21C93C0A3CBDE0F61ED4884B9D4DE1
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink;Stateflow
PRODUCT_BASECODE: PS
ANNOTATION:
SM Torque Control  1. Plot torque in Synchronous Machine (see code) 2. Modify model parameters 3. Choose between Detailed and Equivalent converters models 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
; Demux ; SFunction ;+;-;1/Ibase;1/Ifbase;Angular Velocity Source;C;CLK_50us;Constant;Control;Converter;Current Reference Generator;Current Sensor;Current control;Data Type Conversion;Demux;Electrical Reference;Filter;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Function-Call Clock_50us;G;Gain;Gate driver;Gate driver chopper;Goto;HV Battery;If;Ifd;Inverse Park Transform;Ld;Load RPM;Logical Operator;Lq;Math Function;Measurements;Mechanical Rotational Reference;Mux;Outer loop control;PS-Simulink Converter;PWM Generator;PWM excitation;PWM generator;Park Transform;Pre-control;Product;PwmON;R;Rate Transition;Reference;Relay;Rotational Motion Sensor;S;SM Current Controller;Saturation;Saturation ;Scope;Scope3 ;Selector;Sensing Iph;Sensing Trq;Sensing Vdc;Sensing iabc;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Sum;Switch;Synchronous Machine Salient Pole;Task scheduler;Task100us;Task1ms;Task_100us_1();Task_100us_2();Task_1ms_1();Tbase;Torque Estimation;Torque Sensor;Tq request;TqReq;Tq_estim;Tq_lim;Tq_ref;VDC;Vdc;Vdc filter;Vdc_m;Visualization;Voltage Sensor;Zero vector;Zero vector ;elec->mech;iabc;iabc_m;idq;idqf_ref;if;omega;omega_m;pole pairs;pole pairs ;rad/s->rpm;theta;theta_m;vdq;vdqFF;vf

BLOCKTYPE:
Battery;Capacitor;Constant;Converter (Three-Phase);Current Sensor;Current Sensor (Three-Phase);DataTypeConversion;Demux;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Function-Call Generator;Gain;Goto;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inport;Inverse Park Transform;Logic;Low-Pass Filter (Discrete or Continuous);Math;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;PWM Generator;PWM Generator (three-phase, two-level);Park Transform;Product;RateTransition;Relay;S-Function;SM Current Controller;SM Current Reference Generator;Saturate;Scope;Selector;SignalEditor;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sum;Switch;Synchronous Machine Salient Pole;TriggerPort;Voltage Sensor

BLOCKTYPE_FREQUENCY:
1;2;6;1;1;1;2;4;1;1;1;26;1;16;24;1;1;1;26;1;1;3;1;3;6;19;10;6;1;1;1;5;14;1;1;1;1;2;4;8;2;9;1;1;3;2;1;4;1


MODELNAME: SMVelocityControl
PATH: examples/simscapeelectrical/main/SMVelocityControl.slx
DESCRIPTION: SM Velocity Control
CHECKSUM: 07977ABB5B8D140C1F19844388A22CFA
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink;Stateflow
PRODUCT_BASECODE: PS
ANNOTATION:
SM Velocity Control  1. Plot speed in Synchronous Machine (see code) 2. Choose between Detailed and Equivalent converters models 3. Plot simulations results of Detailed and Equivalent models 4. Explore simulation results using Simscape Results Explorer 5. Modify model parameters 6. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
; Demux ; SFunction ;+;-;1/Ibase;1/Ifbase;C;CLK_50us;Constant;Control;Converter;Current Reference Generator;Current Sensor;Current control;Data Type Conversion;Demux;Electrical Reference;Filter;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Function-Call Clock_50us;G;Gain;Gate driver;Gate driver chopper;Goto;HV Battery;If;Ifd;Inertia;Inverse Park Transform;Ld;Load torque;Logical Operator;Lq;Math Function;Measurements;Mechanical Rotational Reference;Mux;Outer loop control;PS-Simulink Converter;PWM Generator;PWM excitation;PWM generator;Park Transform;Pre-control;Product;PwmON;R;Rate Transition;Reference;Relay;Rotational Motion Sensor;Rpm request;RpmRequest;S;SM Current Controller;Saturation;Saturation ;Scope;Scope3 ;Selector;Sensing Iph;Sensing Trq;Sensing Vdc;Sensing iabc;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Sum;Switch;Synchronous Machine Salient Pole;Task scheduler;Task100us;Task1ms;Task_100us_1();Task_100us_2();Task_1ms_1();Tbase;Torque Estimation;Torque Sensor;Torque Source;Tq_estim;Tq_lim;Tq_ref;VDC;Vdc;Vdc filter;Vdc_m;Velocity Controller ;Visualization;Voltage Sensor;Zero vector;Zero vector ;elec->mech;iabc;iabc_m;idq;idqe_ref;idqf_ref;if;omega;omega_m;pole pairs;pole pairs ;rad/s->rpm;rpm->rad/s;rpm_ref;theta;theta_m;vdq;vdqFF;vf

BLOCKTYPE:
Battery;Capacitor;Constant;Converter (Three-Phase);Current Sensor;Current Sensor (Three-Phase);DataTypeConversion;Demux;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Function-Call Generator;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Inertia;Inport;Inverse Park Transform;Logic;Low-Pass Filter (Discrete or Continuous);Math;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;PWM Generator;PWM Generator (three-phase, two-level);Park Transform;Product;RateTransition;Relay;S-Function;SM Current Controller;SM Current Reference Generator;Saturate;Scope;Selector;SignalEditor;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sum;Switch;Synchronous Machine Salient Pole;TriggerPort;Velocity Controller;Voltage Sensor

BLOCKTYPE_FREQUENCY:
1;2;7;1;1;1;2;4;1;1;1;27;1;17;25;1;1;1;1;26;1;1;3;1;3;7;19;10;6;1;1;1;5;14;1;1;1;1;2;4;8;2;9;1;1;3;2;1;4;1;1


MODELNAME: SRMCurrentControl
PATH: examples/simscapeelectrical/main/SRMCurrentControl.slx
DESCRIPTION: Switched Reluctance Machine Current Control
BLOCKTYPE_FREQUENCY: 4;1;1;1;6;1;8;3;7;6;1;1;1;10;1;3;1;1;1;23;4;6;1;5;7;1;1;1
CHECKSUM: 8B1A9C665417E1455221989324960FE1
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Switched Reluctance Machine Current Control  1. Plot current of motor (see code) 2. Explore simulation results using Simscape Results Explorer 3. Modify model parameters 4. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
+;-;A;B;C;Constant;Control;Current Sensor;DC Voltage Source;Demux;Diode;E;ERef;From;G;Gain;Goto;IGBT;Is [A];IsRef;Low-Pass Filter (Discrete or Continuous);MRRef;MRRef Load;MRRef SRM;MinMax;Motion Sensor;Mux;Nm;PS-Simulink Converter;R;Rate Transition;Reference;Rotor angle (radians);SRM;SRM Current Controller with PWM Generation;Scopes;Sensing trq;Sensing w a;Simulink-PS Converter;Solver Configuration;SubSystem;Three-arm bridge;Torque Sensor;Velocity Source;i;i [A];rad->deg;rad/s->rpm;rpm;theta;theta [deg]

BLOCKTYPE:
Constant;Current Sensor (Three-Phase);DC Voltage Source;Demux;Diode;Electrical Reference;From;Gain;Goto;IGBT (Ideal, Switching);Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inport;Low-Pass Filter (Discrete or Continuous);Mechanical Rotational Reference;MinMax;Mux;Outport;PMIOPort;PS-Simulink Converter;RateTransition;SRM Current Controller with PWM Generation;Scope;Simulink-PS Converter;Solver Configuration;Step;Switched Reluctance Machine


MODELNAME: SRMSpeedControl
PATH: examples/simscapeelectrical/main/SRMSpeedControl.slx
DESCRIPTION: Switched Reluctance Machine Speed Control
BLOCKTYPE_FREQUENCY: 3;1;1;1;6;1;1;1;2;1;6;1;1;15;2;1;9;26;3;1;4;1;1;1;6;1;1;1;1;1
CHECKSUM: FB94A4865722C2469ED8C9B290044173
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Switched Reluctance Machine Speed Control  1. Modify model parameters 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
+;-;A;B;C;Conn;Constant;Control;Current Sensor;DC Voltage Source;Demux;Diode;Discrete PI Controller;E;ERef;From;G;Gain;Goto;IGBT;In Bus Element;Load Inertia;Load Viscous Friction;MRRef SRM;Motion Sensor;Mux;Out Bus Element;PS-Simulink Converter;Rate Limiter;Rate Transition;Reference;Rotor angle (radians);SRM;SRM Hysteresis Current Controller;Scope;Scopes;Sensing current;Simulink-PS Converter;Solver Configuration;SubSystem;Sum;Three-arm bridge;Unit Delay;ang;iabc;rad->deg;rpmReq;spdReq;w

BLOCKTYPE:
Constant;Current Sensor (Three-Phase);DC Voltage Source;Demux;Diode;Discrete PI Controller with Integral Anti-Windup;Electrical Reference;From;Gain;Goto;IGBT (Ideal, Switching);Ideal Rotational Motion Sensor;Inertia;Inport;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;RateLimiter;RateTransition;Rotational Damper;SRM Hysteresis Current Controller;Scope;Simulink-PS Converter;Solver Configuration;Step;Sum;Switched Reluctance Machine;UnitDelay


MODELNAME: SRMTorqueControl
PATH: examples/simscapeelectrical/main/SRMTorqueControl.slx
DESCRIPTION: Synchronous Reluctance Machine Torque Control
BLOCKTYPE_FREQUENCY: 1;1;1;4;1;1;3;1;1;1;20;1;10;18;1;1;1;18;1;1;3;5;17;8;1;5;1;1;4;1;9;1;1;9;5;1;1;7;1;1;1;1;1;1;4;1
CHECKSUM: DF6B30720A47F663FEB8F38A8849256A
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink;Stateflow
PRODUCT_BASECODE: PS
ANNOTATION:
Synchronous Reluctance Machine Torque Control  1. Modify model parameters 2. Choose between Detailed and Equivalent converter models 3. Plot simulations results of Detailed and Equivalent models 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
; Demux ; SFunction ;+;-;Abs;Angular Velocity Source;C;CLK_50us;Conn;Constant;Control;Converter;Current Sensor;Current control;Current controller;DCabc;Demux;Discrete Transfer Fcn;Electrical Reference;From;Function-Call Clock_50us;G;Gain;Gate driver;Goto;HV Battery;IABC;ID;IQ;In;Inverse Park Transform;Ld;Lq;Math Function;Measurements;Mechanical Rotational Reference;Mux;Out;Outer loop control;PS-Simulink Converter;PWM generator;Park Transform;Pre-control;Product;PwmEnable;R;RPM;Rate Transition;Rate limiter 10000rpm/s;Reference;Relay;Rotational Motion Sensor;S;Selector;Sensing current;Sensing torque;Sensing voltage;Sign;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sqrt;SubSystem;Switch;SynRM;THETA;TQ;Task scheduler;Task100us;Task1ms;Task_100us_1();Task_100us_2();Task_1ms_1();Torque Estimation;Torque Sensor;Tq Request;TqRequest;Tq_estim;Tq_ref;VDC;VDQ;Vdc;Vdc Filter;Vdc_m;VdqFF;Visualization;Voltage Sensor;Zero vector;iabc;iabc_m;idq;idq_ref;omega;omega_m;pole pairs;pole pairs ;rad/s->rpm;rpmLoad;theta;theta_m;vdq

BLOCKTYPE:
Abs;Battery;Capacitor;Constant;Converter (Three-Phase);Current Sensor (Three-Phase);Demux;Discrete first-order filter (Low-pass);DiscreteTransferFcn;Electrical Reference;From;Function-Call Generator;Gain;Goto;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inport;Inverse Park Transform;Math;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PMSM Current Controller;PS-Simulink Converter;PWM Generator (three-phase, two-level);Park Transform;Product;RateLimiter;RateTransition;Relay;S-Function;Scope;Selector;SignalEditor;Signum;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sqrt;Step;Switch;Synchronous Reluctance Machine;TriggerPort;Voltage Sensor


MODELNAME: SRMVelocityControl
PATH: examples/simscapeelectrical/main/SRMVelocityControl.slx
DESCRIPTION: Synchronous Reluctance Machine Velocity Control
BLOCKTYPE_FREQUENCY: 1;1;1;4;1;1;4;1;1;1;1;19;1;12;17;1;1;1;1;19;1;1;3;5;16;8;1;5;1;1;5;10;1;1;9;3;1;1;7;1;1;1;1;1;1;4;1
CHECKSUM: A74F1865F0E5F7734B209534319A874A
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink;Stateflow
PRODUCT_BASECODE: PS
ANNOTATION:
Synchronous Reluctance Machine Velocity Control  1. Modify model parameters 2. Choose between Detailed and Equivalent converter models 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example. Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
; Demux ; SFunction ;+;-;Abs;C;CLK_50us;Conn;Constant;Control;Converter;Current Sensor;Current control;Current controller;DCabc;Demux;Discrete Transfer Fcn;Electrical Reference;From;Function-Call Clock_50us;G;Gain;Gate Driver;Goto;HV Battery;IABC;ID;IQ;In;Inertia;Inverse Park Transform;Ld;Lq;Math Function;Measurements;Mechanical Rotational Reference;Mux;Out;Outer loop control;PI Controller with Integral Anti-Windup;PS-Simulink Converter;PWM generator;Park Transform;Pre-control;Product;PwmEnable;R;RPM;Rate Transition;Reference;Relay;Rotational Motion Sensor;S;Selector;Sensing current;Sensing load;Sensing torque;Sensing voltage;Sign;Sign Change;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Speed Request;SpeedRequest;Sqrt;SubSystem;Sum;SynRM;THETA;TQ;Task scheduler;Task100us;Task1ms;Task_100us_1();Task_100us_2();Task_1ms_1();Torque Estimation;Torque Sensor;Torque Source;TqEst;TqLoad;Tq_estim;VDC;VDQ;Vdc;Vdc Filter;Vdc_m;VdqFF;Visualization;Voltage Sensor;W;iabc;iabc_m;idq;idqRef;idq_ref;omega;pole pairs;pole pairs ;rad/s->rpm;rpm->rad/s;rpmRef;theta;theta_m;vdq

BLOCKTYPE:
Abs;Battery;Capacitor;Constant;Converter (Three-Phase);Current Sensor (Three-Phase);Demux;Discrete PI Controller with Integral Anti-Windup;Discrete first-order filter (Low-pass);DiscreteTransferFcn;Electrical Reference;From;Function-Call Generator;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Inertia;Inport;Inverse Park Transform;Math;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PMSM Current Controller;PS-Simulink Converter;PWM Generator (three-phase, two-level);Park Transform;Product;RateTransition;Relay;S-Function;Scope;Selector;SignalEditor;Signum;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sqrt;Step;Sum;Synchronous Reluctance Machine;TriggerPort;Voltage Sensor


MODELNAME: SRMWithFEMData
PATH: examples/simscapeelectrical/main/SRMWithFEMData.slx
DESCRIPTION: Switched Reluctance Motor Parameterized with FEM Data
BLOCKTYPE_FREQUENCY: 2;2;2;2;12;1;2;3;2;1;1;17;3;1;5;21;3;1;1;2;1;6;1;1;6;1;2;1;2;2;3
CHECKSUM: B526F36BA105DC385917EC18284114F9
PRODUCT: MATLAB;Simscape;Simscape;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Switched Reluctance Motor Parameterized with FEM Data  1. Plot speed of motor (see code) 2. Plot torque applied by each winding (see code) 3. Plot motor data used in parameterization (see code) 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
A;Angle;B;Bias;C;Constant;D;Data Type Conversion;Demux;Dp;E;ERef;FEM-Parameterized SRM;From;G;Gate demands for max negative torque;Gate demands for max positive torque;Goto;H;IGBT;L;Load Inertia;Load Viscous Friction;MRRef;MRRef Load;MRRef SRM;Magnetization pulse;Motion Sensor;Mux;Number of rotor poles;OnOff;PS-Simulink Converter;Positive Supply Rail;Product;R;REV;RPM & Angle;Ref;Reference;Rotor angle (radians);SPST Switch;Sensing Speed;Simple SR Converter;Simulink-PS Converter;Solver Configuration;SubSystem;Switch;Three-Arm Bridge;Trigonometric Function;Vg;Vss;Z;ZOH/;theta

BLOCKTYPE:
Bias;Constant;DataTypeConversion;Demux;Diode;Electrical Reference;From;Gain;Goto;Ideal Rotational Motion Sensor;Inertia;Inport;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;Positive Supply Rail;Product;RelationalOperator;Rotational Damper;SPST Switch;Scope;SimscapeComponentBlock;Simulink-PS Converter;Solver Configuration;Step;Switch;Trigonometry;UnitDelay;ZeroOrderHold


MODELNAME: SchottkyBarrierDiode
PATH: examples/simscapeelectrical/main/SchottkyBarrierDiode.slx
DESCRIPTION: Schottky Barrier Diode Characteristics
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;1;2;1;1;2;1;1;1
CHECKSUM: A70CA6BEB1BBEEE3B8B2F594094086C7
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Schottky Barrier Diode Characteristics  1. I-V curves: Select temperatures, plot curves (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2006-2023 The MathWorks, Inc.

BLOCK:
+;-;Controlled Current Source;Diode;ERef;From;Goto;Iak ramp;If;PS-Simulink;Parameters;Reference;Sensing Vf;Simulink-PS Converter;Solver Configuration;SubSystem;Vf;Voltage Sensor

BLOCKTYPE:
Controlled Current Source;Diode;Diode Test Parameters;Electrical Reference;From;Goto;PMIOPort;PS-Simulink Converter;Ramp;Scope;Simulink-PS Converter;Solver Configuration;Voltage Sensor


MODELNAME: SepicVoltageControl
PATH: examples/simscapeelectrical/main/SepicVoltageControl.slx
DESCRIPTION: SEPIC Voltage Control
BLOCKTYPE_FREQUENCY: 3;1;1;1;1;1;1;1;1;1;2;2;1;1;2;1;3;2;1;1;1;1;1
CHECKSUM: 22838FC001BBABB69560E2BA104CD64B
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Modify model parameters 2. Plot voltage and current (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example SEPIC Voltage Control Copyright 2023 The MathWorks, Inc.

BLOCK:
C1C;C2C;C4C;Control;Current Sensor;D;Discrete PID Controller;Electrical Reference;From;Gain;Goto;L;PR1_Load;PS-Simulink Converter;PWM;R;Reference;Rload;S;Scope;Simulink-PS Converter;Solver Configuration;SubSystem;Sum;Unit Delay;Vin;Vout;pwmSEPIC;voltRef;voltSEPIC;voltSEPIC_Ref

BLOCKTYPE:
Capacitor;Constant;Current Sensor;DC Voltage Source;Diode;Electrical Reference;From;Gain;Goto;Ideal Semiconductor Switch;Inductor;Inport;Outport;PID 1dof;PS-Simulink Converter;PWM;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Sum;UnitDelay;Voltage Sensor


MODELNAME: SiCMOSFETFromSPICEResults
PATH: examples/simscapeelectrical/main/SiCMOSFETFromSPICEResults.slx
BLOCKTYPE_FREQUENCY: 2;1;1;4;2;2;2;1;2
CHECKSUM: 359FB59C59ED1271A4E1DB7C604AE685
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Copyright 2022-2023 The MathWorks, Inc.  SiC MOSFET Parameterization Using Simulation Results from SPICE   1. SPICE subcircuit (see SPICE netlist) 2. Set lookup table parameters (see code) 3. Compare results with SPICE (see code) 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example 

BLOCK:
+;-;Current Sensor;ERef;Ids;Measure Ids;Measure Igs;N-Channel MOSFET;PS-Simulink Converter;Reference;Solver Configuration;SubSystem;Vds;Vgs;vdsac;vgsac

BLOCKTYPE:
Current Sensor;Electrical Reference;N-Channel MOSFET;PMIOPort;PS-Simulink Converter;Piecewise Linear Voltage Source;Scope;Solver Configuration;Voltage Source


MODELNAME: SinglePhaseGridSolarPV
PATH: examples/simscapeelectrical/main/SinglePhaseGridSolarPV.slx
DESCRIPTION: Single-Phase Grid-Connected Solar Photovoltaic System %
CHECKSUM: BEB1C55147F0C976B2E126440506DDB5
PRODUCT: MATLAB;Simscape;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Iq control Id control This example uses Boostless configuration. Here, maximum power point is tracked by changing the DC bus capacitor voltage. DC bus voltage is controlled by controlling the current supplied to the grid. To increase the DC bus voltage, current reference (Idref) to the grid is reduced and vice versa, this is achieved by using Vdec in incremental conductance algorithm instead of Vinc. Both voltage and power is in falling trend  Both voltage and power is in raising trend  This example uses Boostless configuration. Here, maximum power point is tracked by changing the DC bus capacitor voltage. DC bus voltage is controlled by controlling the current supplied to the grid. To increase the DC bus voltage, current reference (Idref) to the grid is reduced and vice versa, this is achieved by using Vdec in P&O algorithm instead of Vinc. Power in kW  1 Open solar plant configuration script (load data) 2. Linearize the solar plant (see code) 3. Configure MPPT method: P&amp;O, Incremental Conductance 4. Configure inverter: Average, Continuous, Discrete 5. PV system protection: Enable, Disable 6. Explore simulation results using Simscape Results Explorer 7. Learn more about this example Single-Phase Grid-Connected Solar Photovoltaic System Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
 ;+;-;90 degree Phase shift;AC Current Sensor;AC Voltage Sensor;AND;Abs;Action Port;Add;Angfreq;Angle;Average;Average-Value Chopper;C;Circuit Breaker Green=closed/Red=open;Clarke to Park Angle Transform;Clock;Compare To Constant;Compare To Zero;Constant;Continuous;Controlled PWM Voltage;Controlled Voltage Source;Current Controller;Current Sensor;Current-Controlled Current Source;Current-Controlled Current Source- Scale panel current to Np parallel strings;DC Bus Voltage;DC Current Sensor;DC Voltage Sensor;Data Type Conversion;Demux;Discrete;Divide;Dq to alpha beta;Electrical Reference;Enable;Enabled Subsystem;Filter;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;G;Gain;Goto;Grid;Grid Current Reference Generation;Grid Frequency;Grid Over Current;Grid Supply;Grid Voltage;Iac;Id;Idref;If;If Action Subsystem;In;Inc;IncrementalConductance;Integrator;Ipv;Iq;Iqref;Ir;Irradiance;Ki;Kp;L;Linearization I/O points;MPPT;MPPT Algorithm;Map [-1,1] to [0,1];Merge;Min DC voltage;Modulating Signal;Mux;N;NOR;NOT;Normalize by DC voltage and disable if DC volts too low;OR;Out;P;PLL;PLL and Protection;PS Add;PS Constant;PS Gain;PS-Simulink Converter;PWM Generator;Park to Clarke Angle Transform;PerturbationAndObsrvation;Power;Power Circuit;Product;Protection;RMS Measurement;Rate Transition;Reference;Saturation;Scope;Sensor dynamics;Set;Set to 1 for closed-loop operation, and set to 0 when linearizing;Short Circuit Current;Simulink-PS Converter;Solar Cell;Solar Panel;Solar Plant;Solver Configuration;SubSystem;Subsystem;Subtract;Sum;Supply Current;Supply Current to dq;Switch;TS;Terminator;Transfer Fcn;Transfer Fcn (with initial outputs);TrigSig;TripSig;Tripsig;Unit Delay;Vac;Valpha;Vbeta;Vd ;Vdc;Vmod;Vmpp;Voltage Distrubance;Voltage Sensor;Voltage-Controlled Voltage Source - Scale panel voltage to Ns series panel;Vpv;Vq;Vsd;Vsd Default;ZOH/;Zero-Order Hold;[-1,1];angle;d-axis current control;delI;delV;e;i;m;o;q-axis current control;start MPPT Voltage;u;v_dc;w;wL;y

BLOCKTYPE:
Abs;ActionPort;Average-Value Chopper;Capacitor;Clarke to Park Angle Transform;Clock;Compare To Constant;Compare To Zero;Constant;Controlled PWM Voltage;Controlled Voltage Source;Current Sensor;Current-Controlled Current Source;DPST Switch;DataTypeConversion;Demux;Electrical Reference;EnablePort;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Gain;Goto;If;Inductor;Inport;Integrator;LampBlock;Logic;Merge;Mux;Outport;PMIOPort;PS Add;PS Constant;PS Gain;PS-Simulink Converter;PWM Generator;Park to Clarke Angle Transform;Product;RMS Measurement;RateTransition;Saturate;Scope;Simulink-PS Converter;Sin;Sinusoidal Measurement (PLL);Solar Cell;Solar Panel;Solver Configuration;SpectrumAnalyzer;Step;Sum;Switch;Terminator;Transfer Function with Initial Outputs;TransferFcn;UnitDelay;Voltage Sensor;Voltage-Controlled Voltage Source;ZeroOrderHold

BLOCKTYPE_FREQUENCY:
1;2;1;1;1;1;15;4;18;1;1;2;2;1;5;4;2;1;2;2;38;15;20;1;1;64;6;1;12;2;5;40;39;1;1;1;5;1;1;11;1;2;5;2;9;1;1;1;1;2;1;1;20;11;5;1;11;2;3;1;5


MODELNAME: SinglePhaseIMDTC
PATH: examples/simscapeelectrical/main/SinglePhaseIMDTC.slx
DESCRIPTION: Single-Phase Asynchronous Machine Direct Torque Control
BLOCKTYPE_FREQUENCY: 1;1;4;2;1;2;1;1;1;8;2;7;1;1;1;1;1;1;10;3;5;8;13;7;1;1;5;1;2;3;3;3
CHECKSUM: C42419D5090C153ED6D3B6456CF7FDEA
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Single-Phase Asynchronous Machine Direct Torque Control  1. Plot speed of rotor (see code) 2. Plot torque and flux (see code) 3. Explore simulation results using Simscape Results Explorer 4. Modify model parameters 5. Learn more about this example Copyright 2018-2023 The MathWorks, Inc.

BLOCK:
+;-;AC Voltage Source;Bus Selector;C;Control;Current Sensor;D;Demux;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;G;Gate driver;Goto;I;Inertia;MRRef;MRRef IPMSM;MRRef Load;Motion Sensor;Mux;PS-Simulink Converter;R;Rate Limiter;Reference;S;Scope;Scopes;Sensing Vout;Sensing trq;Simulink-PS Converter;Single-Phase ASM Direct Torque Control;Single-Phase Asynchronous Machine (fundamental, SI);Solver Configuration;Step;SubSystem;Tload;Torque Sensor;Torque Source;Tq;Unit Delay;V;Voltage Sensor;Zero-Order Hold;a;a+;a-;b;b+;b-;iab;n;rad/s->rpm;rpm->rad/s;vab;vdc;vis;w;wRef;wReference;wr

BLOCKTYPE:
AC Voltage Source;BusSelector;Capacitor;Current Sensor;Demux;Diode;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Induction Machine (Single-Phase);Induction Machine Direct Torque Control (Single-Phase);Inertia;Inport;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;RateLimiter;Scope;Simulink-PS Converter;Solver Configuration;Step;UnitDelay;Voltage Sensor;ZeroOrderHold


MODELNAME: SinglePhaseIMFOC
PATH: examples/simscapeelectrical/main/SinglePhaseIMFOC.slx
DESCRIPTION: Single-Phase Asynchronous Machine Field-Oriented Control
BLOCKTYPE_FREQUENCY: 1;1;4;2;1;2;1;1;1;7;2;6;1;1;1;1;1;1;4;3;3;2;11;5;1;2;3;5;1;2;2;1
CHECKSUM: 3B6C183046E3A53D68F14556FB84273C
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Single-Phase Asynchronous Machine Field-Oriented Control  1. Plot speed of rotor (see code) 2. Explore simulation results using Simscape Results Explorer 3. Modify model parameters 4. Learn more about this example Copyright 2018-2023 The MathWorks, Inc.

BLOCK:
+;-;AC Voltage Source;Bus Selector;C;Control;Current Sensor;D;DC-link voltage;Demux;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;G;Gate driver;Goto;I;Inertia;MRRef;MRRef IPMSM;MRRef Load;Motion Sensor;Mux;PS-Simulink Converter;R;RPM;Rate Limiter;Reference;S;Scopes;Sensing Vout;Sensing trq;Sensing w a;Simulink-PS Converter;Single-Phase ASM Field-Oriented Control;Single-Phase Asynchronous Machine (fundamental, SI);Solver Configuration;Step;SubSystem;Tload;Torque;Torque Sensor;Torque Source;Unit Delay;Voltage Sensor;Zero-Order Hold;a+;a-;b+;b-;iab;rad/s->rpm;rpm->rad/s;w;wReference

BLOCKTYPE:
AC Voltage Source;BusSelector;Capacitor;Current Sensor;Demux;Diode;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Induction Machine (Single-Phase);Induction Machine Field-Oriented Control (Single-Phase);Inertia;Inport;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;RateLimiter;RateTransition;Scope;Simulink-PS Converter;Solver Configuration;Step;UnitDelay;Voltage Sensor


MODELNAME: SinglePhaseInverter
PATH: examples/simscapeelectrical/main/SinglePhaseInverter.slx
DESCRIPTION: Single-Phase Inverter Current Control
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;1;1;1;2;1;4;1;5;1;5;2;1;1;1;2;4;1;1;1;1;1;1
CHECKSUM: 1466A4260BC4B1AEED996501F306B9BA
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot voltage and current (see code) 2. Modify model parameters 3. Learn more about this example Single-Phase Inverter Current Control Copyright 2009-2023 The MathWorks, Inc.

BLOCK:
 g ;+;-;24V;AC Side Measurements;Bias;C;Current Measurement;Current Regulator;Current Sensor;Demux;Discrete PID Controller;Electrical Reference;Four-Pulse Gate Multiplexer;G;Gain;Gate driver;Ia;Iref;Irms;L;ModWave;Modulation 60Hz;Multiply;Mux;PS-Simulink Converter;RLoad;RMS Measurement;Range [0,1];Reference;Simulink-PS Converter;Single-phase inverter;Solver Configuration;SubSystem;Sum;Unit Delay;Voltage Measurement;Voltage Sensor;i;u;v;y

BLOCKTYPE:
Bias;Capacitor;Current Sensor;DC Voltage Source;Demux;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;Gain;Inductor;Inport;Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;Product;RMS Measurement;Resistor;Scope;Simulink-PS Converter;Sin;Solver Configuration;Step;Sum;UnitDelay;Voltage Sensor


MODELNAME: SinglePhasePMSMControl
PATH: examples/simscapeelectrical/main/SinglePhasePMSMControl.slx
DESCRIPTION: Single-Phase PMSM Control
BLOCKTYPE_FREQUENCY: 4;1;1;3;1;1;1;1;3;2;3;1;1;1;1;4;2;3;1;7;4;1;4;2;1;4;1;2;1
CHECKSUM: AE419B3638F4A1EEDB7CEFF0F610CD1E
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot speed of motor (see code) 2. Choose between Detailed and Equivalent chopper models 3. Explore simulation results using Simscape Results Explorer 4. Modify model parameters 5. Learn more about this example Single-Phase PMSM Control Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
+;-;Commutation;Constant;Controlled Voltage Source;Current Sensor;Data Type Conversion;Demux;ERef Converter;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;G;Gate driver;Goto;Hall;Hall sensor;Ideal Torque Source;Inertia;Logical Operator;MRRef;MRRef IPMSM;Motion Sensor;Mux;PS-Simulink Converter;R;Reference;Relational Operator;S;SPPMSM;Scope;Sensing current;Sensing w a;Simulink-PS Converter;Solver Configuration;SubSystem;Subsystem;Tload;Torque Sensor;Trigonometric Function;Unit Delay;Vdc;deg;hall;i;mech->elec;rad->deg;spd;theta;trq

BLOCKTYPE:
Constant;Controlled Voltage Source;Current Sensor;DataTypeConversion;Demux;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Inertia;Inport;Logic;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PMSM (Single-Phase);PS-Simulink Converter;RelationalOperator;Scope;Simulink-PS Converter;Solver Configuration;Trigonometry;UnitDelay


MODELNAME: SixPhasePMSMFromMotorCAD
PATH: examples/simscapeelectrical/main/SixPhasePMSMFromMotorCAD.slx
DESCRIPTION: Import a Dual Three-Phase PMSM from Motor-CAD
BLOCKTYPE_FREQUENCY: 1;8;1;1;2;2;7;7;7;6;2;1;1;1;6
CHECKSUM: 1E1D180C8F771653B42F42924ECEC596
PRODUCT: MATLAB;Simscape;Simscape;Simscape;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Import a Dual Three-Phase PMSM from Motor-CAD  1. Theory and data import from Motor-CAD: Open MATLAB live script, run script 2. Plot flux linkages (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2018-2023 The MathWorks, Inc.

BLOCK:
+;Angular Velocity Source;Dynamometer;Electrical Reference;Ideal Torque Sensor;Mechanical Rotational Reference;Mux;PS-Simulink Converter;R;Reference;Resistor;Scope;Simscape Component;Simulink-PS Converter;Solver Configuration;Speed demand (RPM);SubSystem;T;Torque;Voltage Sensor;Voltage measurement ;vA;vB;vC

BLOCKTYPE:
Constant;Electrical Reference;Ideal Angular Velocity Source;Ideal Torque Sensor;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;Resistor;Scope;SimscapeComponentBlock;Simulink-PS Converter;Solver Configuration;Voltage Sensor


MODELNAME: SixPhasePMSMTorque
PATH: examples/simscapeelectrical/main/SixPhasePMSMTorque.slx
DESCRIPTION: Six-Phase PMSM Torque Control
BLOCKTYPE_FREQUENCY: 5;2;2;1;1;4;1;18;6;16;1;1;1;17;1;3;5;5;4;11;1;6;2;2;12;1;9;3;1;13;2;1;7;2;2;1
CHECKSUM: BE728698C6D77C5FE620148855D7B6A8
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Six-Phase PMSM Torque Control  1. Plot torque of motor (see code) 2. Explore simulation results using Simscape Results Explorer 3. Modify model parameters 4. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
;+;-;Add;C;Constant;Control;Converter ABC;Converter XYZ;Current Control;Current Sensor;Decoupled Transform (Six-Phase);Demux;Divide;ERef Converter;From;G;Gain;Gate Driver ABC;Gate Driver XYZ;Goto;IABC;ID;IQ;IXYZ;Input;Inverse Decoupled Transform (Six-Phase);MRRef;MRRef Load;Motion Sensor;Mux;Outer Loop Control;PMSM (Six-Phase);PS-Simulink Converter;PWM Generator ABC;PWM Generator XYZ;PwmEnable;R;RPM;Rate Transition;Reference;Relay;S;Sabc;Scopes;Selector;Sensing Vdc;Sensing iabc;Sensing ixyz;Sensing trq;Sensing w a;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Subsystem;Sum;Switch;Sxyz;THETA;TQ;Te* -> iq*;Terminator;Torque Sensor;TqReq;VDQZ1Z;Vdc;Velocity Source;Voltage Sensor;Zero vector;d-axis current PI;iabc;idqz1z;idqz1z2*;idqz1z2_ref;ixyz;pole pairs;pole pairs ;q-axis current PI;rad/s->rpm;the;theta;vdc_sens;vdqz1z;w;we;z1 current PI;z2 current PI

BLOCKTYPE:
Constant;Converter (Three-Phase);Current Sensor (Three-Phase);DC Voltage Source;Decoupled Transform (Six-Phase);Demux;Electrical Reference;From;Gain;Goto;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inport;Inverse Decoupled Transform (Six-Phase);Mechanical Rotational Reference;Mux;Outport;PID 1dof;PMIOPort;PMSM (Six-Phase);PS-Simulink Converter;PWM Generator (three-phase, two-level);Product;RateTransition;Relay;Scope;Selector;SignalEditor;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sum;Switch;Terminator;Voltage Sensor


MODELNAME: SixPhasePMSMVelocity
PATH: examples/simscapeelectrical/main/SixPhasePMSMVelocity.slx
DESCRIPTION: Six-Phase PMSM Velocity Control
BLOCKTYPE_FREQUENCY: 3;2;2;1;1;4;1;19;7;17;1;1;1;1;18;1;3;6;5;5;11;1;6;2;4;12;1;9;3;1;13;2;1;8;2;1
CHECKSUM: 67DE518A0FF16361542CB216CEA375AD
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Six-Phase PMSM Velocity Control  1. Plot speed of motor (see code) 2. Choose between Detailed and Equivalent converter models 3. Explore simulation results using Simscape Results Explorer 4. Modify model parameters 5. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
;+;-;Add;C;Constant;Control;Converter ABC;Converter XYZ;Current Control;Current Sensor;Decoupled Transform (Six-Phase);Demux;Divide;ERef Converter;From;G;Gain;Gate Driver ABC;Gate Driver XYZ;Goto;IABC;ID;IQ;IXYZ;Inertia;Input;Inverse Decoupled Transform (Six-Phase);MRRef;MRRef Load;Motion Sensor;Mux;Outer Loop Control;PI Controller;PMSM (Six-Phase);PS-Simulink Converter;PWM Generator ABC;PWM Generator XYZ;Product;PwmEnable;R;RPM;RPMReq;Rate Transition;Reference;Relay;S;Sabc;Scopes;Selector;Sensing Vdc;Sensing iabc;Sensing ixyz;Sensing trq;Sensing w a;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Subsystem;Sum;Sxyz;THETA;TQ;Te* -> iq*;Terminator;Torque Sensor;Torque Source;VDQZ1Z;Vdc;Voltage Sensor;d-axis current PI;iabc;idqz1z;idqz1z2*;idqz1z2_ref;ixyz;pole pairs;pole pairs ;q-axis current PI;rad/s->rpm;rpm->rad/s;the;theta;vdc_sens;vdqz1z;w;we;wr;z1 current PI;z2 current PI

BLOCKTYPE:
Constant;Converter (Three-Phase);Current Sensor (Three-Phase);DC Voltage Source;Decoupled Transform (Six-Phase);Demux;Electrical Reference;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Ideal Torque Source;Inertia;Inport;Inverse Decoupled Transform (Six-Phase);Mechanical Rotational Reference;Mux;Outport;PID 1dof;PMIOPort;PMSM (Six-Phase);PS-Simulink Converter;PWM Generator (three-phase, two-level);Product;RateTransition;Relay;Scope;Selector;SignalEditor;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sum;Terminator;Voltage Sensor


MODELNAME: SixPhaseSRM
PATH: examples/simscapeelectrical/main/SixPhaseSRM.slx
DESCRIPTION: Six-Phase Switched Reluctance Machine Control
BLOCKTYPE_FREQUENCY: 5;6;1;1;12;1;1;2;1;2;12;1;1;1;25;1;1;3;2;10;52;9;1;1;7;2;1;1;1;12;1;1;3;1;1
CHECKSUM: B0852BA19504D66640DF1639E809C8CE
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot speed of rotor (see code) 2. Explore simulation results using Simscape Results Explorer 3. Modify model parameters 4. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.  Six-Phase Switched Reluctance Machine Control

BLOCK:
+;-;A;B;Bus Element In;C;Constant;Control;Current Sensor;D;DC Voltage Source;Demux;Diode;Discrete PI Controller;E;ERef;F;From;G;Goto;IGBT;In Bus Element;Inertia;Load Viscous Friction;Logical Operator;MRRef;MRRef SRM;Math Function;Motion Sensor;Mux;Offsets 12/10 SRM;OnOff;Out Bus Element;PS-Simulink Converter;Product;R;Rate Limiter 2000 rpm/s;Rate Transition;Reference;Relational Operator;Relay;Scope;Scopes;Sensing iabcdef;Sensing rotor;Simulink-PS Converter;Six-Phase Switched Reluctance Machine;Six-arm bridge;Six-phase SRM commutation logic;Solver Configuration;SubSystem;Sum;Torque Sensor;Torque capability angle;Unit Delay;a;b;c;d;e;f;i;iabcdef;rad->deg;spd;spdReq;th;theta;thetaOFF;thetaON;trq

BLOCKTYPE:
Constant;Current Sensor;DC Voltage Source;Demux;Diode;Discrete PI Controller with Integral Anti-Windup;Electrical Reference;From;Gain;Goto;IGBT (Ideal, Switching);Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inertia;Inport;Logic;Math;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;Product;RateLimiter;RateTransition;RelationalOperator;Relay;Rotational Damper;Scope;Simulink-PS Converter;Solver Configuration;Step;Sum;Switched Reluctance Machine (Multi-Phase);UnitDelay


MODELNAME: SixPulseHarmonics
PATH: examples/simscapeelectrical/main/SixPulseHarmonics.slx
DESCRIPTION: Harmonic Analysis of a Three-Phase Rectifier
BLOCKTYPE_FREQUENCY: 1;2;1;2;1;1;1;1;1;1;1;1
CHECKSUM: 34B7827A3E359CF2C24D87500D70706A
PRODUCT: MATLAB;Simscape;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Harmonic Analysis of a Three-Phase Rectifier  1. Explore simulation results using Simscape Results Explorer 2. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
AC;Conn;Current Sensor;DC;Electrical Reference;Out;PS-Simulink Converter;Rectifier;Reference;Selector;Sensing current;Solver Configuration;Spectrum Analyzer;SubSystem;Voltage Source

BLOCKTYPE:
Current Sensor (Three-Phase);Electrical Reference;Outport;PMIOPort;PS-Simulink Converter;Rectifier (Three-Phase);Resistor;Selector;Solver Configuration;SpectrumAnalyzer;Voltage Source (Three-Phase);Wye-Connected Load


MODELNAME: SmartphoneBatteryCharging
PATH: examples/simscapeelectrical/main/SmartphoneBatteryCharging.slx
DESCRIPTION: Smartphone Battery Charging
BLOCKTYPE_FREQUENCY: 1;1;1;2;2;1;6;1;1;4;2;1;1;21;4;1;14;2;17;3;1;1;1;1;1;1;1;1;3;1;1
CHECKSUM: 1AF89F328FBF965D0DCA4A9EDE68B089
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Smartphone Battery Charging <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0//EN http://www.w3.org/TR/REC-html40/strict.dtd> <html><head><meta name=qrichtext content=1 /><style type=text/css> p, li { white-space: pre-wrap; } </style></head><body align=left style= font-family:Arial; font-size:12px; font-weight:400; font-style:normal;> <p align=left style= margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;><span style= font-family:Helvetica; font-size:12px;>1. Define parameters (</span><a href=matlab:edit SmartphoneBatteryChargingInitialization><span style= font-family:Helvetica; font-size:12px; text-decoration: underline; color:#0000ff;>Model Parameters</span></a><span style= font-family:Helvetica; font-size:12px; color:#000000;>)</span></p> <p align=left style= margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;><span style= font-family:Helvetica; font-size:12px;>2. </span><a href=matlab:SmartphoneBatteryChargingPlotResults><span style= font-family:Helvetica; font-size:12px; text-decoration: underline; color:#0000ff;>Plot results</span></a><span style= font-family:Helvetica; font-size:12px; color:#000000;> </span><span style= font-family:Helvetica; font-size:12px;>for simulation (</span><a href=matlab:edit SmartphoneBatteryChargingPlotResults><span style= font-family:Helvetica; font-size:12px; text-decoration: underline; color:#0000ff;>see code</span></a><span style= font-family:Helvetica; font-size:12px; color:#000000;>)</span></p> <p align=left style= margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;><span style= font-family:Helvetica; font-size:12px;>3. </span><a href=matlab:try sscexplore(simlog_SmartphoneBatteryCharging); catch sim(bdroot) sscexplore(simlog_SmartphoneBatteryCharging); end><span style= font-family:Helvetica; font-size:12px; text-decoration: underline; color:#0000ff;>Explore simulation results </span></a><span style= font-family:Helvetica; font-size:12px;>using </span><a href=matlab:helpview(simscape,using-simscape-results-explorer)><span style= font-family:Helvetica; font-size:12px; text-decoration: underline; color:#0000ff;>Simscape Results Explorer</span></a><span style= font-family:Helvetica; font-size:12px; color:#000000;> </span></p> <p align=left style= margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;><span style= font-family:Helvetica; font-size:12px; color:#000000;>4. </span><a href=matlab:showExample(&quot;simscapeelectrical/SmartphoneBatteryChargingExample&quot;)><span style= font-size:12px; text-decoration: underline; color:#0000ff;>Learn more</span></a><span style= font-size:12px;> about this example</span></p> <p align=left style=-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;><br /></p> Copyright 2022-2023 The MathWorks, Inc.

BLOCK:
 ; Demux ; SFunction ; Terminator ;+;-;A;AC Voltage Source;Average-Value DC-DC Converter;Battery;Battery (Table-Based);Bus Creator;Bus Selector;C;CC;CV;Charger;Constant;Controller;Current Sensor;CurrentController;D;DC;Data;Diode;Divide;DutyCycle;ERef T;Feedback;G;Ideal Transformer;LimitChecks;Low-Pass Filter (Discrete or Continuous);MinMax;PS-Simulink Converter;Reference;Resistor;SOC;SOCcheck;Scope;Solver Configuration;Stop Simulation;SubSystem;Subtract;Sum;V;V_ref;Voltage Sensor;VoltageController;Vswitch;ac+;ac-;battery;cc;cellData;current;cv;data;dc;dc+;dc-;dutyCycle;i;input;limDutyCycle;percent;rectifier;refCurr;refCurr (CC);refV;refV (CV);smoothFunc;state;v;vLim;vRef;voltage

BLOCKTYPE:
AC Voltage Source;Average-Value DC-DC Converter;Battery (Table-Based);BusCreator;BusSelector;Capacitor;Constant;Current Sensor;Demux;Diode;Electrical Reference;Gain;Ideal Transformer;Inport;Low-Pass Filter (Discrete or Continuous);MinMax;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;Product;Resistor;S-Function;Saturate;Scope;Simulink-PS Converter;Solver Configuration;Stop;Sum;Terminator;Voltage Sensor


MODELNAME: SolarCellFromDatasheet
PATH: examples/simscapeelectrical/main/SolarCellFromDatasheet.slx
BLOCKTYPE_FREQUENCY: 1;1;1;2;1;2;1;1;1
CHECKSUM: 2E943BDE8CD84093DCE325BE387B88B6
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
DESCRIPTION:
Solar Cell Parameter Tuning This test model is used by the Solar Cell Parameter Extraction From Data example. It is invoked by the parameter optimization when tuning parameters to fit the measured I-V curve data. 

ANNOTATION:
Solar Cell Parameter Tuning This test model is used by the Solar Cell Parameter Extraction From Data example. It is invoked by the parameter optimization when tuning parameters to fit the measured I-V curve data.  Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
Gnd;ISensor;Irradiance, Ir;Isolar;Reference;SLPS;Solar Cell;Solver Configuration;VPulse;VSensor;Vsolar

BLOCKTYPE:
Current Sensor;Electrical Reference;PS Constant;PS-Simulink Converter;Pulse Voltage Source;Scope;Solar Cell;Solver Configuration;Voltage Sensor


MODELNAME: SolarCellPowerCurve
PATH: examples/simscapeelectrical/main/SolarCellPowerCurve.slx
DESCRIPTION: Solar Cell Power Curve
BLOCKTYPE_FREQUENCY: 1;1;1;1;2;1;1;1;1;1;1;1;1
CHECKSUM: F93E92E75749D0DC9489E76684369F2C
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Solar Cell Power Curve  1. Plot power curves at varying conditions (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
Conn;Controlled Voltage Source;Current Sensor;ERef;Irradiance, Ir;Out;PS-Simulink/I;Product;Reference;Scope;Sensing Current;Simulink-PS Converter;Solar Cell;Solver Configuration;SubSystem;Test Voltage

BLOCKTYPE:
Controlled Voltage Source;Current Sensor;Electrical Reference;Outport;PMIOPort;PS Constant;PS-Simulink Converter;Product;Ramp;Scope;Simulink-PS Converter;Solar Cell;Solver Configuration


MODELNAME: SolarPVACWithBattery
PATH: examples/simscapeelectrical/main/SolarPVACWithBattery.slx
DESCRIPTION: Stand-Alone Solar PV AC Power System with Battery Backup %
CHECKSUM: 9AD22E40CEA39897FD13DF0C3A37C561
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink;Stateflow
PRODUCT_BASECODE: PS
ANNOTATION:
Voltage Control Current control IGBT controlled during charging  Bi-directional converter for energy management system (EMS)  IGBT controlled during discharging  Current controller Voltage Control Current controller Voltage Control Current controller Voltage Control Both voltage and power is in falling trend  Both voltage and power is in raising trend  Current controller Voltage Control  Simulation time: Increase the value for simulation.timeSim to simulate for longer when exploring mode changes. Load Power Data  Red - Overload, reduce the load and on then off the load rest  Solar PV System Monitoring Panel   Inputs: Use the rotary controls to change the irradiance and load resistance during simulation.  Efficiency: Percent efficiency may exceed 100% due to the stored energy in the inductor and capacitor. Efficiency value will be accurate in steady state.   System overload (Mode-6): System overload is triggered olTime sec after the overload event. This delay is to ensure that it is not triggered because of transients. Parameter olTime can be modified in the supporting livescript.  Battery sign convention: +ve value for charging -ve value for discharging  1 Open script that inputs values for solar plant (load data) 2. Configure MPPT P&amp;O, Incremental Conductance 3. Configure inverter: Average, Discrete 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Stand-Alone Solar PV AC Power System with Battery Backup Copyright 2019-2023 The MathWorks, Inc.

BLOCK:
 ; Demux ; Load Reactive Power (kVAR); Load Real Power (kW); SFunction ; State of Charge; Terminator ;%SoC;+;-;1/T;AC Current Sensor;AC Supply Controller;AC System;AC Voltage Sensor;AND;Abs;Action Port;Add;Average;Average-Value Chopper;BMS;BMS Inductor;BatCharge;BatDischarge;BatIsolate;Battery;Battery Charging;Battery Current (A);Battery Discharging;Battery Management Control;Battery Power;Boost Converter;CB;Capacitor;Charge;Charge to Ahr;Charging;Compare To Constant;Compare To Zero;Complex Load;Constant;Constant Voltage;Current Sensor;Current control;Current-Controlled Current Source;Current-Controlled Current Source- Scale panel current to Np parallel strings;DC Battery Current Sensor;DC Battery Voltage Sensor;DC Bus Capacitor;DC Current Sensor;DC Output Voltage Sensor;DC Voltage Sensor;Data Type Conversion;Demux;Diode;Discharge;Discharging;Discrete;Display;Divide;Efficiency Calculation;Electrical Reference;Enable;Filter;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;G;Gain;Gmpp;Goto;Gpv;Half Gauge;IGBT (Ideal, Switching);IL;IL ;Ibat;Ibattery;If;If Action Subsystem;In;Inc;IncrementalConductance;Inductor;Initialize;Integrator;Ipv;Ir;Irad;Irrad;Irradiance;Isolate;Isolated;Ki;Knob;Kp;L;Lamp;Linear Gauge;Load Calculation;Load Flag;Load Power;Load Reset;Load Resistance;MPPT;MPPT Algorithm;MPPT End Value;MPPT Inductor;MPPT Subsystem;Map [-1,1] to [0,1];Maximum Power Point;Merge;Min DC voltage;Mod;Mode Control;Mode Selection;Mode-;Modulating Signal;Monitoring;Mux;N;NOR;NOT;Normalize by DC voltage and disable if DC volts too low;OR;Out;P;PS Add;PS Constant;PS Gain;PS-Simulink Converter;PV Control;PV Isolate;PV MPPT Battery Charge Load ShutDown;PV MPPT Battery Discharge;PV MPPT Battery charge;PV ShutDown Battery Discharge;PV ShutDown Battery Isolated System ShutDown;PV System Monitoring Panel;PV Volt Control Battery Isolated;PVoff;PWM;PWM Generator;PerturbationAndObsrvation;Power Circuit;Power Measurement;Product;Protection;Pvoff;R;Rate Transition;Reference;S;S1- IGBT with Diode;S2 - IGBT with Diode;SPST Switch;Saturation;Scope;Sensor Dynamics;Sensor dynamics;Set;ShutDown;Shutdown Flag;Simulink-PS Converter;Sine Wave;Single Phase Inverter;SoC;Solar Cell;Solar Irradiance W/m;Solar PV Power;Solar Panel;Solar Plant;Solver Configuration;Square;Square Root;Start Mode;State of Charge;SubSystem;Subtract;Sum;Switch;Terminator;Toggle Switch;Transfer Fcn;Transfer Fcn (with initial states);TripSig;Unit Delay;VBat;Variable Inductor;Vbat;Vconst;Vdc;Vmod;Vmpp;Vo;Vo ;VoRef;VoltCint;VoltControl;Voltage Sensor;Voltage control;Voltage-Controlled Voltage Source - Scale panel voltage to Ns series panel;VoltageControl;Voref;Vpv;VpvRef;XOR;ZOH/;Zero-Order Hold;[-1,1];act;d-axis current control;delI;delV;e;loadShutDown;loadreset;m;mConstV;mMPP;mPVoff;mod;modeNum;overload;pvMPPT;rsflag;start MPPT Voltage;u;v_dc;y

BLOCKTYPE:
Abs;ActionPort;Average-Value Chopper;Battery;Capacitor;Compare To Constant;Compare To Zero;Constant;Current Sensor;Current-Controlled Current Source;DataTypeConversion;Demux;Diode;DisplayBlock;Electrical Reference;EnablePort;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Gain;Goto;IGBT (Ideal, Switching);If;Inductor;Inport;Integrator;KnobBlock;LampBlock;LinearGaugeBlock;Logic;Math;Merge;Mux;Outport;PMIOPort;PS Add;PS Constant;PS Gain;PS-Simulink Converter;PWM Generator;Power Measurement;Product;RateTransition;S-Function;SPST Switch;Saturate;Scope;SemiCircularGaugeBlock;Simulink-PS Converter;Sin;Solar Cell;Solar Panel;Solver Configuration;Sqrt;Sum;Switch;Terminator;ToggleSwitchBlock;Transfer Function with Initial Outputs;Transfer Function with Initial States;TransferFcn;UnitDelay;Variable Inductor;Variable Resistor;Voltage Sensor;Voltage-Controlled Voltage Source;ZeroOrderHold

BLOCKTYPE_FREQUENCY:
1;2;1;1;4;9;4;28;6;2;10;3;1;9;1;8;1;1;59;47;38;3;1;4;80;11;3;9;1;8;4;6;2;52;58;1;1;1;11;4;1;17;10;1;2;15;3;2;11;1;1;1;1;1;40;19;20;1;1;1;17;3;1;1;4;1;2


MODELNAME: SolarPVDCWithBattery
PATH: examples/simscapeelectrical/main/SolarPVDCWithBattery.slx
DESCRIPTION: Stand-Alone Solar PV DC Power System with Battery Backup %
CHECKSUM: FEC8C6B0EC4EDB03914AF5C9F7FFAF9F
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink;Stateflow
PRODUCT_BASECODE: PS
ANNOTATION:
IGBT controlled during charging  Bi-directional converter for energy management system (EMS)  IGBT controlled during discharging  Current controller Voltage Control Current controller Voltage Control Current controller Voltage Control Both voltage and power is in falling trend  Both voltage and power is in raising trend  Current controller Voltage Control  Red - Overload, reduce the load and manually toggle the switch to restart the system  Solar PV System Monitoring Panel   Simulation time: Increase the value for simulation.timeSim to simulate for longer when exploring mode changes.  Inputs: Use the rotary controls to change the irradiance and load resistance during simulation.  System overload (Mode-6): System overload is triggered olTime sec after the overload event. This delay is to ensure that it is not triggered because of transients. Parameter olTime can be modified in the supporting livescript.  Efficiency: Percent efficiency may exceed 100% due to the stored energy in the inductor and capacitor. Efficiency value will be accurate in steady state.   Battery sign convention: +ve value for charging -ve value for discharging  1 Open script that inputs values for solar plant (load data) 2. Configure MPPT P&amp;O, Incremental Conductance 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Stand-Alone Solar PV DC Power System with Battery Backup Copyright 2019-2023 The MathWorks, Inc.

BLOCK:
 ; Demux ; SFunction ; State of Charge; Terminator ;%SoC;+;-;1/T;AC Current Sensor;AND;Abs;Action Port;Add;BMS;BMS Inductor;BatCharge;BatDischarge;BatIsolate;Battery;Battery Charging;Battery Current (A);Battery Discharging;Battery Management Control;Battery Power;Boost Converter;CB;Capacitor;Charge;Charge to Ahr;Charging;Compare To Constant;Compare To Zero;Constant;Constant Voltage;Current Sensor;Current control;Current-Controlled Current Source;Current-Controlled Current Source- Scale panel current to Np parallel strings;DC Battery Current Sensor;DC Battery Voltage Sensor;DC Bus Capacitor;DC Current Sensor;DC Output Voltage Sensor;DC Voltage Sensor;Data Type Conversion;Demux;Diode;Discharge;Discharging;Display;Divide;Efficiency Calculation;Electrical Reference;Enable;From;G;Gain;Gmpp;Goto;Gpv;Half Gauge;IGBT (Ideal, Switching);IL;IL ;Ibat;Ibattery;If;If Action Subsystem;In;Inc;IncrementalConductance;Initialize;Integrator;Ipv;Ir;Irad;Irrad;Irradiance;Isolate;Isolated;Ki;Knob;Kp;Lamp;Linear Gauge;Load;Load Flag;Load Power;Load Power (kW);Load Reset;Load Resistance;MPPT;MPPT Algorithm;MPPT End Value;MPPT Inductor;MPPT Subsystem;Maximum Power Point;Merge;Mod;Mode Control;Mode Selection;Mode-;Monitoring;Mux;N;NOR;NOT;OR;Out;P;PS-Simulink Converter;PV Control;PV Isolate;PV MPPT Battery Charge Load ShutDown;PV MPPT Battery Discharge;PV MPPT Battery charge;PV ShutDown Battery Discharge;PV ShutDown Battery Isolated System ShutDown;PV System Monitoring Panel;PV Volt Control Battery Isolated;PVoff;PWM;PWM Generator;PerturbationAndObsrvation;Product;Pvoff;R;Rate Transition;Reference;S;S1- IGBT with Diode;S2 - IGBT with Diode;SPST Switch;Saturation;Scope;Sensor Dynamics;Sensor dynamics;Set;ShutDown;Simulink-PS Converter;SoC;Solar Cell;Solar Irradiance W/m;Solar PV Power;Solar Panel;Solar Plant;Solver Configuration;Start Mode;State of Charge;SubSystem;Subtract;Sum;Switch;Terminator;Toggle Switch;Transfer Fcn (with initial states);Unit Delay;VBat;Vbat;Vconst;Vdc;Vmpp;Vo;Vo ;VoRef;VoltCint;VoltControl;Voltage Sensor;Voltage control;Voltage-Controlled Voltage Source - Scale panel voltage to Ns series panel;VoltageControl;Voref;Vpv;VpvRef;XOR;ZOH/;Zero-Order Hold;delI;delV;e;gain;kW;loadShutDown;loadreset;m;mConstV;mMPP;mPVoff;mod;modeNum;overload;pvMPPT;rsflag;shutdown;start MPPT Voltage;u

BLOCKTYPE:
Abs;ActionPort;Battery;Capacitor;Compare To Constant;Compare To Zero;Constant;Current Sensor;Current-Controlled Current Source;DataTypeConversion;Demux;Diode;DisplayBlock;Electrical Reference;EnablePort;From;Gain;Goto;IGBT (Ideal, Switching);If;Inductor;Inport;Integrator;KnobBlock;LampBlock;LinearGaugeBlock;Logic;Merge;Mux;Outport;PMIOPort;PS-Simulink Converter;PWM Generator;Product;RateTransition;S-Function;SPST Switch;Saturate;Scope;SemiCircularGaugeBlock;Simulink-PS Converter;Solar Cell;Solar Panel;Solver Configuration;Sum;Switch;Terminator;ToggleSwitchBlock;Transfer Function with Initial Outputs;Transfer Function with Initial States;TransferFcn;UnitDelay;Variable Resistor;Voltage Sensor;Voltage-Controlled Voltage Source;ZeroOrderHold

BLOCKTYPE_FREQUENCY:
1;2;1;3;9;4;23;4;2;9;3;1;7;1;8;51;36;34;3;1;2;66;9;2;9;1;6;6;2;45;30;8;3;15;9;1;1;12;2;2;6;1;1;1;32;16;16;1;1;1;14;3;1;3;1;2


MODELNAME: SolarPVMPPTBoost
PATH: examples/simscapeelectrical/main/SolarPVMPPTBoost.slx
DESCRIPTION: Solar PV System with MPPT Using Boost Converter %
CHECKSUM: AE9238D7CE3C673F10F73C26B9F278A8
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Current controller Voltage Control Both voltage and power is in falling trend  Both voltage and power is in raising trend  Current controller Voltage Control Turn the knob to change the irradiance and load during simulation Select between MPPT and Voltage control mode Voltage control mode works only when load power requirement is less than PV power generation Solar PV System with MPPT Using Boost Converter  1 Open script that inputs values for solar plant (load data) 2. Configure MPPT P&amp;O, Incremental Conductance 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2019-2023 The MathWorks, Inc.

BLOCK:
 ; (Average DC Voltage)^;+;-;1/T;AC Current Sensor;AND;Action Port;Add;Boost Converter;Capacitor;Compare To Constant;Compare To Zero;Constant;Constant Voltage;Current Sensor;Current control;Current-Controlled Current Source;Current-Controlled Current Source- Scale panel current to Np parallel strings;DC Bus Capacitor;DC Current Sensor;DC Output Voltage Sensor;DC Voltage Sensor;Demux;Diode;Divide;Electrical Reference;Enable;From;G;Gain;Gate;Gmpp;Goto;Gpv;IGBT (Ideal, Switching);IL;IL ;If;If Action Subsystem;In;Inc;IncrementalConductance;Initialize;Integrator;Ipv;Ir;Irad;Irradiance;Ki;Knob;Kp;Load;Load Power;Load Power (kW);Load Resistance;MPPT;MPPT Algorithm;MPPT End Value;MPPT Inductor;MPPT Subsystem;Maximum Power Point;Merge;Monitoring;Mux;N;NOR;OR;Out;P;PS-Simulink Converter;PV Control;PV Mode;PWM Generator;PerturbationAndObsrvation;Product;R;Rate Transition;Reference;Saturation;Scope;Sensor dynamics;Set;Simulink-PS Converter;Slider Switch;Solar Cell;Solar Irradiance W/m;Solar PV Power kW;Solar Panel;Solar Plant;Solver Configuration;SubSystem;Subtract;Sum;Switch;Terminator;Transfer Fcn (with initial states);Unit Delay;V^2/P;Vconst;Vmpp;Vo;Vo ;VoltCtrl;Voltage Sensor;Voltage control;Voltage-Controlled Voltage Source - Scale panel voltage to Ns series panel;Vpv;VpvRef;W2kW;ZOH/;Zero-Order Hold;delI;delV;e;gain;kW2W;m;start MPPT Voltage;u

BLOCKTYPE:
ActionPort;Capacitor;Compare To Constant;Compare To Zero;Constant;Current Sensor;Current-Controlled Current Source;Demux;Diode;DisplayBlock;Electrical Reference;EnablePort;From;Gain;Goto;IGBT (Ideal, Switching);If;Inductor;Inport;Integrator;KnobBlock;Logic;Merge;Mux;Outport;PMIOPort;PS-Simulink Converter;PWM Generator;Product;RateTransition;Saturate;Scope;Simulink-PS Converter;SliderSwitchBlock;Solar Cell;Solar Panel;Solver Configuration;Sum;Switch;Terminator;Transfer Function with Initial States;TransferFcn;UnitDelay;Variable Resistor;Voltage Sensor;Voltage-Controlled Voltage Source;ZeroOrderHold

BLOCKTYPE_FREQUENCY:
2;2;2;4;16;3;2;2;1;3;1;2;24;15;14;1;1;1;35;5;2;3;3;2;21;21;5;2;10;3;6;1;3;1;1;1;1;19;12;4;1;8;2;1;2;1;2


MODELNAME: SolarPanelValidation
PATH: examples/simscapeelectrical/main/SolarPanelValidation.slx
DESCRIPTION: Solar Panel Parameterization Validation
BLOCKTYPE_FREQUENCY: 1;1;1;1;3;1;2;1;1;1
CHECKSUM: C0B0596446A6ACEA35D373035EEECDCB
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Solar Panel Parameterization Validation  1 Open script that inputs values from the datasheet 2. Plot current, power curves at varying conditions (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2018-2023 The MathWorks, Inc.

BLOCK:
+;-;Controlled Voltage Source;Current-Controlled Current Source;Electrical Reference;Ir;Irradiance;Reference;Simulink-PS Converter;Solar Cell;Solar Panel;Solver Configuration;SubSystem;Test Voltage

BLOCKTYPE:
Constant;Controlled Voltage Source;Current-Controlled Current Source;Electrical Reference;PMIOPort;Ramp;Simulink-PS Converter;Solar Cell;Solar Panel;Solver Configuration


MODELNAME: SolarPowerInverter
PATH: examples/simscapeelectrical/main/SolarPowerInverter.slx
DESCRIPTION: Solar Power Inverter
BLOCKTYPE_FREQUENCY: 1;1;1;10;4;2;1;4;1;2;5;11;5;4;8;1;8;2;3;4;8;16;4;5;4;1;2;5;2;1;3;3;1;2;6
CHECKSUM: 29B53D283AA88FF79F00DABD187E733C
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Solar Power Inverter  1. Plot power dissipated by MOSFETs (see code) 2. Calculate losses by component (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
;+;-;1/v_ac_nom;100 percent;AC Current Sensor;AC Voltage Sensor;AC energy;AC instantaneous power;Avg efficiency per AC cycle;C;CL;Constant;Controlled PWM Voltage;Controller;Current Sensor;DC Current Sensor;DC Voltage Sensor;DC energy;DC instantaneous power;DC power;Demux;Diode;Discrete-Time Integrator;E;Efficiency;Efficiency per cycle;Electrical Reference;From;G;Gate Drive;Gate Driver;Goto;Grid;Irradiance;Kp;MOS;Min DC voltage;Mux;Normalize by DC voltage and disable if DC volts too low;PS-Simulink Converter;Power out divided by power in;Prevent divide by zero;Product;Rate Transition;Reference;Sample once every AC cycle/;Scope;Simulink-PS Converter;Solar Panel;Solver Configuration;SubSystem;Sum;Switch;To Workspace;Voltage Sensor;ZOH/;[-1,1];e;i_ac;i_ac_ref;i_dc_ref;u;v_ac;v_dc;y

BLOCKTYPE:
AC Voltage Source;Bias;Capacitor;Constant;Controlled PWM Voltage;Current Sensor;Demux;Diode;DiscreteIntegrator;Display;Electrical Reference;From;Gain;Gate Driver;Goto;Inductor;Inport;Integrator;Mux;N-Channel MOSFET;Outport;PMIOPort;PS-Simulink Converter;Product;RateTransition;Saturate;Scope;Simulink-PS Converter;Solar Cell;Solver Configuration;Sum;Switch;ToWorkspace;Voltage Sensor;ZeroOrderHold


MODELNAME: SolenoidFromFEMData
PATH: examples/simscapeelectrical/main/SolenoidFromFEMData.slx
DESCRIPTION: Solenoid Parameterized with FEM Data
BLOCKTYPE_FREQUENCY: 1;2;1;3;1;4;4;3;3;1;4;2;34;1;1;1;2;4;1;2;4;1;2;2;1;2;1;1;1;2;1
CHECKSUM: 443CD621ADB533F38EB5EC8FE2113DE3
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Solenoid Parameterized with FEM Data  1. Plot extension of solenoids (see code) 2. Calculate and plot flux data (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2006-2023 The MathWorks, Inc.

BLOCK:
+;-;0.;0.5*i^2*dL/dx;12V;Apply 50N load at t=0.06s;C;Calculate Current;Calculate Force;Calculate Force and Current;Controlled Current Source;Current (A);Current Sensor;ERef FEM Actuator;ERef Linear Solenoid;ERef Vc;F;FEM-Parameterized Linear Actuator;From;Goto;Hard Stop;I;L;LUT P to dL/dx;LUT PtoL;Linear Solenoid;Load Force FEM;Load Force Linear;MTRef FEM Actuator;MTRef FEM Force;MTRef Linear Force;MTRef Linear Solenoid;Magnetic Force;Mass;Motion Sensor;Mux;P;PS Divide;PS Product;PS Subtract;PS Terminator;Position;Position Velocity Force Interface;R;Reference;Sensing Current FEM;Sensing Current Linear Solenoid;Sensing xlin;Simulink-PS Converter;Solver Configuration;Spring FEM;Spring lin;SubSystem;Switch;Translational Motion Sensor;Turn on at t=0.01s;V;V+;V-;Vel;Voltage Current Interface;Voltage Sensor;dL/dx;dx/dt;i;iFEM;i^2/;ilin;lambda;v;xFEM;xlin

BLOCKTYPE:
Controlled Current Source;Current Sensor;DC Voltage Source;Electrical Reference;FEM-Parameterized Linear Actuator;From;Goto;Ideal Force Source;Ideal Translational Motion Sensor;Mass;Mechanical Translational Reference;Mux;PMIOPort;PS Divide;PS Gain;PS Integrator;PS Lookup Table (1D);PS Product;PS Subtract;PS Terminator;PS-Simulink Converter;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Step;Switch;Translational Damper;Translational Hard Stop;Translational Spring;Voltage Sensor


MODELNAME: SolenoidHysteresis
PATH: examples/simscapeelectrical/main/SolenoidHysteresis.slx
DESCRIPTION: Custom Solenoid with Magnetic Hysteresis
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;1;1;1;2;2;1;1;6;1;1;1;1;1;1;1;1;1;1
CHECKSUM: 9342D5FD8B9D9403797AB4FAD69DF610
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot position and B-H curve of solenoid (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example  Custom Solenoid with Magnetic Hysteresis Copyright 2015-2023 The MathWorks, Inc.

BLOCK:
C;DC Voltage;Damper;Diode;ERef;Electromagnetic Converter;Energize;L;Load;MTRef Sensor;MTRef Solenoid;Magnetic Reference;Mass;PS-Simulink Converter ;Plunger-Core Fixed Air Gap;Position Sensor;Pulse Generator;R;Reference;Reluctance Force Actuator;Reluctance with Hysteresis;S;SPST Switch;Simulink-PS Converter;Solenoid Position;Solenoid with Magnetic Effects;Solver Configuration;Spring;SubSystem;Translational Motion Sensor;V+;V-;w

BLOCKTYPE:
DC Voltage Source;Diode;DiscretePulseGenerator;Electrical Reference;Electromagnetic Converter;Ideal Translational Motion Sensor;Inductor;Magnetic Reference;Mass;Mechanical Translational Reference;Nonlinear Reluctance;Outport;PMIOPort;PS-Simulink Converter;Reluctance;Reluctance Force Actuator;Resistor;SPST Switch;Scope;Simulink-PS Converter;Solver Configuration;Translational Damper;Translational Spring


MODELNAME: StaticSynchronousCompensator
PATH: examples/simscapeelectrical/main/StaticSynchronousCompensator.slx
CHECKSUM: 0F12DA3F5B25F783011A9B0B42A7EE74
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot results (see code) 2. Explore simulation results using sscexplore 3. Modify model parameters 4. Modify level of fidelity i) Low ii) Medium iii) High 5. Learn more about this example Copyright 2024 The MathWorks, Inc. Static Synchronous Compensator Using Voltage Source Converter (VSC)

BLOCK:
;!Q;+;-;AC Grid;Abs;Add;AlphaBeta;Average-value VSC;Bias;Bus Creator;BusElementIn;C;CB;Clarke;Cn;Compare To Zero;Constant;Control;Converter;Coupling Transformer;Coupling vi;Cp;Current Sensor (Three-Phase);Current and Voltage Sensor (Three-Phase);Current control;D;D Latch;D Latchs;DC and AC voltag control;Data Type Conversion;Demux;Discrete-Time Integrator;Divide;Dynamic Load (Three-Phase);Dynamic load;Electrical Reference;Frequency-and-time mode;From;G;Gain;Gain2 ;Gate;Goto;Hit Crossing;Hz -> p.u.;IabcS;Inverse Clarke Transform;Inverse Park Transform;K;Logical Operator;Math Function;Measurements;Mux;P;PID Controller;PS-Simulink Converter;PWM Generator (Three-phase, Three-level);Park transform;Phase;Phase Permute;Phase Splitter;Phase Voltage Sensor;Phase calculation;Primary load;Primary vi;Product;Pulse generator for capacitor bank;Q;R;RL parallel;Rate Limiter;Rate Transition;Reference;Relational Operator;Relay;S;S-R Flip-Flop;S-R Flip-Flops;STATCOM;Scope;Scopes;Secondary load;Secondary vi;Selector;Sign;Simulink-PS Converter;Solver Configuration;Sqrt;Start;Step;SubSystem;Substation Transformer;Sum;Sum of Elements;Switch;Switching VSC;TSC;T_An;T_Ap;T_Bn;T_Bp;T_Cn;T_Cp;Terminator;Three-Level Converter (Three-Phase);Three-phase PLL;Time mode;Trigonometric Function;Twelve-Pulse Gate Multiplexer;Unit Delay;Vabc(pu);VabcAngle;VabcMag;VabcP;VabcS;Vabcg;Variant Source;Vcap;Vcap(pu);Vd;Vdc PI;VdcRef;Vdcn;Vdcn Filter;VdcnF;Vdcp;Vdcp Filter;VdcpF;Vds;Voltage Sensor;Vp;Vp PI;VpRef;VsLine;abc;alpha;beta;capBank;capBankPQ;capStart;d-axis current PI;d-axis current filter;d-axis voltage filter;frequency filter;gateVSC;i;idRef;ids;idsRef;iqRef;iqs;iqsRef;mCap;mControl;mSTATCOM;omega;q-axis current PI;q-axis current filter;q-axis voltage filter;theta;v;vi;~

BLOCKTYPE:
Abs;Average-Value Voltage Source Converter (Three-Phase);Bias;BusCreator;Capacitor;Circuit Breaker (Three-Phase);Compare To Zero;Constant;Current Sensor (Three-Phase);Current and Voltage Sensor (Three-Phase);DLatch;DataTypeConversion;Demux;DiscreteIntegrator;Dynamic Load (Three-Phase);Electrical Reference;Fcn;From;Gain;Goto;HitCross;Inport;Inverse Clarke Transform;Inverse Park Transform;Logic;Low-Pass Filter (Discrete or Continuous);Math;Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;PWM Generator (three-phase, three-level);Park Transform;Phase Permute;Phase Splitter;Phase Voltage Sensor (Three-Phase);Product;RLC (Three-Phase);RateLimiter;RateTransition;RelationalOperator;Relay;SRFlipFlop;Scope;Selector;Signum;Simulink-PS Converter;Sinusoidal Measurement (PLL, Three-Phase);Solver Configuration;Sqrt;Step;Sum;Switch;Terminator;Three-Level Converter (Three-Phase);Thyristor (Piecewise Linear);Trigonometry;Twelve-Pulse Gate Multiplexer;Two-Winding Transformer (Three-Phase);UnitDelay;VariantSource;Voltage Sensor;Voltage Source (Three-Phase);Wye-Connected Load

BLOCKTYPE_FREQUENCY:
1;1;1;6;2;2;3;8;1;4;3;4;12;1;1;7;9;21;35;13;3;123;3;2;7;8;6;12;71;7;29;12;1;5;1;2;1;9;2;2;10;2;2;6;4;8;2;23;1;1;1;4;24;4;8;1;6;2;1;2;12;2;2;1;4


MODELNAME: StaticVarCompensator
PATH: examples/simscapeelectrical/main/StaticVarCompensator.slx
CHECKSUM: 96AD7F77BD8C8A5B5CBD7E60745FB7E5
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot results (see code) 2. Explore simulation results using sscexplore 3. Modify model parameters 4. Modify level of fidelity i) Low ii) Medium iii) High 5. Learn more about this example Copyright 2024 The MathWorks, Inc. Static Var Compensator Using Thyristor-Switched Capacitor (TSC) and Thyristor-Controlled Reactor (TCR) 

BLOCK:
!Q;AC Grid;Abs;Add;Alpha;Bias;Bus Creator;BusElementIn;C;CB;Capacitor;Capcitor;Compare To Zero;Con;Constant;Control;Current Sensor (Three-Phase);Current and Voltage Sensor (Three-Phase);D;D Latch;D Latchs;Data Type Conversion;Demux;Discrete-Time Integrator;Divide;Dummy measurements;Dynamic Load (Three-Phase);Dynamic load;Dynamic load frequency-and-time mode;Dynamic load time mode ;Electrical Reference;Filter1Start;Filter2Start;From;G;Gain;Get Alpha;Goto;Ground;Hit Crossing;L;Logical Operator;Math Function;Mux;P;PI;PQ;PS-Simulink Converter;Park transform;Phase;Phase Permute;Phase Splitter;Phase Voltage Sensor;Phase calculation;Primary load;Primary vi;Pulse generator for filter;Pulse generators;Pulses;Q;R;RL parallel;Rate Transition;Reactor;ReactorAlpha;Reference;Relational Operator;Relay;S;S-R Flip-Flop;S-R Flip-Flops;SVC;Saturation;Scope;Scopes;Secondary load;Secondary vi;Selector;Sign;Simulink-PS Converter;Sinusoidal Measurement (PLL, Three-Phase);Solver Configuration;Sqrt;Start;Step;SubSystem;Substation Transformer;Subtract;Sum;Sum of Elements;Switch;TSC&TCR;T_An;T_Ap;T_Bn;T_Bp;T_Cn;T_Cp;Terminator;Thyristor 6-pulse generator for reactor ;Trigonometric Function;Unit Delay;Vabc;Vabc(pu);VabcAngle;VabcMag;VabcP;VabcS;Vcap;Vcap(pu);Vmeas;Voltage controller;Vref;i;mCR;mCap;mControl;mReactor;v;~

BLOCKTYPE:
Abs;Bias;BusCreator;Circuit Breaker (Three-Phase);Compare To Zero;Constant;Current Sensor (Three-Phase);Current and Voltage Sensor (Three-Phase);DLatch;DataTypeConversion;Demux;DiscreteIntegrator;Dynamic Load (Three-Phase);Electrical Reference;From;Gain;Goto;Ground;HitCross;Inport;Logic;Lookup_n-D;Math;Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;Park Transform;Phase Permute;Phase Splitter;Phase Voltage Sensor (Three-Phase);Product;RLC (Three-Phase);RateTransition;RelationalOperator;Relay;SRFlipFlop;Saturate;Scope;Selector;Signum;Simulink-PS Converter;Sinusoidal Measurement (PLL, Three-Phase);Solver Configuration;Sqrt;Step;Sum;Switch;Terminator;Thyristor (Piecewise Linear);Thyristor 6-Pulse Generator;Trigonometry;Two-Winding Transformer (Three-Phase);UnitDelay;Voltage Source (Three-Phase);Wye-Connected Load

BLOCKTYPE_FREQUENCY:
6;3;13;2;6;7;3;2;6;8;18;1;1;5;32;24;19;11;6;75;14;1;9;13;44;3;10;9;1;3;6;2;4;5;11;4;2;12;1;5;4;6;22;3;1;1;5;9;9;17;18;1;3;1;12;1;4


MODELNAME: StepperMotor
PATH: examples/simscapeelectrical/main/StepperMotor.slx
DESCRIPTION: Stepper Motor with Control
BLOCKTYPE_FREQUENCY: 2;1;1;5;1;9;7;1;10;2;4;21;4;1;1;1;1;1;1;2;1;3;1;1;4;1;1;1;1;3;2;1
CHECKSUM: DB4545BB6E91EE8EC39696E1DA7C26A6
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
The reference input defines the required angular position in terms of the number steps. For this stepper, the step size is 1.8 degrees. Hence a demand of 10 steps results in an angle change of 18 degrees. The step rate is set by the Pulse Generators Pulse rate mask parameter. Position Controller The speed controller turns the reference input into an absolute voltage demand for the voltage-controlled pulse generator and sets the reverse flag signal to +5 volts when the speed demand is negative. Step rate and direction algorithm implemented on a microprocessor or dedicated discrete chip Stepper Motor with Control  1. Plot angular speed of motor shaft (see code) 2. Plot voltages of stepper motor driver pins (see code) 3. Configure stepper controller: Speed, Position 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
-;0v;2*pi;Abs;Algorithm and Pulse Generation;Compare To Constant;Constant;Controlled Voltage Source;Controller;Data Type Conversion;Demand;ERef;ERef A+;ERef B-;Gain;IC Analog Output REV;IC Analog Output Vref;Logic2Volts;MRRef;MRRef Motor;Max step rate 100/s;Max step rate =;Motion Sensor;Normalize to ;PS Integrator;PS Sign;PS Sine;PWM;Position;Product;Pulse Generator;Pulse demand;Pulse direction;Pulse train;R;REV;Rate Transition;Ref;Reference;SL;Saturation;Sensing Angle;Shaft Angle;Shaft Free End;Sign;Simulink-PS Converter;Solver Configuration;Speed;Step Rate and Direction;StepRate2Volts;Stepper Motor;Stepper Motor Driver;SubSystem;Sum;Unit Delay, sample time 1/2*f);Unit Delay, sample time 1/f;V;Voltage Sensor;Voltage-Controlled Pulse Generator;Vref;[0,1];deg;logic2volts;p;theta

BLOCKTYPE:
Abs;Compare To Constant;Constant;Controlled Voltage Source;DataTypeConversion;Electrical Reference;Gain;Ideal Rotational Motion Sensor;Inport;Mechanical Rotational Reference;Outport;PMIOPort;PS Gain;PS Integrator;PS Math Function;PS Saturation;PS Sign;PS-Simulink Converter;Product;RateTransition;Rotational Free End;Saturate;Scope;Signum;Simulink-PS Converter;Solver Configuration;Step;Stepper Motor;Stepper Motor Driver;Sum;UnitDelay;Voltage Sensor


MODELNAME: StepperMotorAveragedMode
PATH: examples/simscapeelectrical/main/StepperMotorAveragedMode.slx
DESCRIPTION: Stepper Motor Averaged Mode
BLOCKTYPE_FREQUENCY: 2;1;1;5;1;9;4;1;1;6;3;3;18;4;1;1;1;1;3;1;1;2;1;5;1;1;1;1;2
CHECKSUM: 474B152A030649E95F7C6B1BC68B9DE0
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Speed Controller The speed controller turns the reference input into an absolute voltage demand for the voltage-controlled pulse generator and sets the reverse flag signal to +5 volts when the speed demand is negative. Stepper Motor Averaged Mode  1. Plot angle and speed of shaft (see code) 2. Configure simulation mode: Average, Stepped (see code) 3. Configure stepped mode: Full stepping, Half stepping, Microstepping (see code) 4. Set inertial load: Overload, Nominal 5. Compare simulation modes (see code) 6. Explore simulation results using Simscape Results Explorer 7. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
#;-5V;0v;1/step angle;2*pi;Abs;Analog Voltage-Controlled Pulse Generator;Average;Clock;Compare To Constant;Control;Controlled Voltage Source;Controlled Voltage Source ENA;Controlled Voltage Source REV;Controller;Damper;Data Type Conversion;ENA;ENA or step rate;ERef;ERef A+;ERef B-;ERef ENA;ERef REV;Full-step rate demand;IC Analog Output ;Inertia;Logic2Volts;MRRef;MRRef Load;MRRef Motor;Max ENA rate;Max step rate;Meas ;Motion Sensor;Normalize to ;PS Product;PS Sign;PS Sine;PS-Simulink Converter;R;REF;REV;Ref;Reference;Results;SL;Sensor;Sign;Simulink-PS Converter;Solver Configuration;StepRate2Volts;Stepped;Stepper Motor;Stepper Motor Driver;SubSystem;V;Voltage Sensor;Vref;[0,1];deg;logic2volts;rpm;w

BLOCKTYPE:
Abs;Clock;Compare To Constant;Controlled Voltage Source;DataTypeConversion;Electrical Reference;Gain;Ideal Rotational Motion Sensor;Inertia;Inport;Mechanical Rotational Reference;Outport;PMIOPort;PS Gain;PS Math Function;PS Product;PS Saturation;PS Sign;PS-Simulink Converter;Rotational Damper;Saturate;Scope;Signum;Simulink-PS Converter;Solver Configuration;Step;Stepper Motor;Stepper Motor Driver;Voltage Sensor


MODELNAME: StepperMotorPullIn
PATH: examples/simscapeelectrical/main/StepperMotorPullIn.slx
DESCRIPTION: Stepper Motor Pull-in Characteristics %
BLOCKTYPE_FREQUENCY: 1;1;1;2;2;4;6;3;5;1;1;1;2;1;1;2;3;4;11;3;2;1;2;3;2;1;1;1;2;2
CHECKSUM: E140270E11DF9EAA2701BAB5E4D74845
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink;Simulink Test
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Open script to define the manufacturer data 2. Plot pull-in characteristics (see code) 3. Regenerate the pull-in characteristics (computationally intensive, see code) 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Stepper Motor Pull-in Characteristics  Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
A+;A-;Abs;Active Load;Angle;Aphase;Assert not slipping;B+;B-;Bphase;C;Constant;Controlled Current Source;E(x);ERef;ERef A+;Frictional Load;From;Gain;Goto;Integrator;Load;Load Inertia;Logic2CurrentA;Logic2CurrentB;Logical Operator;MRRef;Mechanical Reference;Motion Sensor;Mux;PS-Simulink Converter;Pulse Generator;R;Reference;Resistor;Scope;Signal View;Simulink-PS Converter;Slip Detection;Slipping;Solver Configuration;Stepper Motor;Stepper Motor A Phase R-L Model;Stepper Motor B Phase R-L Model;Stepper Motor Driver;SubSystem;Sum;Torque source;VS;deg;iA Current;iA SineWave;iA+;iA-;iAsignal;iB Current;iB SineWave;iB+;iB-;iBsignal;slip

BLOCKTYPE:
Abs;Assertion;Compare To Constant;Constant;Controlled Current Source;Electrical Reference;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Source;Inertia;Inport;Integrator;Logic;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;Resistor;Rotational Friction;Scope;Simulink-PS Converter;Sin;Solver Configuration;Stepper Motor;Sum;TransferFcn;Voltage Sensor


MODELNAME: StepperMotorValidation
PATH: examples/simscapeelectrical/main/StepperMotorValidation.slx
DESCRIPTION: Pre-Parameterized Stepper Motor Block Validation %
BLOCKTYPE_FREQUENCY: 1;1;1;2;2;4;2;3;1;1;1;1;2;1;1;2;1;4;11;1;2;1;2;3;2;1;1;1;2
CHECKSUM: F37C82DB987A1B1756B8E2B1FC96AB26
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Open script to view the manufacturer data and define load torque 2. Plot pull-in characteristics of the selected stepper motor (see code) 3. Regenerate the pull-in characteristics for given step rate (computationally intensive, see code) 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Pre-Parameterized Stepper Motor Block Validation Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
A+;A-;Abs;Active Load;Angle;Aphase;Assert not slipping;B+;B-;Bphase;C;Controlled Current Source;E(x);ERef;ERef A+;Frictional Load;From;Gain;Goto;Integrator;Load;Load Inertia;Logic2CurrentA;Logic2CurrentB;Logical Operator;MRRef;Mechanical Reference;Motion Sensor;Mux;Pulse Generator;R;Reference;Resistor;Scope;Signal View;Simulink-PS Converter;Slip Detection;Slipping;Solver Configuration;Step rate;Stepper Motor;Stepper Motor A Phase R-L Model;Stepper Motor B Phase R-L Model;Stepper Motor Driver;SubSystem;Sum;Torque source;deg;iA Current;iA SineWave;iA+;iA-;iAsignal;iB Current;iB SineWave;iB+;iB-;iBsignal;slip

BLOCKTYPE:
Abs;Assertion;Compare To Constant;Constant;Controlled Current Source;Electrical Reference;From;Gain;Goto;Ideal Rotational Motion Sensor;Ideal Torque Source;Inertia;Inport;Integrator;Logic;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;Resistor;Rotational Friction;Scope;Simulink-PS Converter;Sin;Solver Configuration;Stepper Motor;Sum;TransferFcn


MODELNAME: StrainGaugeWheatstone
PATH: examples/simscapeelectrical/main/StrainGaugeWheatstone.slx
DESCRIPTION: Strain Gauge and Wheatstone Bridge
BLOCKTYPE_FREQUENCY: 2;1;4;1;1;1;1;1;1;9;1;1;1;1;1;1
CHECKSUM: 45117AEB4D96E57BEEF80D2DA7E3031B
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Low Pass Filter Differential Amplifier Wheatstone Bridge Strain Gauge and Wheatstone Bridge  1. Check tolerance effects on signal (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2006-2023 The MathWorks, Inc.

BLOCK:
Capacitor;ERef;ERef Diff Amp;ERef Low Pass;ERef Wheatstone;Meas ;Mux;Op-Amp Amplifier;Op-Amp Filter;PS-Simulink Converter;R;Random Pressure ;Reference;SL;Scaling;Scope;Simulink-PS Converter;Solver Configuration;Strain Gauge;SubSystem;V;VSrc 10V;Voltage Sensor

BLOCKTYPE:
Band-Limited Op-Amp;Capacitor;Electrical Reference;Gain;Mux;Outport;PMIOPort;PS-Simulink Converter;Positive Supply Rail;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Strain Gauge;UniformRandomNumber;Voltage Sensor


MODELNAME: SupercapacitorBehavior
PATH: examples/simscapeelectrical/main/SupercapacitorBehavior.slx
DESCRIPTION: Supercapacitor Charging and Discharging Behavior
BLOCKTYPE_FREQUENCY: 1;1;1;2;2;1;4;1;1;1;1;1;2;1;1;1
CHECKSUM: F72DBEA1013C185E41D058A0A49B9953
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Supercapacitor Charging and Discharging Behavior  1. Explore simulation results using Simscape Results Explorer 2. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
+;-;Charging current;Controlled Current Source;Current and Voltage;Electrical Reference;From;Goto;Iin, mA;Load current;On/off;PS-Simulink Converter;Product;Reference;Sensing current;Sensing voltage;Simulink-PS Converter;Solver Configuration;SubSystem;Sum;Supercapacitor;Voltage Sensor

BLOCKTYPE:
Controlled Current Source;DiscretePulseGenerator;Electrical Reference;From;Goto;Inport;PMIOPort;PS-Simulink Converter;Product;Scope;Simulink-PS Converter;Solver Configuration;Step;Sum;Supercapacitor;Voltage Sensor


MODELNAME: SupercapacitorFromData
PATH: examples/simscapeelectrical/main/SupercapacitorFromData.slx
DESCRIPTION: Supercapacitor Parameter Identification
BLOCKTYPE_FREQUENCY: 1;1;2;2;1;4;1;1;1;1;1;1;1;1
CHECKSUM: CF35BDC168485A14EF4579C580133B92
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Supercapacitor Parameter Identification  1. Configure the supercapacitor using known parameter values (see code) 2. Identify and evaluate the supercapacitor parameters (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
+;-;Conn;Current and Voltage;Electrical Reference;From;Goto;Iin, A;It;PS-Simulink Converter;Reference;Sensing current;Sensing voltage;Simulink-PS Converter;Solver Configuration;Step;SubSystem;Sum;Supercapacitor;V

BLOCKTYPE:
Controlled Current Source;Electrical Reference;From;Goto;Inport;PMIOPort;PS-Simulink Converter;Scope;Simulink-PS Converter;Solver Configuration;Step;Sum;Supercapacitor;Voltage Sensor


MODELNAME: SwitchedCapacitorADC
PATH: examples/simscapeelectrical/main/SwitchedCapacitorADC.slx
DESCRIPTION: Switched Capacitor Analog to Digital Converter
BLOCKTYPE_FREQUENCY: 12;6;1;8;6;3;14;1;2;7;2;8;5;25;2;3;1;2;17;44;3;8;2;7;1;1;4;8;1;60;5;2
CHECKSUM: 656C6F385FF2F6552595AE859F312673
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Cascaded integrator filter 1V in produces 1V (differential) out. The Memory block breaks an algebraic loop. This algebraic loop does not need to be continuously solved because the output of the comparator is piecewise constant.  Non overlapping clocks Switched Capacitor Analog to Digital Converter  1. Plot voltages at input and output of converter circuit (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2004-2023 The MathWorks, Inc.

BLOCK:
;+;+In;+Out;+REF;-;-In;-Out;-REF;16/Fs;Analog in;C;Clk_;Clock phase ;Clocks;Comparator (quantizer);Controlled Voltage Source n;Controlled Voltage Source p;DPST Switch;Data Type Conversion;Demodulate;Differential Driver and Summer;Differential Driver and summer;Differential Input;ERef;ERef DPST Switch;ERef DPST Switch ;ERef R1R;ERef VRef;Enable;Fcn;From;Fully Differential Op-Amp;Gain;Goto;Hyperbolic Tangent;In;Integrate last 16 data points/;Invert;Logical Operator;Memory;Modulator out;Mux;Out;PS-Simulink;R;Reference;S&H strobe;SC integrator;Sampler;Scope ;Simulink-PS Converter;Sine Wave;Solver Configuration;SubSystem;Sum;Sum_In;Summer and Integrator ;Switch;Switched-capacitor 2nd-order modulator;Test Point;Test points;VRef;Voltage Sensor;Voltage Sensor (SL);ZOH Fs=512e;alpha;clk;inn;inp;o/c;outn;outp;p;refn;refp;u;v;y;~clk

BLOCKTYPE:
Capacitor;Controlled Voltage Source;DC Voltage Source;DPST Switch;DataTypeConversion;DiscretePulseGenerator;Electrical Reference;EnablePort;Fcn;From;Fully Differential Op-Amp;Gain;Goto;Inport;Integrating capacitor;Logic;Memory;Mux;Outport;PMIOPort;PS-Simulink Converter;Resistor;Scope;Simulink-PS Converter;Sin;Solver Configuration;Sum;Switch;Trigonometry;UnitDelay;Voltage Sensor;ZeroOrderHold


MODELNAME: SwitchingAudioAmplifier
PATH: examples/simscapeelectrical/main/SwitchingAudioAmplifier.slx
DESCRIPTION: Switching Audio Power Amplifier
BLOCKTYPE_FREQUENCY: 2;1;1;4;3;3;1;2;1;1;2;1;9;1;2;1;1;1;3;1;1;1;1;1;1;1;1;1;1
CHECKSUM: 6CCAC16D769BF995A748CAA492D3B49E
PRODUCT: MATLAB;Simscape;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Anti-alias filters are 8th order elliptic lowpass with cut-off at 20kHz, 0.11dB ripple in the pass band, and 100dB attenuation in the stop band. Gains determined using the Signal Processing Toolbox(TM) command ellip.m. Switching Audio Power Amplifier  1. Plot voltages in circuit (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2002-2023 The MathWorks, Inc.

BLOCK:
+;Anti-alias Filter;C;Controlled PWM Voltage;Cyclic load current;DC Source;ERef;ERef PSM REF;Feedback compensator;Feedback controller;Filter and Sample;From;Goto;Goto ;Half-Bridge Driver;Ki;Kp;L;Meas.;Mux;N-Channel MOSFET ;PS Add;PS Integrator;PS Subtract;PS-Simulink Converter;PWMH;PWML;R Load;Rate Transition;Reference;Scope;Sensing Vout;Simulink-PS Converter;Sine Waves;Solver Configuration;Spectrum Analyzer;SubSystem;TS;Voltage Sensor;Vref;[0.01,0.95];e;meas;ref;u;v;y

BLOCKTYPE:
Capacitor;Controlled PWM Voltage;DC Voltage Source;Electrical Reference;From;Goto;Half-Bridge Driver;Inductor;Inport;Mux;N-Channel MOSFET;Outport;PMIOPort;PS Add;PS Gain;PS Integrator;PS Saturation;PS Subtract;PS-Simulink Converter;RateTransition;Resistor;Scope;Simulink-PS Converter;Sin;Solver Configuration;SpectrumAnalyzer;StateSpace;Sum;Voltage Sensor


MODELNAME: SynchronousBuckSelfTurnOn
PATH: examples/simscapeelectrical/main/SynchronousBuckSelfTurnOn.slx
DESCRIPTION: Buck Converter
BLOCKTYPE_FREQUENCY: 2;2;1;2;3;6;6;1;1;2;6;27;6;1;4;1;1;4
CHECKSUM: D116115538998351155937F44BA1A0EB
PRODUCT: Embedded Coder;MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Analysis of Synchronous Buck Converter with Self Turn-On   1. Plot output voltage and self turn-on of converter without (see code) and with (see code) the external gate source capacitor. 2. Check results of effective parameters on self turn-on (see code) 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2022-2023 The MathWorks, Inc.

BLOCK:
 C;+;-;C;Current Sensor;Current sensor;DC Source;Diode ;Driver;ERef;ERef PWMH nRef;ERef PWML REF;From;Goto;Half-Bridge Driver;L;Output;PS-Simulink Converter;PWMH;PWML;Pulse Voltage Source;Q;R;R Load;Reference;Scope;Solver Configuration;SubSystem;Voltage Sensor;Voltage sensor;id;ig;phase;vds;vgs;vout

BLOCKTYPE:
Capacitor;Current Sensor;DC Voltage Source;Diode;Electrical Reference;From;Goto;Half-Bridge Driver;Inductor;N-Channel MOSFET;Outport;PMIOPort;PS-Simulink Converter;Pulse Voltage Source;Resistor;Scope;Solver Configuration;Voltage Sensor


MODELNAME: SynchronousJKFlipFlop
PATH: examples/simscapeelectrical/main/SynchronousJKFlipFlop.slx
DESCRIPTION: Synchronous J-K Flip-Flop
BLOCKTYPE_FREQUENCY: 2;8;1;2;3;1;5;3;2;2;20;2;1;3;1;1;2
CHECKSUM: 374C6E000C7EC6159F3CFE4DB04DC034
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Synchronous J-K Flip-Flop  1. Plot inputs and outputs for flip-flop (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2006-2023 The MathWorks, Inc.

BLOCK:
CLK;CMOS AND ;CMOS NOT;Clock;Controlled Voltage Source;ERef;J;K;Logic ;Manual Switch/;Meas ;NAND ;Outputs;PS-Simulink Converter;Q;R;Reference;S;S-R Clocked Flip-Flop ;SL;Simulink-PS Converter;Simulink2Volts;Solver Configuration;SubSystem;Synchronous J-K Flip-Flop;V;Voltage Sensor;~Q

BLOCKTYPE:
CMOS AND;CMOS NAND;CMOS NOT;Constant;Controlled Voltage Source;DiscretePulseGenerator;Electrical Reference;Inport;ManualSwitch;Outport;PMIOPort;PS-Simulink Converter;Scope;Simulink-PS Converter;Solver Configuration;Synchronous J-K Flip-Flop;Voltage Sensor


MODELNAME: SystemLevelACDrive
PATH: examples/simscapeelectrical/main/SystemLevelACDrive.slx
BLOCKTYPE_FREQUENCY: 1;2;1;1;1;2;4;4;1;10;1;1;2;9;1;6;7;1;3;1;3;1;1;1;1;1;1
CHECKSUM: 83ACDDF1F8705FF1974603B8AE90FF68
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Copyright 2022-2023 The MathWorks, Inc.  1. Plot results (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example System level AC Drive

BLOCK:
+;-;AC-DC Converter (Three-Phase);Bus Creator;BusElementIn;Control;Current Sensor;Current and Voltage Sensor (Three-Phase);Electrical Reference;From;Goto;Ideal Torque Source;Input;Load;Mechanical Rotational Reference;Motor & Drive (System Level);Mux;Out Bus Element;PID Controller;PQ;PS-Simulink Converter;PS-Simulink Converter ;Power Sensor (Three-Phase);Reference;Scope;Scopes;Sensing Vdc;Sensing current;Sensing vabc iabc PQ ;Simulink-PS Converter;Solver Configuration;Speed;SpeedRef;SubSystem;Sum;Torque;Unit Delay;V;VdcRef;Voltage Sensor;Voltage Source (Three-Phase);i;iabc;vabc;~

BLOCKTYPE:
AC-DC Converter (Three-Phase);BusCreator;Constant;Current Sensor;Current and Voltage Sensor (Three-Phase);Electrical Reference;From;Goto;Ideal Torque Source;Inport;Mechanical Rotational Reference;Motor & Drive (System Level);Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;Power Sensor (Three-Phase);Scope;SignalEditor;Simulink-PS Converter;Solver Configuration;Step;Sum;UnitDelay;Voltage Sensor;Voltage Source (Three-Phase)


MODELNAME: TVSDiodeParameterization
PATH: examples/simscapeelectrical/main/TVSDiodeParameterization.slx
DESCRIPTION: TVS Diode Parameterization
BLOCKTYPE_FREQUENCY: 1;2;2;1;1;2;4;2;1;1;1;1;2
CHECKSUM: F04B7F23B4BF1659B946B4E1045C3597
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
TVS Diode Parameterization  1. Plot v-i curves for diodes (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2012-2023 The MathWorks, Inc.

BLOCK:
+;-;Controlled Current Source;ERef;ERef Src;Exponential;I_PPM;Mux;Output;PS-Simulink Converter ;Piecewise Linear;Reference;Simulink-PS Converter ;Solver Configuration;SubSystem;TVS Diode Exponential;TVS Diode Piecewise Linear;Test pulse;Voltage Sensor;v

BLOCKTYPE:
Controlled Current Source;Diode;Electrical Reference;Gain;Mux;Outport;PMIOPort;PS-Simulink Converter;Scope;SignalEditor;Simulink-PS Converter;Solver Configuration;Voltage Sensor


MODELNAME: TabulatedMOSFET
PATH: examples/simscapeelectrical/main/TabulatedMOSFET.slx
BLOCKTYPE_FREQUENCY: 2;1;1;1;4;2;1;2;2;1;2
CHECKSUM: ABAADC713392AE2B75438F9A20F74EF7
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. MOSFET curves: Define Conditions 2. SPICE subcircuit (see SPICE netlist) 3. Set lookup table parameters (see code) 4. Check results (see code) 5. Explore simulation results using Simscape Results Explorer 6. Learn more about this example   Parameterize a Lookup Table-Based MOSFET from SPICE  Copyright 2020-2023 The MathWorks, Inc.

BLOCK:
+;-;Current Sensor;ERef;Environment Parameters;Ids;Measure Ids;Measure Igs;N-Channel MOSFET;PS-Simulink Converter;Parameters;Reference;Solver Configuration;SubSystem;Vds;Vgs;vdsac;vgsac

BLOCKTYPE:
Current Sensor;Electrical Reference;Environment Parameters;N-Channel MOSFET;PMIOPort;PS-Simulink Converter;Parameterising the lookup table-based MOSFET from SPICE;Piecewise Linear Voltage Source;Scope;Solver Configuration;Voltage Source


MODELNAME: TapChangingTransformer
PATH: examples/simscapeelectrical/main/TapChangingTransformer.slx
DESCRIPTION: Tap-Changing Transformer for Automatic Voltage Regulation
BLOCKTYPE_FREQUENCY: 1;1;2;2;2;2;2;2;2;2;4;3;4;2;2;2;32;1;1;1;2;1;1;2
CHECKSUM: 44E837C1FE48F16E61D7A830D1BF6A65
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Tap-Changing Transformer for Automatic Voltage Regulation  1. Plot voltages and tap position (see code) 2. Set initial tap position: max_tap, min_tap, nom_tap 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2017-2023 The MathWorks, Inc.

BLOCK:
AC Source ;C_load;Conn;Constant;Control signal;Electrical Reference;Enable signal ;Feedback Controller;From;Gain;Goto;L_line;L_load;Load Sensor;PS-Simulink Converter;Pulse Generator;R;R_load;Reference;Scope;Solver Configuration;Source Sensor;SubSystem;Sum;Switch;Transformer;Unit Delay;V_max Controller;V_max input;V_max ouput;V_min Controller;V_min input;V_min output;Vload;Voltage Sensor;Voltage comparator ;Vsource

BLOCKTYPE:
AC Voltage Source;Capacitor;Constant;DiscretePulseGenerator;Electrical Reference;EnablePort;From;Gain;Goto;Inductor;Inport;Outport;PMIOPort;PS-Simulink Converter;RelationalOperator;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Sum;Switch;Tap-Changing Transformer;UnitDelay;Voltage Sensor


MODELNAME: TestHarnessIGBT
PATH: examples/simscapeelectrical/main/TestHarnessIGBT.slx
DESCRIPTION: Test Harness to Generate High-Power IGBT Device Characteristics
BLOCKTYPE_FREQUENCY: 1;3;1;1;2;1;1;1;1;2;8;3;6;1;2;3;3;1;2;5;13;2;1;1;4;1;1;1;2;3;1;1;4;4;4;2
CHECKSUM: 439634D5C5CDF4B91576C9ECC380F0C3
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Device Under Test  1 Open test harness configuration script (load data) 2. Open main workflow live script 3. Plot characteristics selected in the IGBT Switching Loss Characteristics mask (see code) 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2021-2023 The MathWorks, Inc.  Test Harness to Generate High-Power IGBT Device Characteristics

BLOCK:
+;-;AND;Abs;Add;Busbar1 L/;Constant;Controlled Current Source;Controlled Voltage Source;Current Sensor;Data Type Conversion;Delay One Step;Demux;Doubl Pulse;DoublePulse;Electrical Reference;Enable;From;G;GD;GH;GL;Gain;Goto;IGBTH;IGBTL;Ic;Ic Curent;IcFlag;Ig;Merge;Mux;NOT;Out;P;PS Constant;PS Sine Wave;PS Switch;PS-Simulink Converter;PWM;PWM Generator;Power;Product;Rate Transition;Reference;SInusoidal;Scope;Simulink-PS Converter;Sine Wave;Solver Configuration;Specify Test Condition;Step;SubSystem;Subtract;Transfer Fcn;Vce;Vge;Voltage Sensor;icFlag

BLOCKTYPE:
Abs;Constant;Controlled Current Source;Controlled Voltage Source;Current Sensor;DataTypeConversion;Delay;Demux;Electrical Reference;EnablePort;From;Gain;Goto;IGBT Characterization;Inductor;Inport;Logic;Merge;Mux;Outport;PMIOPort;PS Constant;PS Sine Wave;PS Switch;PS-Simulink Converter;PWM Generator;Product;RateTransition;Scope;Simulink-PS Converter;Sin;Solver Configuration;Step;Sum;TransferFcn;Voltage Sensor

EXTERNALFILE_REFERENCE:
ConverterDesignIdealGateDrive___SubsystemReference_Block___ConverterDesignNChannelIGBT___SubsystemReference_Block___


MODELNAME: TestHarnessNChannelIGBT
PATH: examples/simscapeelectrical/main/TestHarnessNChannelIGBT.slx
DESCRIPTION: Test Harness to Generate IV Characteristics of N-Channel IGBT
BLOCKTYPE_FREQUENCY: 2;2;1;4;4;1;8;1;1;4;1;1;1;2
CHECKSUM: D3857E5FCE9C91B6224045064FDC6C77
PRODUCT: MATLAB;Simscape;Simulink
PRODUCT_BASECODE: PS
EXTERNALFILE_REFERENCE: ConverterDesignNChannelIGBT___SubsystemReference_Block___
ANNOTATION:
 1 Open test harness configuration script (load data ) 2. Plot IV characteristics of N-Channel IGBT (see code) 3 Open script main converter design workflow 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2021-2023 The MathWorks, Inc.  Test Harness to Generate IV Characteristics of N-Channel IGBT

BLOCK:
+;-;Controlled Voltage Source;Current Sensor;Electrical Reference;From;Goto;IGBTL;Ic;Ig;PS Ramp;PS-Simulink Converter;Reference;Resistor;Scope;Solver Configuration;Specify Test Parameters;SubSystem;Vce;Vge;Voltage Sensor;constVgeVal

BLOCKTYPE:
Controlled Voltage Source;Current Sensor;Electrical Reference;From;Goto;IGBT Characterization;PMIOPort;PS Constant;PS Ramp;PS-Simulink Converter;Resistor;Scope;Solver Configuration;Voltage Sensor


MODELNAME: ThermistorControlledFan
PATH: examples/simscapeelectrical/main/ThermistorControlledFan.slx
DESCRIPTION: Thermistor-Controlled Fan
BLOCKTYPE_FREQUENCY: 1;2;1;1;1;1;2;3;3;1;2;1;1;1;2;13;1;2;2;1;3;1;1;1;1;1;1;3;1;3;1;1
CHECKSUM: 5F3DA60DC95AF9F0D521B1375A776D47
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Thermistor-Controlled Fan  1. Plot temperature and other conditions in system (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
A;Additional Heat Transfer Due To Fan;Aero Drag;Aerodynamic Drag;Air Temperature;B;C;Case Temperature;Case Thermal Mass;Conduction Thermistor;Controlled PWM Voltage;Convection Case Env;Convection Fan Forced;DC Motor;E;ERef;Environment;Fan Inertia;From;Goto;H-Bridge;Heat Flow;Heat Flow Source;MRRef;Meas ;Motion Sensor;Motor Speed;Motor Voltage;Nm/(rad/s)^;PS Product;PS Subtract;Q;R;Reference;Resistor;Scope;Sensing Speed;Simulink-PS Converter;Solver Configuration;Square law;Step;SubSystem;Temperature Sensor;Temperature Sensor Case;Temperature Sensor Env;Temperature Source;ThRef;Thermistor;Voltage Sensor;Vs;Watts/(K*rad/s);pwm;trq;w

BLOCKTYPE:
Conductive Heat Transfer;Controlled Heat Flow Rate Source;Controlled PWM Voltage;Controlled Temperature Source;Convective Heat Transfer;DC Motor;Electrical Reference;From;Goto;H-Bridge;Ideal Rotational Motion Sensor;Ideal Torque Source;Inertia;Inport;Mechanical Rotational Reference;PMIOPort;PS Constant;PS Gain;PS Product;PS Subtract;PS-Simulink Converter;Positive Supply Rail;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Step;Temperature Sensor;Thermal Mass;Thermal Reference;Thermistor;Voltage Sensor


MODELNAME: ThreeLevelPWMGenerator
PATH: examples/simscapeelectrical/main/ThreeLevelPWMGenerator.slx
DESCRIPTION: Three-Phase Three-Level PWM Generator
BLOCKTYPE_FREQUENCY: 2;3;1;1;1;1;3;1;3;6;1;1;1;4;1;8;3;1;2;5;1;1;12;1;1;1;1;1;1;1;2;2;1;1
CHECKSUM: DE43B44EC0FDBF92E4B7651ABD31E42F
PRODUCT: MATLAB;Simscape;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Three-Phase Three-Level PWM Generator  1. Plot currents and voltages in RLC load (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2015-2023 The MathWorks, Inc.

BLOCK:
+;-;C;Conn;Constant;Controller;Current Sensor;DC Voltage Source;Demux;Electrical Reference;From;G;Gate;Goto;In;Manual Switch;Mod. Index;Modulation waveforms;Mux;Neutral point;Neutral point controller;Open Circuit;PS-Simulink Converter;PWM Generator (Three-phase, Three-level);Phase A Load Current;Product;RLC;Rate Transition;Reference;Reference voltages;SPWM max. input;SVM max. input;Selector;Sensing current;Sensing voltage Vc;Simulink-PS Converter;Solver Configuration;Step@1cycle;SubSystem;Sum;Three-Level Controller;Three-Level Converter;Twelve-Pulse Gate Multiplexer;Unit Delay;Unit Sine Wave;Vc;Vc1 & Vc2 measured;Vdc;Zero-Order Hold;g

BLOCKTYPE:
Capacitor;Constant;Current Sensor (Three-Phase);DC Voltage Source;Demux;Electrical Reference;From;Gain;Goto;Inport;ManualSwitch;Mux;Open Circuit;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;PWM Generator (three-phase, three-level);Product;RateTransition;Scope;Selector;Simulink-PS Converter;Sin;Solver Configuration;SpectrumAnalyzer;Step;Sum;Three-Level Converter (Three-Phase);Twelve-Pulse Gate Multiplexer;UnitDelay;Voltage Sensor;Wye-Connected Load;ZeroOrderHold


MODELNAME: ThreePhaseCycloconverter
PATH: examples/simscapeelectrical/main/ThreePhaseCycloconverter.slx
DESCRIPTION: Three-Phase Bridge Cycloconverter
BLOCKTYPE_FREQUENCY: 1;1;2;6;1;7;5;18;1;15;3;14;1;3;2;23;4;1;2;1;2;1;5;6;37;6;1;2;3;1
CHECKSUM: E4BE08F89A775B6BCCC7B2C4E962C0CE
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Modify model parameters 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Three-Phase Bridge Cycloconverter Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
+;-;1~;2~;Bus Selector;Control;Converter;Current Sensor;Demux;Electrical Reference;From;G;Gate Driver;Goto;Grounded Neutral;Iabc_cyc;Icyc;In;Line Voltage Sensor;Load;Mux;Out;PS-Simulink Converter;Phase A;Phase B;Phase C;Phase Splitter;Phase Voltage Sensor;Product;Reference;S;Selector;Selector ;Sensing current;Sensing load voltage;Sensing source voltage ;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Step;SubSystem;Switch;Three-phase bridge cycloconverter;V;VRef;Vcyc;Vcyc_abc;Visualization;Vo [pu];Voltage Controller;Voltage Source;Wye-Wye Transformer;fRef;fo [Hz];p.u.->Vrms;thetaM;vabc;~

BLOCKTYPE:
Bridge Cycloconverter Voltage Controller (Three-Phase);BusSelector;Constant;Converter (Three-Phase);Current Sensor (Three-Phase);Demux;Electrical Reference;From;Gain;Goto;Grounded Neutral (Three-Phase);Inport;Line Voltage Sensor (Three-Phase);Mux;Outport;PMIOPort;PS-Simulink Converter;Phase Splitter;Phase Voltage Sensor (Three-Phase);Product;RLC (Three-Phase);SPST Switch (Three-Phase);Scope;Selector;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Step;Two-Winding Transformer (Three-Phase);Voltage Source (Three-Phase)


MODELNAME: ThreePhasePortTypes
PATH: examples/simscapeelectrical/main/ThreePhasePortTypes.slx
DESCRIPTION: Comparison of Three-Phase Port Types
BLOCKTYPE: Electrical Reference;Phase Splitter;Resistor;Solver Configuration;Voltage Source (Three-Phase)
BLOCKTYPE_FREQUENCY: 4;1;6;2;2
CHECKSUM: 657C58947CC4ADA28FFFA0C99677276E
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Comparison of Three-Phase Port Types  1. Explore simulation results using Simscape Results Explorer 2. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
Electrical Reference;Phase Splitter;Reference;Resistor;Solver Configuration;Voltage Source (Composite three-phase port);Voltage Source (Expanded three-phase port)


MODELNAME: ThyristorDynamicBehavior
PATH: examples/simscapeelectrical/main/ThyristorDynamicBehavior.slx
BLOCKTYPE_FREQUENCY: 2;3;5;2;15;9;9;5;29;9;4;6;4;3;5;3;1;3;4
CHECKSUM: 7DC8D0302656538E0C52A1743249F63D
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
This test determines the thyristor turn-off time. It is assumed that the turn-off time is quoted as 100us on a datasheet, and hence this test circuit re-applies a forward voltage 100us after the thyristor has been turned off. The Thyristor component parameter PNP device forward transit time of 80us was found by trial and error such that the thyristor still turns back on after the 100us off-time. To show what happens when the thyristor is left turned off for too long, try setting the workspace parameter tq to 120e-6. This test determines the thyristor turn-on time. The Thyristor block parameter Gate-controlled turn-on time is set to 2us. From the scope, it can be seen that the load current lags the gate current pulse by about 1.5us. The precise timing depends on supply voltage and load resistance, but the influence of these parameters is not taken into account in the block initialization. This test ensures that the thyristor turns on when the gate-cathode voltage v_GK rises from zero to 400V at a rate of 150V/us, this being the value assigned to the thyristor parameter Critical rate of rise of off-state voltage, dV/dt. The Thyristor block uses this value to calculate an approximate value for the gate- anode junction capacitance. Because of the approximations involved in estimating the capacitance value, in this example the thyristor will still trigger provided that the rate of change of voltage is greater than 95V/us. Thyristor Dynamic Behavior Validation This example shows validation of the dynamic behavior of the Thyristor block against its mask values. Mask values are closely related to datasheet values, and the Thyristor block uses these values to calculate the coefficients of the equations used to model it. Double-click on each of the test subsystems for further information on the tests. Copyright 2009-2023 The MathWorks, Inc.

BLOCK:
+;-;10mA pulse;15V/us;2V/us ramp;Controlled Current Source;Controlled Voltage Source;Current Sensor;Current Source (SL);Electrical Reference;From;Goto;Load;PS-Simulink;R_GK;R_load;Ramp;Ramp at 150V/us;Ramp to 12V;Ramp to 400V at 150V/us;Reference;S;Simulink-PS Converter;Solver Configuration;SubSystem;Sum;Thyristor;Turn-off delay test circuit;Turn-on delay test circuit;Turn-on delay test results;Turn_off delay test results;Voltage Sensor;Voltage Source (SL);Voltage profile;Vs;[-35,300];[0,12];[0,335];[0,400];dV/dt triggering test circuit;dV/dt triggering test results;i;i_GT;i_Load sensor;i_load sensor;v_GK;v_GT;v_s

BLOCKTYPE:
Controlled Current Source;Controlled Voltage Source;Current Sensor;DiscretePulseGenerator;Electrical Reference;From;Goto;Inport;PMIOPort;PS-Simulink Converter;Ramp;Resistor;Saturate;Scope;Simulink-PS Converter;Solver Configuration;Sum;Thyristor;Voltage Sensor


MODELNAME: ThyristorRectifier
PATH: examples/simscapeelectrical/main/ThyristorRectifier.slx
DESCRIPTION: Thyristor-Based Rectifier
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;4;3;1;1;1;7;3;1;1;1;6;1;1;1;2;1;1;1
CHECKSUM: 2EC42966E3B4C76DE16FD47BF208DE4E
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Explore simulation results using Simscape Results Explorer 2. Learn more about this example Thyristor-Based Rectifier Copyright 2015-2023 The MathWorks, Inc.

BLOCK:
+;-;1~;2~;6-pulse generator;Current Sensor;Demux;Electrical Reference;Firing angle;From;G;Gate driver;Goto;Grounded Neutral;Inductor;PS-Simulink Converter;Phase Voltage Sensor;Reference;S;Scope;Sensing current;Sensing voltage;Sensing voltage inductor ;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Source Impedance;SubSystem;Terminator;Three-phase PLL;Thyristor converter;Voltage Sensor;Voltage Source;~

BLOCKTYPE:
Constant;Converter (Three-Phase);Current Sensor (Three-Phase);Demux;Electrical Reference;From;Goto;Grounded Neutral (Three-Phase);Inductor;Inport;PMIOPort;PS-Simulink Converter;Phase Voltage Sensor (Three-Phase);RLC (Three-Phase);Scope;Simulink-PS Converter;Sinusoidal Measurement (PLL, Three-Phase);Six-Pulse Gate Multiplexer;Solver Configuration;Terminator;Thyristor 6-Pulse Generator;Voltage Sensor;Voltage Source (Three-Phase)


MODELNAME: ThyristorStaticBehavior
PATH: examples/simscapeelectrical/main/ThyristorStaticBehavior.slx
DESCRIPTION: Thyristor Static Behavior Validation
BLOCKTYPE_FREQUENCY: 3;3;8;3;18;4;16;34;16;1;4;6;3;1;7;1;1;1;8
CHECKSUM: 41128DC2B238454475726D4F28A166C7
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
This test ensures that the thyristor turns on when a pulse of 3uA or more is applied to the gate. Specified conditions are 12V supply and 120 ohm load. The value of the internal shunt resistor Rs is critical to ensuring that the device only turns on when the pulse exceeds 3uA. This circuit also verifies that when the gate current is 3uA, the gate-cathode voltage v_GK is 0.6V as specified in the Thyristor mask. The supply voltage must be ramped up to 12V to prevent dV/dt gate triggering at turn-on. This test circuit determines the load current below which the thyristor will turn off. The Variable resistor increases between 1K and 12K during the simulation. The scope plot i_Load shows that the holding current is approximately 1mA. The Thyristor block does not let you define a value for holding current. It is an emergent property of the other mask values. The Product of NPN and PNP forward current gains parameter on the Advanced tab has some influence over the holding current. Reducing if from 10 to 2 doubles the holding current to 2mA. This test ensures that the thyristor off-state currents I_DRM and I_RRM are as defined by the Thyristor block parameters Off-state current, I_DRM and Corresponding off-state voltage, V_DRM. Here the current is given as 1nA at 400V. The Thyristor component assumes that I_DRM and I_RRM are identical in value, which is usually the case. The scope results show that when the voltage is a steady +400 or -400 volts, the leakage current is approximately +-1nA as expected. The values are not exact due to approximations made when solving for the thyristor component internal parameter values. The abrupt change in current when the voltage is ramped is due to the current required to charge the thyristor junction capacitances. This test ensures that the thyristor on-state voltage drop is correct. The Thyristor mask parameters define the voltage drop V_T to be 1.2V when the current I_T is 1A. To test this, the load resistor must be set to (12-1.2)/1 = 10.8ohms. Note the use of the external R_GK resistor. This reduces the triggering sensitivity, the trigger current being increased to approximately 0.6V/1000ohms = 0.6mA. The critical current will be slightly less than 0.6mA due to increased anode-gate current which contributes to the gate current. Thyristor Static Behavior Validation  1. Run test and plot results (see code) 2. Select Test: Gate Trigger, Latch Current, On State, Off State 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2009-2023 The MathWorks, Inc.

BLOCK:
+;-;12V;1mA;1mA pulse;3uA pulse;6V/s;A;Controlled Current Source;Controlled Voltage Source;Current Sensor;ERef;ERef A VS;ERef G IS;Electrical Reference;From;G;Gate Trigger;Goto;Latch Current;Off State;On State;PS-Simulink;R_GK;R_load;Ramp -400 to 400V in 12 seconds;Ramp to 12K;Reference;Sensing i_GT;Sensing i_load;Sensing v_GK;Sensing v_GT;Simulink-PS Converter;Solver Configuration;SubSystem;Test Circuit;Test Results;Thyristor;Variable Resistor;Voltage Sensor;[-350,350];[0,12]

BLOCKTYPE:
Controlled Current Source;Controlled Voltage Source;Current Sensor;DiscretePulseGenerator;Electrical Reference;From;Goto;PMIOPort;PS-Simulink Converter;Positive Supply Rail;Ramp;Resistor;Saturate;Scope;Simulink-PS Converter;Solver Configuration;Thyristor;Variable Resistor;Voltage Sensor


MODELNAME: TotemPolePFC
PATH: examples/simscapeelectrical/main/TotemPolePFC.slx
DESCRIPTION: Totem-Pole PFC
BLOCKTYPE_FREQUENCY: 1;2;1;3;1;2;1;1;1;1;1;10;4;2;10;2;6;3;1;1;2;1;5;1;1;2;1;3;1;2
CHECKSUM: E9EDB6159BD946391F45D43A02B8C86C
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot voltage and current (see code) 2. Modify model parameters 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2022-2023 The MathWorks, Inc. Totem-Pole PFC

BLOCK:
+;-;1/Vrms^;Abs;Bus Element Out;C;Constant;Control;Current Sensor;Demux;Electrical Reference;From;G;Goto;In Bus Element;L;Meas Vin;Meas Vout;Meas i;Mux;PI current;PI voltage;PS-Simulink Converter;PWM;PWM Generator;Product;Q;Reference;Scopes;Selector;Simulink-PS Converter;Solver Configuration;Step;SubSystem;Sum;Switch;Unit Delay;Variable Resistor;Vin;Voltage Sensor;Voltage and current;Vout;Vref;iL

BLOCKTYPE:
AC Voltage Source;Abs;Capacitor;Constant;Current Sensor;Demux;Electrical Reference;From;Gain;Goto;Inductor;Inport;MOSFET (Ideal, Switching);Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;PWM Generator;Product;Scope;Selector;Simulink-PS Converter;Solver Configuration;Step;Sum;Switch;UnitDelay;Variable Resistor;Voltage Sensor


MODELNAME: TransformerHysteresis
PATH: examples/simscapeelectrical/main/TransformerHysteresis.slx
DESCRIPTION: Electrical Transformer with Hysteresis
BLOCKTYPE_FREQUENCY: 2;4;2;8;4;8;4;8;2;2;4;1;22;8;1;6;2;4;2;2;2;2;4
CHECKSUM: CE8B702106F0691FDAE48AC6EB0F4FD8
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot losses in transformer (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example  Electrical Transformer with Hysteresis Copyright 2015-2023 The MathWorks, Inc.

BLOCK:
+;-;AC Voltage;Controlled Voltage Source;Current Sensor Primary;Current Sensor Secondary;Currents;ERef;ERef Tr;Eddy Loss;Enable Load;Enable Load ;From;Goto;Ip;Load;Load ;Mag Ref;Main magnetic path;Mux;Nonlinear Reluctance;PS-Simulink Converter ;Primary Winding;Primary leakage;Reference;Rp;Rs;S;Secondary Winding;Secondary leakage;Simulink-PS Converter;Solver Configuration;Step;SubSystem;Switch;Transformer (no hysteresis);Transformer (with hysteresis);Vin;Voltages;Vp

BLOCKTYPE:
Controlled Voltage Source;Current Sensor;Eddy Current;Electrical Reference;Electromagnetic Converter;From;Fundamental Reluctance;Goto;Inport;Magnetic Reference;Mux;Nonlinear Reluctance;PMIOPort;PS-Simulink Converter;Reluctance;Resistor;Scope;Simulink-PS Converter;Sin;Solver Configuration;Step;Switch;Voltage Sensor


MODELNAME: TriangleWaveGenerator
PATH: examples/simscapeelectrical/main/TriangleWaveGenerator.slx
DESCRIPTION: Triangle Wave Generator
BLOCKTYPE_FREQUENCY: 2;1;1;2;2;1;3;1;1;1;1;1;1
CHECKSUM: 02D149051714F2BA0F674793A35A137E
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Comparator Stage Triangle Wave Generator  1. Plot output voltage from each stage (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Integrator Stage Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
C;DC Voltage Source;ERef OpAmpI;ERef Source;Op-Amp Comparator;Op-Amp Integrator;PS-Simulink Converter;R;Reference;Scope;Simulink-PS Converter;Sine Wave;Solver Configuration;Variable Resistor;Voltage Sensor;Zener

BLOCKTYPE:
Band-Limited Op-Amp;Capacitor;DC Voltage Source;Diode;Electrical Reference;PS-Simulink Converter;Resistor;Scope;Simulink-PS Converter;Sin;Solver Configuration;Variable Resistor;Voltage Sensor


MODELNAME: TwelvePulseRectifier
PATH: examples/simscapeelectrical/main/TwelvePulseRectifier.slx
DESCRIPTION: Twelve-Pulse Thyristor Rectifier
BLOCKTYPE_FREQUENCY: 1;2;1;2;3;4;3;1;1;2;8;3;1;1;12;1;2;1;2;1;1;1;1
CHECKSUM: D827AB3FE02EA5BC073E930748332F59
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Twelve-Pulse Thyristor Rectifier  1. Plot voltage (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2015-2023 The MathWorks, Inc.

BLOCK:
+;-;1~;2~;Current Sensor;Demux;Electrical Reference;Firing angle;From;G;Gate driver D;Gate driver Y;Goto;Grounded Neutral;PS-Simulink Converter;Phase Voltage Sensor;R = 10 ohm L = 5 mH;Reference;S;Scope;Sensing Vdc;Sensing iabc;Sensing vabc;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Terminator;Three-phase PLL;Thyristor 12-Pulse Generator;Thyristor converter D;Thyristor converter Y;Voltage Sensor;Voltage Source 6000 V ph-ph;Wye-Delta11-Wye Transformer;~

BLOCKTYPE:
Constant;Converter (Three-Phase);Current Sensor (Three-Phase);Demux;Electrical Reference;From;Goto;Grounded Neutral (Three-Phase);Inductor;Inport;PMIOPort;PS-Simulink Converter;Phase Voltage Sensor (Three-Phase);Scope;Simulink-PS Converter;Sinusoidal Measurement (PLL, Three-Phase);Six-Pulse Gate Multiplexer;Solver Configuration;Terminator;Three-Winding Transformer (Three-Phase);Thyristor 12-Pulse Generator;Voltage Sensor;Voltage Source (Three-Phase)


MODELNAME: TwoBusLoadflow
PATH: examples/simscapeelectrical/main/TwoBusLoadflow.slx
DESCRIPTION: 2-Bus Loadflow
BLOCKTYPE_FREQUENCY: 2;6;3;1;1;1
CHECKSUM: 651425FC53F1BED387D882C5FE80B739
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
2-Bus Loadflow  1. Plot PV bus solution (see code) 2. Explore load flow results using the Load Flow Analyzer 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2016-2023 The MathWorks, Inc.

BLOCK:
Busbar;Electrical Reference;Load 90 MW 30 Mvar;PQ load 20MW 5Mvar;PV bus 80MW 1.025pu;Reference;Solver Configuration;Swing bus 1pu;Transmission Line

BLOCKTYPE:
Busbar;Electrical Reference;Load Flow Source;Solver Configuration;Transmission Line (Three-Phase);Wye-Connected Load


MODELNAME: TwoLevelPWMGenerator
PATH: examples/simscapeelectrical/main/TwoLevelPWMGenerator.slx
DESCRIPTION: Three-Phase Two-Level PWM Generator
BLOCKTYPE_FREQUENCY: 3;1;1;1;1;1;1;1;1;4;1;1;2;4;1;1;1;2;1;1;6;1;1;1;1;1;1
CHECKSUM: DB66AF260DB0F691322EB6F7695D2651
PRODUCT: MATLAB;Simscape;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Three-Phase Two-Level PWM Generator  1. Plot currents and voltages in RL load (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2014-2023 The MathWorks, Inc.

BLOCK:
3-ph Unit Sine Wave;Conn;Controller;Converter;Current Sensor;DC Voltage Source;Demux;Electrical Reference;From;G;Gate Driver;Goto;In;Manual Switch;Mod. Index;Modulation waveforms;Open Circuit;PS-Simulink Converter;PWM Generator (Three-phase, Two-level);Phase A Load Current;Product;RL;Rate Transition;Reference;Reference voltages;SPWM max. input;Selector;Sensing current;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Two-Level Controller;Vdc;Zero-Order Hold;g;other PWM max. input

BLOCKTYPE:
Constant;Converter (Three-Phase);Current Sensor (Three-Phase);DC Voltage Source;Demux;Electrical Reference;From;Gain;Goto;Inport;ManualSwitch;Open Circuit;Outport;PMIOPort;PS-Simulink Converter;PWM Generator (three-phase, two-level);Product;RateTransition;Scope;Selector;Simulink-PS Converter;Sin;Six-Pulse Gate Multiplexer;Solver Configuration;SpectrumAnalyzer;Wye-Connected Load;ZeroOrderHold


MODELNAME: TwoPhaseDCDCCurrent
PATH: examples/simscapeelectrical/main/TwoPhaseDCDCCurrent.slx
DESCRIPTION: Two-Phase DC-DC Converter Current Control
BLOCKTYPE_FREQUENCY: 1;2;1;2;4;1;2;1;2;14;2;3;10;1;2;1;2;1;1;2;2;4;1;1;2;2;4;1
CHECKSUM: E4E34619860FB838ACD0DD2F3408B298
PRODUCT: MATLAB;Simscape;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Two-Phase DC-DC Converter Current Control  1. Plot currents in inductors (see code) 2. Modify model parameters 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2022-2023 The MathWorks, Inc.

BLOCK:
Battery;Bus Element Out;Control;CurrentRef;Currents & voltages;DC;DC Voltage Source;DC-DC Phase;Data Type Conversion;Demux;Electrical Reference;From;G;GPhase;Gain;Gate driver phase;Goto;In Bus Element;Logical Operator;Mux;PID Controller;PS-Simulink Converter;PWM;PWM Generator;PWM phase;PWM phase2 180 degrees phase shift;Probe Phase;Rate Transition;Reference;Rload;S;Scopes;Simulink-PS Converter;Solver Configuration;SubSystem;Sum;Two-Pulse Gate Multiplexer;Unit Delay;Voltage Sensor;iLPhase;vBatt

BLOCKTYPE:
Battery;Bidirectional DC-DC Converter;DC Voltage Source;DataTypeConversion;Demux;Electrical Reference;From;Gain;Goto;Inport;Logic;Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;PWM Generator;RateTransition;Resistor;Scope;SimscapeProbe;Simulink-PS Converter;Solver Configuration;Step;Sum;Two-Pulse Gate Multiplexer;UnitDelay;Voltage Sensor


MODELNAME: TwoWayDCDCCurrentControl
PATH: examples/simscapeelectrical/main/TwoWayDCDCCurrentControl.slx
BLOCKTYPE_FREQUENCY: 1;1;1;1;3;2;1;1;7;2;1;3;5;1;1;1;2;2;3;1;2;1;1;1;1;3;1
CHECKSUM: B4A152503F2026952D1DA96C40CC00AD
PRODUCT: MATLAB;Simscape;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Bidirectional DC-DC Converter Current Control  1. Plot current in inductor (see code) 2. Gate control signals i) Modulation waveform ii) Subcycle averaging iii) PWM 3. Modify model parameters 4. Learn more about this example Copyright 2021-2023 The MathWorks, Inc.

BLOCK:
Battery;Bias;Bidirectional DC-DC Converter;Conn;Control;Current;CurrentRef;DC;DC Voltage Source;Data Type Conversion;Demux;Electrical Reference;G;Gain;Gate control;Gate driver;Gate signals;Logical Operator;Modulation waveform;Moving Average;Mux;PID Controller;PS-Simulink Converter;PWM;PWM Generator;Probe;Rate Transition;Reference;Simulink-PS Converter;Solver Configuration;SubSystem;Subcycle averaging;Sum;Two-Pulse Gate Multiplexer;Unit Delay;Voltage;Voltage Sensor;i

BLOCKTYPE:
Battery;Bias;Bidirectional DC-DC Converter;DC Voltage Source;DataTypeConversion;Demux;Electrical Reference;Gain;Inport;Logic;Moving Average;Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;PWM Generator;RateTransition;Scope;SimscapeProbe;Simulink-PS Converter;Solver Configuration;Step;Sum;Two-Pulse Gate Multiplexer;UnitDelay;Voltage Sensor


MODELNAME: TwoWheelerOnboardCharger
PATH: examples/simscapeelectrical/main/TwoWheelerOnboardCharger.slx
DESCRIPTION: On-Board Charger for Two-Wheeler Electric Vehicle
CHECKSUM: 6304D79494B664E5D4F3C6F6C0D772F1
PRODUCT_BASECODE: PS
ANNOTATION:
Grid Two-Wheeler Electric Vehicle On-Board Charger Measurement Panel Battery <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0//EN http://www.w3.org/TR/REC-html40/strict.dtd> <html><head><meta name=qrichtext content=1 /><style type=text/css> p, li { white-space: pre-wrap; } </style></head><body align=left style= font-family:Helvetica; font-size:10px; font-weight:400; font-style:normal;> Copyright 2022-2023 The MathWorks, Inc.  On-Board Charger for Two-Wheeler Electric Vehicle   1 Open charger configuration script (load data) 2. Configure DC-DC Converter : Switching, AverageSwitching, Average 3. Estimate loss and efficiency (see code) 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example

BLOCK:
+;-;AND;Abs;Average-Value DC-DC Converter;AvgConverter;AvgSwitchConverter;Battery (Table-Based);Bus Element In;C;Connection Label;Constant;Converter;Current Sensor;CurrentInput;CurrentReference;DC-DC Converter;DC-DC converter controller;DCDiode;DCOutput line Inductance;DCSiCS;Data Type Conversion;Delay;Demux;Diode;Display;DutyCycle;EV Battery;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;G;Gain;Gate;Gate Delay;Gate Logic;Gate drive;GatePulse;Goto;I;Ibat;In;Input_Supply;Integrator;Ki;Kp;L;Measured Voltage;Measured inductor current;Measurement lag;Mux;N;NOT;Number of cells in series ;Number of strings in parallel;O+;O-;Out;Out Bus Element;Output line Inductance;P;PI Voltage;PI current;PS Constant;PS-Simulink Converter;PWM;PWM Generator;Product;Rate Transition;Reference;SOC;Scope;Selector;Sensor dynamics;Si MOS Gate Turnon Delay;SiC Inverter;Simscape Component;Simulink-PS Converter;Solver Configuration;Source Voltage;SubSystem;Subtract;Sum;Supply Current;Switch;SwitchingConverter;TFRes;TPInductor;TPSiCMOSH;TPSiCMOSL;TPSiMOSH;TPSiMOSL;Temperature Source;Totem Pole Converter;TotemPoleController;Unit Delay;V;Vbat;Voltage Reference;Voltage Sensor;[0,0.5];i;v

BLOCKTYPE:
AC Voltage Source;Abs;Average-Value DC-DC Converter;Battery (Table-Based);Capacitor;ConnectionLabel;Constant;Current Sensor;Current-Controlled Current Source;DataTypeConversion;Delay;Demux;Diode;DisplayBlock;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Gain;Goto;Inductor;Inport;InportShadow;Integrator;Logic;MOSFET (Ideal, Switching);Mux;Outport;PID 1dof;PMIOPort;PS Constant;PS-Simulink Converter;PWM Generator;Product;RateTransition;Resistor;Saturate;Scope;Selector;SimscapeComponentBlock;Simulink-PS Converter;Solver Configuration;SpectrumAnalyzer;Sum;Switch;Temperature Source;TransferFcn;UnitDelay;Voltage Sensor;Voltage-Controlled Voltage Source

BLOCKTYPE_FREQUENCY:
1;2;1;1;1;10;10;4;1;3;2;2;4;3;3;1;1;17;10;13;3;20;1;2;3;8;3;20;2;43;1;8;5;1;8;4;2;1;1;2;12;1;1;13;1;2;7;2;3;1

PRODUCT:
MATLAB;Simscape;Simscape;Simscape;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink


MODELNAME: UltracapacitorConverter
PATH: examples/simscapeelectrical/main/UltracapacitorConverter.slx
DESCRIPTION: Ultracapacitor with Converter
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;2;1;1;3;9;2;2;2;1;1;1;1;2
CHECKSUM: DCEAD36EBB8B2F30FEA1502474C7B6BF
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Ultracapacitor with Converter  1. Plot voltages and currents in circuit (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2012-2023 The MathWorks, Inc.

BLOCK:
+;-;1+;1-;2+;2-;Closed if Vload>Vref;Closed if Vs>4V;Controlled Voltage Source;DC-DC Converter;Demux;Diode;ERef Load;ERef UC;En;Enable;Generator;Load;Low Charge Protection Circuit;Mux;PS-Simulink Converter;Reference;Resistor;Sensing Vl;Sensing Vs;Simulink-PS Converter;Solver Configuration;SubSystem;Ultra- capacitor;V;Vl;Vload sensor;Voltages;Vs;Vs sensor

BLOCKTYPE:
Capacitor;Controlled Voltage Source;DC-DC Converter;Demux;Diode;Electrical Reference;Inport;Mux;Outport;PMIOPort;PS-Simulink Converter;Resistor;SPST Switch;Scope;Simulink-PS Converter;Solver Configuration;Step;Voltage Sensor


MODELNAME: UnipolarStepper
PATH: examples/simscapeelectrical/main/UnipolarStepper.slx
DESCRIPTION: Unipolar Stepper Motor with Control
BLOCKTYPE_FREQUENCY: 2;1;1;5;1;8;7;1;10;2;5;22;4;1;1;1;1;2;1;2;1;3;2;1;4;1;1;3;1;1;2;2
CHECKSUM: 68B39F8E33D712F9F5E61A70C5BD86F9
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
The reference input defines the required angular position in terms of the number steps. For this stepper, the step size is 1.8 degrees. Hence a demand of 10 steps results in an angle change of 18 degrees. The step rate is set by the Pulse Generators Pulse rate mask parameter. Position Controller The speed controller turns the reference input into an absolute voltage demand for the voltage-controlled pulse generator and sets the reverse flag signal to +5 volts when the speed demand is negative. Step rate and direction algorithm implemented on a microprocessor or dedicated discrete chip Unipolar Stepper Motor with Control  1. Plot angular speed of motor shaft (see code) 2. Plot voltages of stepper motor driver pins (see code) 3. Configure stepper controller: Speed, Position 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
-;0v;2*pi;Abs;Algorithm and Pulse Generation;Compare To Constant;Constant;Controlled Voltage Source;Controller;Data Type Conversion;Demand;ERef;Electrical Reference;Gain;IC Analog Output REV;IC Analog Output Vref;Logic2Volts;MRRef;MRRef Motor;Max step rate 100/s;Max step rate =;Meas ;Motion Sensor;Normalize to ;PS Integrator;PS Sign;PS Sine;PS-Simulink Converter;PWM;Position;Product;Pulse Generator;Pulse demand;Pulse direction;Pulse train;R;REV;Rate Transition;Ref;Reference;SL;Saturation;Sensing Angle;Shaft Angle;Shaft Free End;Sign;Simulink-PS Converter;Solver Configuration;Speed;Step Rate and Direction;StepRate2Volts;SubSystem;Sum;Unipolar Stepper Motor;Unipolar Stepper Motor Driver;Unit Delay, sample time 1/2*f);Unit Delay, sample time 1/f;V;Voltage Sensor;Voltage-Controlled Pulse Generator;Vref;[0,1];deg;logic2volts;p;theta

BLOCKTYPE:
Abs;Compare To Constant;Constant;Controlled Voltage Source;DataTypeConversion;Electrical Reference;Gain;Ideal Rotational Motion Sensor;Inport;Mechanical Rotational Reference;Outport;PMIOPort;PS Gain;PS Integrator;PS Math Function;PS Saturation;PS Sign;PS-Simulink Converter;Product;RateTransition;Rotational Free End;Saturate;Scope;Signum;Simulink-PS Converter;Solver Configuration;Step;Sum;Unipolar Stepper Motor;Unipolar Stepper Motor Driver;UnitDelay;Voltage Sensor


MODELNAME: UnipolarStepperAveraged
PATH: examples/simscapeelectrical/main/UnipolarStepperAveraged.slx
DESCRIPTION: Unipolar Stepper Motor Averaged Mode
BLOCKTYPE_FREQUENCY: 2;1;1;5;1;7;4;1;1;6;3;3;18;4;1;1;1;1;3;1;1;2;1;5;1;1;1;1;2
CHECKSUM: 983CBA2F46C6E8ECC41AFBFE675AFBD3
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Speed Controller The speed controller turns the reference input into an absolute voltage demand for the voltage-controlled pulse generator and sets the reverse flag signal to +5 volts when the speed demand is negative. Unipolar Stepper Motor Averaged Mode  1. Plot angle and speed of shaft (see code) 2. Configure simulation mode: Average, Stepped (see code) 3. Set inertial load: Overload, Nominal 4. Compare simulation modes (see code) 5. Explore simulation results using Simscape Results Explorer 6. Learn more about this example Copyright 2008-2023 The MathWorks, Inc.

BLOCK:
#;-5V;0v;1/step angle;2*pi;Abs;Analog Voltage-Controlled Pulse Generator;Average;Clock;Compare To Constant;Control;Controlled Voltage Source;Controlled Voltage Source ENA;Controlled Voltage Source REV;Controller;Damper;Data Type Conversion;ENA;ENA or step rate;ERef;ERef ENA;ERef REV;IC Analog Output ;Inertia;Logic2Volts;MRRef;MRRef Load;MRRef Motor;Max step rate;Meas ;Motion Sensor;Normalize to ;PS Product;PS Sign;PS Sine;PS-Simulink Converter;R;REF;REV;Ref;Reference;Results;SL;Sensor;Sign;Simulink-PS Converter;Solver Configuration;Step rate demand;StepRate2Volts;Stepped;SubSystem;Unipolar Stepper Motor;Unipolar Stepper Motor Driver;V;Voltage Sensor;Vref;[0,1];deg;logic2volts;rpm;w

BLOCKTYPE:
Abs;Clock;Compare To Constant;Controlled Voltage Source;DataTypeConversion;Electrical Reference;Gain;Ideal Rotational Motion Sensor;Inertia;Inport;Mechanical Rotational Reference;Outport;PMIOPort;PS Gain;PS Math Function;PS Product;PS Saturation;PS Sign;PS-Simulink Converter;Rotational Damper;Saturate;Scope;Signum;Simulink-PS Converter;Solver Configuration;Step;Unipolar Stepper Motor;Unipolar Stepper Motor Driver;Voltage Sensor


MODELNAME: VCOPiControl
PATH: examples/simscapeelectrical/main/VCOPiControl.slx
DESCRIPTION: Voltage-Controlled Oscillator with PI Control
BLOCKTYPE_FREQUENCY: 1;2;1;1;1;2;3;2;2;4;1;3;4;1;1;2;1;1;1;2;1;2
CHECKSUM: 03B88680C966A9B7F41BE892F2C09CAE
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
The combination of the ABS function and the low-pass filter results in controlling average voltage at DC. The peak-to-peak output voltage is not directly controlled, but is a stable function of the DC set point. Voltage-Controlled Oscillator with PI Control  1. Plot output voltage (see code) 2. Explore simulation results using Simscape Results Explorer 3. Learn more about this example Copyright 2004-2023 The MathWorks, Inc.

BLOCK:
+;Abs;Average magnitude;C;Controlled Current Source;D;ERef;ERef Device;Frequency set -5V;I Gain;Integrator;L;Low-pass filter;Output;P gain;P+I controller;PS Product;PS-Simulink;R;Reference;Simulink-PS Converter;Solver Configuration;SubSystem;Sum;Varactor;Variable Transconductance Device;Vin;Voltage Sensor;Voltage sensor;common;gm;gnd;r;u;v;y

BLOCKTYPE:
Abs;Capacitor;Constant;Controlled Current Source;DC Voltage Source;Diode;Electrical Reference;Gain;Inductor;Inport;Integrator;Outport;PMIOPort;PS Product;PS-Simulink Converter;Resistor;Scope;Simulink-PS Converter;Solver Configuration;Sum;TransferFcn;Voltage Sensor


MODELNAME: VSCFLB
PATH: examples/simscapeelectrical/main/VSCFLB.slx
DESCRIPTION: Three-Phase Voltage-Sourced Converter (FLB)
BLOCKTYPE_FREQUENCY: 6;1;13;1;1;1;1;6;4;1;2;8;2;4;1;3;3;2;1;12;5;2;2;1;4;1;4;6;1;1;5;6;2;1
CHECKSUM: F7327DB656B6B03CBCCD1DA8A6202C3B
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Pulse is centered within PWM period Resetting counter Three-Phase Voltage-Sourced Converter (FLB)  1. Plot currents (see code) 2. Choose between Detailed and Equivalent converter models. 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
+;-;1/n_pulse;2*pi;3/(2*pi);AC currents (A);Bias;C;Conn;Constant;Converter;Count;Counter that resets every AC cycle;Current Sensor/;DC Voltage Source;DC supply current (A);Data Type Conversion;Demux;Electrical Reference;Fixed low-side bias modulation;From;G;Goto;L;Logical Operator;M;Math Function;Modulation waveform (A-phase);Modulation waveform (B-phase);Modulation waveform (C-phase);Multiport Switch;Mux;N_reset/;No of cycles for reset/;No of cycles for rest;Open Circuit;P;PS-Simulink Converter/;Phase offset;Product;Pulse;Pulse on-times;Pulses;Reference;Relational Operator;Resistor;S1PS;S2PS;S3PS;S4PS;S5PS;S6PS;Scopes;Sensing current;Sensing currents abc;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Sum;Trigonometric Function;Unit Delay, sample time 1/f;Wye-Connected Load;aH;aL;bH;bL;cH;cL;frac;u

BLOCKTYPE:
Bias;Capacitor;Constant;Converter (Three-Phase);Current Sensor;Current Sensor (Three-Phase);DC Voltage Source;DataTypeConversion;Demux;Electrical Reference;From;Gain;Goto;Inport;Logic;Math;MultiPortSwitch;Mux;Open Circuit;Outport;PMIOPort;PS-Simulink Converter;Product;RLC (Three-Phase);RelationalOperator;Resistor;Scope;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sum;Trigonometry;UnitDelay;Wye-Connected Load


MODELNAME: VSCSinusoidalPWM
PATH: examples/simscapeelectrical/main/VSCSinusoidalPWM.slx
DESCRIPTION: Three-Phase Voltage-Sourced Converter (SPWM)
BLOCKTYPE_FREQUENCY: 1;1;1;5;1;1;1;1;2;2;1;1;3;4;1;1;1;1;4;6;2;1;2;1;1;3;6;1;1;2;2;1;1
CHECKSUM: EBAF3ACA7C35A3B5F50E5BB8A8949BC9
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Three-Phase Voltage-Sourced Converter (SPWM)  1. Plot currents (see code) 2. Choose between Detailed and Equivalent converter models 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
+;-;AC currents (A);Abs;C;Compare To Constant;Conn;Constant;Converter;Current Sensor/;DC Voltage Source;DC supply current (A);Data Type Conversion;Demux;Discrete-Time Integrator;Discrete-time repeating ramp generator;Electrical Reference;G;Gate assignment;L;Lookup Table;Math Function;Mux;Nominal angular frequency;Open Circuit;P;PS-Simulink Converter/;Phase demand;Phase offsets;Pulses;R;Reference;Relational Operator;S1PS;S2PS;S3PS;S4PS;S5PS;S6PS;SPWM modulation;Sensing current;Sensing currents abc;Set sign;Six-Pulse Gate Multiplexer;Solver Configuration;SubSystem;Sum;Triangle frequency multiplier;Triangle wave modulation;Trigonometric Function;Wye-Connected Load;deadband;minus;pulse;sine;tri_wave;u;y

BLOCKTYPE:
Abs;Capacitor;Compare To Constant;Constant;Converter (Three-Phase);Current Sensor;Current Sensor (Three-Phase);DC Voltage Source;DataTypeConversion;Demux;DiscreteIntegrator;Electrical Reference;Gain;Inport;Lookup;Math;Mux;Open Circuit;Outport;PMIOPort;PS-Simulink Converter;RLC (Three-Phase);RelationalOperator;Resistor;SPWM;Scope;Simulink-PS Converter;Six-Pulse Gate Multiplexer;Solver Configuration;Sum;Switch;Trigonometry;Wye-Connected Load


MODELNAME: ViennaRectifierControl
PATH: examples/simscapeelectrical/main/ViennaRectifierControl.slx
DESCRIPTION: Vienna Rectifier Control
BLOCKTYPE_FREQUENCY: 2;4;2;1;2;18;1;26;8;14;1;3;1;2;4;4;4;10;4;1;2;1;1;1;3;1;2;3;5;1;1;3;9;1;3;2;1;3
CHECKSUM: 38DB46E1950CC75EFAA63C34571B94A9
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Vienna Rectifier Control  1. Plot voltage (see code) 2. Explore simulation results using Simscape Results Explorer 3. Modify model parameters 4. Learn more about this example Copyright 2013-2023 The MathWorks, Inc.

BLOCK:
;+;-;-> p.u. v;208 V ph-ph 60 Hz;C;Constant;Control;Current Sensor;Da;Db;Dc;Demux;Divide;Dsa;Dsb;Dsc;Electrical Reference;Enable Output;Engage Vienna rectifier @ 0.1s;From;G;Gain;Goto;Grounded Neutral;Hz -> rad/s;Input inductor;Inverse Park Transform;Load;Load Step up@0.4s;Load Step up@0.6s;Measurements;Mux;Neutral point controller;PS-Simulink Converter;PWM Generator (Vienna Rectifier);Park Transform;Phase Splitter;Phase Voltage Sensor;Power;Reference;Scope;Scopes;Selector;Sensing Vc;Simulink-PS Converter;Solver Configuration;SubSystem;Subtract;Sum;Sum of Elements;Ta;Tb;Tc;Terminator;Three-Phase Power Measurement;Three-Phase Sinusoidal Measurement (PLL);Unit Delay;VI sensors;Vdc Filter;Vdc PI;Vdc*;Vienna rectifier;Voltage Sensor;Zero-Order Hold;d-axis current PI;d-axis current filter;d-axis voltage filter;i_q*;p.u. --> SI;p.u. --> SI ;q-axis current PI;q-axis current filter;to kW & kVAr;to kW & kVAr ;~

BLOCKTYPE:
Capacitor;Constant;Controlled Current Source;Current Sensor (Three-Phase);Demux;Diode;Electrical Reference;From;Gain;Goto;Grounded Neutral (Three-Phase);IGBT (Ideal, Switching);Inport;Inverse Park Transform;Low-Pass Filter (Discrete or Continuous);Mux;PID 1dof;PMIOPort;PS-Simulink Converter;PWM Generator (Vienna Rectifier);Park Transform;Phase Splitter;Phase Voltage Sensor (Three-Phase);Power Measurement (Three-Phase);Product;RLC (Three-Phase);Scope;Selector;Simulink-PS Converter;Sinusoidal Measurement (PLL, Three-Phase);Solver Configuration;Step;Sum;Terminator;UnitDelay;Voltage Sensor;Voltage Source (Three-Phase);ZeroOrderHold


MODELNAME: VoltageComparatorFromSPICE
PATH: examples/simscapeelectrical/main/VoltageComparatorFromSPICE.slx
DESCRIPTION: CMOS Voltage Comparator
BLOCKTYPE_FREQUENCY: 1;1;1;2;1;7;1;1;1;1;6;1;5;3;1;1;1;1;1
CHECKSUM: B24426CDD1D415842BADEFA69D4F3D5A
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
SPICE Conversion of a CMOS Voltage Comparator  1. Characteristics: Define Sweep Parameters, Plot DC AC simulation results (see code). 2. SPICE subcircuit to Simscape component (see convertion code), (see SPICE netlist), (see ssc). 3. Simulation verification, (see code). 4. Explore simulation results using Simscape Results Explorer 5. Learn more about this example Copyright 2019-2023 The MathWorks, Inc.

BLOCK:
CMOS COMPARATOR;Capacitor;Controlled Voltage Source;DC Current Source;DC Voltage Source;Define Sweep Parameters;ERef;Electrical Reference;From;Goto;M;PS-Simulink;Reference;Scope;Simulink-PS Converter;Sinusoidal Voltage Source;Solver Configuration;SubSystem;V;VDD;VN;VOUT;VP;VSS;Voltage Sensor;Vout;u;y

BLOCKTYPE:
Capacitor;Controlled Voltage Source;DC Current Source;DC Voltage Source;Define Sweep Parameters;Electrical Reference;From;Goto;Inport;Outport;PMIOPort;PS-Simulink Converter;SPICE NMOS;SPICE PMOS;Scope;Simulink-PS Converter;Sinusoidal Voltage Source;Solver Configuration;Voltage Sensor


MODELNAME: VoltageComparatorFromSPICETestHarness
PATH: examples/simscapeelectrical/main/VoltageComparatorFromSPICETestHarness.slx
ANNOTATION: Copyright 2019-2023 The MathWorks, Inc.
BLOCK: CVS;Comparator;Config;Cout;PSSim;Reference;SimPS;VDD;VSS;Vin;Vout;in;out;ref
BLOCKTYPE_FREQUENCY: 1;1;2;5;1;1;1;1;1;1;1;1
CHECKSUM: B35142FE1B0DDD59AB3F192A538BE284
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCKTYPE:
Capacitor;Controlled Voltage Source;DC Voltage Source;Electrical Reference;Inport;Outport;PS-Simulink Converter;Simulink-PS Converter;Sinusoidal Voltage Source;Solver Configuration;Voltage Sensor;comparator1


MODELNAME: VoltageSourceConverterHVDCTrans
PATH: examples/simscapeelectrical/main/VoltageSourceConverterHVDCTrans.slx
CHECKSUM: 9AFE65C601000B05382B01259F370649
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 1. Plot results (see code) 2. Explore simulation results using sscexplore 3. Modify model parameters 4. Modify level of fidelity i) Low ii) Medium iii) High 5. Initialize model using Simscape operating point (see code) 6. Learn more about this example High Voltage Direct Current (HVDC) Transmission Using Voltage Source Converter (VSC)  Copyright 2023 The MathWorks, Inc.

BLOCK:
;+;+in;+out;-;-in;-out;Active and reactive power control;Add;AlphaBeta;Average-value VSC;Bus Creator;BusElementIn;Cfnr;Cfns;Cfpr;Cfps;Clarke;Cnr;Cns;Constant;Control;Cpr;Cps;Current Sensor;Current and Voltage Sensor (Three-Phase);Current control;DC voltage and reactive power control;Demux;Discrete-Time Integrator;Divide;Electrical Reference;Frequency-and-time mode;From;G;Gain;Gain2 ;Gate;Goto;Hz -> p.u.;Iabcg;IabcgR;IabcgS;Iabcr;IabcrR;IabcrS;Id;Inverse Clarke Transform;Inverse Park Transform;Iq;K;Lfnr;Lfns;Lfpr;Lfps;Lfr;Lfs;Math Function;Measurements;Mux;P;P PI;PID Controller;PQ Calculation;PS-Simulink Converter;PWM Generator (Three-phase, Three-level);Park transform;Phase;Phase calculation;Pmea;Pref;PrefS;Product;Q;Q PI;Qmea;Qref;QrefR;QrefS;Rate Limiter;Rate Transition;Receiving end AC Filter;Receiving end AC Grid;Receiving end Converter;Receiving end DC filter;Receiving end Reactor;Receiving end Transformer;Receiving end control;Receiving end vi;Receiving-end Control;Reference;S;Scope;Scopes;Selector;Sending end AC Filter;Sending end AC Grid;Sending end Converter;Sending end DC filter;Sending end Reactor;Sending end Transformer;Sending end and receiving end control;Sending end control;Sending end vi;Sensing current;Simulink-PS Converter;Solver Configuration;Sqrt;Sr;Ss;Step;SubSystem;Sum;Sum of Elements;Switching VSC;Terminator;Three-Level Converter (Three-Phase);Three-phase PLL;Time mode;Transmission Line;Trigonometric Function;Twelve-Pulse Gate Multiplexer;Unit Delay;Vabcg;VabcgR;VabcgS;Variant Source;Vd;VdcRef;Vdcn;Vdcn Filter;VdcnF;VdcnR;VdcnS;Vdcp;Vdcp Filter;VdcpF;VdcpR;VdcpS;Vdg;Voltage Sensor;abc;alpha;beta;d-axis current PI;d-axis current filter;d-axis voltage filter;i;idRef;idg;idgRef;idr;iqRef;iqg;iqgRef;iqr;mDC;mREndCon;mSEndCon;omega;q-axis current PI;q-axis current filter;theta;v;~

BLOCKTYPE:
Average-Value Voltage Source Converter (Three-Phase);BusCreator;Capacitor;Constant;Current Sensor;Current and Voltage Sensor (Three-Phase);Demux;DiscreteIntegrator;Electrical Reference;Fcn;From;Gain;Goto;Inductor;Inport;Inverse Clarke Transform;Inverse Park Transform;Low-Pass Filter (Discrete or Continuous);Math;Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;PWM Generator (three-phase, three-level);Park Transform;Passive Harmonic Filter (Three-Phase);Product;RLC (Three-Phase);RateLimiter;RateTransition;Scope;Selector;Simulink-PS Converter;Sinusoidal Measurement (PLL, Three-Phase);Solver Configuration;Sqrt;Step;Sum;Terminator;Three-Level Converter (Three-Phase);Transmission Line;Trigonometry;Twelve-Pulse Gate Multiplexer;Two-Winding Transformer (Three-Phase);UnitDelay;VariantSource;Voltage Sensor;Voltage Source (Three-Phase)

BLOCKTYPE_FREQUENCY:
2;8;8;8;4;4;10;2;10;24;20;70;16;6;238;8;4;14;2;20;112;13;60;16;2;12;2;30;2;3;20;3;14;26;2;1;2;3;45;4;2;2;2;2;2;27;2;4;2


MODELNAME: VoltageStabilizer
PATH: examples/simscapeelectrical/main/VoltageStabilizer.slx
BLOCKTYPE_FREQUENCY: 1;2;2;1;1;4;2;1;1;5;5;3;2;8;1;3;5;1;11;4;3;3;1;1;1;5;1;1;1;2;2;1;1;4
CHECKSUM: 379935572636F851845CDACEFB030AD7
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Copyright 2022-2023 The MathWorks, Inc. Voltage stabilizer  1 Plot Voltages (see code) 2. Open model workspace to explore parameters 3. Explore simulation results using Simscape Results Explorer 4. Learn more about this example

BLOCK:
+;-;Bias;Buck-Boost Transformer;Buck-Boost Transformer sensor;C Inverter;C Rectifier;Controlled Voltage Source;Demux;Diode;Discrete PID Controller;Divide;Electrical Reference ;Feedback Controller;Four-Pulse Gate Multiplexer;From;G;Gain;Gate driver;Goto;Input Voltage;Input voltage;L Inverter;L Load;Line Voltage sensor;Load Voltage sensor;Mux;PS-Simulink Converter;R Load;RMS Measurement;Range [0,1];Rectified voltage sensor;Reference;S;Scope;Signal Editor;Simulink-PS Converter;Sin;Sine Wave;Single-phase inverter;Sinusoidal Measurement (PLL);Solver Configuration;SubSystem;Sum;Terminator;Unit Delay;VBB;VLoad;Vin;VinGoto;Visualization;Vload;VloadGoTo;Voltage Sensor;Vrec;u;y

BLOCKTYPE:
Bias;Capacitor;Constant;Controlled Voltage Source;Demux;Diode;Electrical Reference;Four-Pulse Gate Multiplexer;Four-Quadrant Chopper;From;Gain;Goto;Inductor;Inport;Mutual Inductor;Mux;Outport;PID 1dof;PMIOPort;PS-Simulink Converter;Product;RMS Measurement;Resistor;Scope;SignalEditor;Simulink-PS Converter;Sin;Sinusoidal Measurement (PLL);Solver Configuration;Sum;Terminator;Trigonometry;UnitDelay;Voltage Sensor


MODELNAME: ACDCACConverter
PATH: examples/simscapeelectricalsps/main/ACDCACConverter.slx
BLOCKTYPE_FREQUENCY: 1;5;1;1;1;1;2;5;1;1;1;1;1;1;3;1;1
CHECKSUM: 2D55E635052270D2A2D9C20F00B891F4
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
AC-DC-AC Converter Filter  AC-DC-AC Converter  This example shows the operation of an AC-DC-AC converter to feed a 50 Hz, 50 kW load from a 60Hz 600V source. Learn more about this example. 

BLOCK:
2 mH ;25 kV, 60 Hz 10 MVA;25kV / 600V 50 kVA;3 kvar;50 kW 380 V rms 50 Hz;C;Constant;From;Grid Scope;Inverter;L;Load Scope;Multimeter;PWM Generator (2-Level - 4 pulses);Rectifier;Reference;Selector;grid;inv;load;powergui

BLOCKTYPE:
Constant;From;Multimeter;PSB option menu block;PWM Generator (2-Level);Parallel RLC Branch;Scope;Selector;Series RLC Branch;Three-Phase Parallel RLC Load;Three-Phase Series RLC Branch;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Two-Level Converter;Universal Bridge


MODELNAME: ActiveHarmonicFilter
PATH: examples/simscapeelectricalsps/main/ActiveHarmonicFilter.slx
ANNOTATION: Three-Phase Active Harmonic Filter
BLOCKTYPE_FREQUENCY: 3;1;3;2;1;2;1;12;9;12;1;12;6;4;3;6;6;1;1;8;1;6;6;3;2;1;10;1;2;2;5;1;2;2;3;1;3
CHECKSUM: D349E275495ECDE748F5B0B579987737
PRODUCT: MATLAB;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
BLOCK:
A;AC Voltage Source;Abs;B;C;Constant;Controlled Current Source;Current Measurement;Demux;Fcn;From;Gain;Goto;Ground;IGBT Inverter;Integrator;Iref;Iref_Isource;Isource_Iload;Laf;Load;Load Bus;Ls;Math Function;Measurements;Mux;PLL;Product;RMS;Reference;Relay;Selector;Shunt active harmonic filter;Step;SubSystem;Sum;Sum of Elements;T;Three-Phase Breaker;Three-Phase Transformer (Two Windings);Three-Phase V-I Measurement;Trigonometric Function;Unit Delay;Variable Transport Delay;Vdc;Voltage Measurement;Vs abc;a;adaptive filter;adaptive mean;b;c;freq (Hz);freq (pu);g;hysterisis;imeas;in;info;integ;integrator;iref;powergui;responses;rms;signal;u;vt (pu);w;y

BLOCKTYPE:
AC Voltage Source;Abs;Constant;Controlled Current Source;Current Measurement;Demux;Fcn;From;Gain;Goto;Ground;Inport;Integrator;Math;Mux;Outport;PMIOPort;PSB option menu block;Parallel Active Filter;Product;RMS;Relay;Scope;Selector;Series RLC Branch;Step;Sum;Three-Phase Breaker;Three-Phase Series RLC Branch;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;TransportDelay;Trigonometry;UnitDelay;Universal Bridge;VariableTransportDelay;Voltage Measurement


MODELNAME: AircraftPowerDistribution
PATH: examples/simscapeelectricalsps/main/AircraftPowerDistribution.slx
BLOCKTYPE_FREQUENCY: 1;6;4;9;1;1;5;5;6;1;11;2;15;22;1;4;4;3;14;1;75;1;1;6;1;4;6;5;1;1;1;1;14;1;2;1;5;2;1;1
CHECKSUM: AD2BAAD60A1E539FF8AEF1B62229DF55
PRODUCT: MATLAB;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
AC Load AC Load AC Load DC Load DC Load DC Load Primary Distribution Secondary Distribution Aircraft Electrical Power Generation & Distribution System

BLOCK:
+;-;A;AC Induction Motor;AC Load : 1 kW Lamp;AC Load : 12 kVA induction motor driving hydraulic pump;AC Load : 2 kW Brushless motor driving a ballscrew actuator;Activate Primary Contactor;B;Breaker trip;Bus Selector;C;Compare To Constant;Con;Constant;Contactor;Conv.;Ctrl;Current Measurement;DC Load : Brush Motor driving a fuel pump;DC Load : Heater;DC Load : Lamp;DC Machine;Data Type Conversion;Demux;Display;Excitation System;Field voltage;Frequency (Hz);GLC;GLC control;Gain;Generator Control Unit (GCU);Ground;I;Iabc;Ideal Switch;Integrator;Lamp 1000 Watts;Line inductor;Logical Operator;Manual;Mechanical engine (turbine);Mechanical power;Mechanical speed;Memory;More Info;Mux;N;P.O.R and CTA;PM Synchronous Motor Drive;PMG;PU_SI;Power Generation: 50 kVA synchronous generator;Primary Distribution (measurements & main contactor);Product;Rad_Rpm;Rate Transition;Reference;Relay;S-R Flip-Flop;SI_PU;Scope;Secondary Distribution (circuit breakers);Series RLC Branch;Simplified Synchronous Machine SI Units;Speed;Speed (RPM);Step;SubSystem;Tem;Terminator;Three-Phase Transformer (Three Windings);Transformer and Rectifier Unit (TRU): 28 Vdc, 4 kW;Trip;Universal Bridge;Vabc;Voltage Measurement;Vref;a;abc to dq;b;c;com;current sensing;demux;fieldvoltage;i_a;in_a;in_b;in_c;measure current to simulate fuse operation;motor;out_a;out_b;out_c;parasitic resistive load;powergui;rpm2rads;speed;threshold;torque proportional to speed;v_dc;voltage sensing

BLOCKTYPE:
Asynchronous Machine;BusSelector;Compare To Constant;Constant;Current Measurement;DC machine;DataTypeConversion;Demux;Display;Excitation System;Gain;Ground;Ideal Switch;Inport;Integrator;Logic;Memory;Mux;Outport;PM Synchronous Motor Drive;PMIOPort;PSB option menu block;Product;RateTransition;Relay;SRFlipFlop;Scope;Series RLC Branch;SignalEditor;Simplified Synchronous Machine;Stair Generator;Step;Terminator;Three-Phase Series RLC Branch;Three-Phase Series RLC Load;Three-Phase Transformer (Three Windings);Three-Phase VI Measurement;Universal Bridge;Voltage Measurement;abc to dq0 Transformation


MODELNAME: ArcModels
PATH: examples/simscapeelectricalsps/main/ArcModels.slx
ANNOTATION: Cassie and Mayr Arc Models for a Circuit Breaker
BLOCKTYPE_FREQUENCY: 2;1;2;2;2;4;2;6;2;6;4;1;4;4;4;1;2;2;8;2;2;4
CHECKSUM: 6360553DC8E9B138CB88190C31E51421
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
-i;AC Voltage Source;B.A.L;Cassie arc model;Controlled Current Source;Current Measurement;DEE;Gain;Ground;Hit Crossing;In;Info;Integ;Integrator;Mayr arc model;Mux;Out;Parallel RLC Branch;Port;Reference;Series RLC Branch;Step;SubSystem;Sum;SysInport;SysMux;Voltage Measurement;current;output Ground;powergui;u;voltage;x;y

BLOCKTYPE:
AC Voltage Source;Cassie arc model;Controlled Current Source;Current Measurement;Differential Equation Editor (DEE);Fcn;Gain;Ground;HitCross;Inport;Integrator;Mayr arc model;Mux;Outport;PMIOPort;PSB option menu block;Parallel RLC Branch;Scope;Series RLC Branch;Step;Sum;Voltage Measurement


MODELNAME: AutoTransformer
PATH: examples/simscapeelectricalsps/main/AutoTransformer.slx
BLOCKTYPE_FREQUENCY: 1;3;3;1;1;4;12;6;5;2;2;4;2;3;12;1;2;3;1;2;4;1;1;1;1;1
CHECKSUM: EECF72BF60ECE26FD407EF808F466A2E
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Frequency Dependent line line model yielding an accurate resistance for both AC and DC phenomena  Distributed Parameter line (Fixed RLC parameters @ 60 Hz) Note:in order to get correct DC ground return resistance r0 must be set equal to r1   Autotransformer 1650 MVA 735/315/12.5 kV 3 single-phase units  2000 MW Generation Geomagnetically induced currents (GICs) in transmission line  Impact of GIC on Autotransformer Saturation  Generation Transformer 5x400 MVA 13.8/735 kV 3 -limb cores   This example illustrates the impact of Geomagnetic Induced Currents (GIC) on autotransformer saturation. Learn more about this example. 

BLOCK:
13.8 kV 1000MVA;300 MW 315 kV;A;B;C;DC Voltage Source;DPL 735-kV 200 km;FD 735-kV 200 km;Fluxa_T1_T2_DC (pu);Fourier;From;Gain;Goto;Ground;Iabc_B2_DC (A);In;Mean;Multimeter;Mux;Phia_T1_T2_DC (pu);Product;Q_T1_T2 (Mvar) ;Reference;Rg;Scope;Selector;SubSystem;Subsystem;Sum;T;Transmission line;Vdc;a+;b;c ;i;o;powergui

BLOCKTYPE:
Current Measurement;DC Voltage Source;Display;Distributed Parameters Line;Distributed Parameters Line Frequency Dependent;Fourier;From;Gain;Goto;Ground;Mean;Multimeter;Mux;Outport;PMIOPort;PSB option menu block;Product;Scope;Selector;Series RLC Branch;Sum;Three-Phase Autotransformer with Tertiary Winding;Three-Phase Parallel RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement


MODELNAME: BatteryAging
PATH: examples/simscapeelectricalsps/main/BatteryAging.slx
ANNOTATION: 12.8 V, 40 Ah, Lithium-Ion (LiFePO4) Battery Aging Model (1000 h Simulation)
BLOCKTYPE_FREQUENCY: 1;2;2;1;1;1;9;1;3;1;1;1;1;1;2;1
CHECKSUM: 944F2E729607B331E533B24D3A0CFD9E
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
 Demux ; SFunction ; Terminator ;Ambient temperature (deg. C);Battery;Bus Selector;Charge current;Controlled Current Source;Current;Cycles generator;DOD*;Deph-of-discharge (DOD);Discharge current;Fcn;Icharge;Icharge*;Idis;Idis*;MATLAB Function;Memory;More Info;Rate Limiter;Reference;SOC;SOCmin;Saturation;Scope;State;Stateprev;SubSystem;ibatt;powergui

BLOCKTYPE:
Battery;BusSelector;Constant;Controlled Current Source;Demux;Fcn;Inport;Memory;Outport;PSB option menu block;RateLimiter;S-Function;Saturate;Scope;Stair Generator;Terminator


MODELNAME: BatteryNiMH
PATH: examples/simscapeelectricalsps/main/BatteryNiMH.slx
ANNOTATION: Ni-MH Battery Model
BLOCKTYPE_FREQUENCY: 1;2;1;1;1;1;1;1;1;1
CHECKSUM: 58334C096615F7471AFD6C34AF8DECA2
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
200 volts, 6.5 Ah Ni-MH battery ;Bus Selector;Constant;Controlled Current Source;DC Machine;Gain;More Info;Rate Limiter;Reference;Relay;Scope;SubSystem;powergui

BLOCKTYPE:
Battery;BusSelector;Constant;Controlled Current Source;DC machine;Gain;PSB option menu block;RateLimiter;Relay;Scope


MODELNAME: BatteryTemperatureDependent
PATH: examples/simscapeelectricalsps/main/BatteryTemperatureDependent.slx
ANNOTATION: Lithium-Ion Temperature Dependent Battery Model
BLOCKTYPE_FREQUENCY: 2;1;2;2;2;3;4;1;1;45;1;2
CHECKSUM: 2CC394D3686A827E2B674997E61E1739
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
6 oC/min;Ambient Temperature;Battery A;Battery A: with Temperature effects;Battery B;Battery B without Temperature effects;Bus Creator;Bus Selector;Controlled Current Source;Current;Floating Scope;Measurements;More Info;Mux;Reference;SOC;Scope;Scope ;Step;SubSystem;Temperature;Voltage;powergui

BLOCKTYPE:
Battery;BusCreator;BusSelector;Controlled Current Source;Inport;Mux;Outport;PSB option menu block;RateLimiter;Scope;Stair Generator;Step


MODELNAME: BoostConverter
PATH: examples/simscapeelectricalsps/main/BoostConverter.slx
BLOCKTYPE_FREQUENCY: 2;1;1;1;3;3;1;1;1;1;2;3;1
CHECKSUM: 8A91A75380733FDDE68568A847881E49
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 24V / (1-0.5) = 48V  Vout = Vin/ (1-D) where: D=Duty cycle   Boost Converter  This example shows the operation of a boost converter. Learn more about this example. 

BLOCK:
Bus to Vector;D;Diode;From;Goto;Load;Mosfet;PWM Generator (DC-DC);RL;Reference;Scope;Selector;Series RLC Branch;Vin (24V);Voltage Measurement;powergui

BLOCKTYPE:
BusToVector;Constant;DC Voltage Source;Diode;From;Goto;Mosfet;PSB option menu block;PWM Generator (DC-DC);Scope;Selector;Series RLC Branch;Voltage Measurement


MODELNAME: Breaker
PATH: examples/simscapeelectricalsps/main/Breaker.slx
ANNOTATION: Switching an Inductive Circuit Using a Breaker With no Snubber
BLOCKTYPE_FREQUENCY: 1;1;1;2;1;1;1;2;1
CHECKSUM: FAA3BB55AA46CDE1CE4167C5039393DB
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
 50V 60 Hz;0.1 H;1 Ohm;Breaker;Breaker Control;Ground;Iload;Info;Mux;Reference;Scope;SubSystem;output Ground;powergui

BLOCKTYPE:
AC Voltage Source;Breaker;Current Measurement;Ground;Mux;PSB option menu block;Scope;Series RLC Branch;Stair Generator


MODELNAME: BrushlessDCMotor
PATH: examples/simscapeelectricalsps/main/BrushlessDCMotor.slx
BLOCKTYPE_FREQUENCY: 2;6;1;1;6;3;2;3;7;2;3;1;1;1;1;5;1;5;1;1;2
CHECKSUM: CE557B7B5F05EB40DD028284E5B6C894
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
DESCRIPTION:
This example illustrates use of the BLDC in a closed-loop speed and voltage control on a 1 kW, 3000 rpm industrial motor

ANNOTATION:
/ha ha ha /hb hb /hc hc /ha /ha hb /hb hc /hc ha This module implements the following true table ha | hb | hc || emf_a | emf_b | emf_c -------------------------------------------------------------------------------- 0 0 0 0 0 0 0 0 1 0 -1 +1 0 1 0 -1 +1 0 0 1 1 -1 0 +1 1 0 0 +1 0 -1 1 0 1 +1 -1 0 1 1 0 0 +1 -1 1 1 1 0 0 0  This module implements the following true table emf_a | emf_b | emf_c || Q1 | Q2 | Q3 | Q4 | Q5 | Q6 ------------------------------------------------------------------------------------------------------------------ 0 0 0 0 0 0 0 0 0 0 -1 +1 0 0 0 1 1 0 -1 +1 0 0 1 1 0 0 0 -1 0 +1 0 1 0 0 1 0 +1 0 -1 1 0 0 0 0 1 +1 -1 0 1 0 0 1 0 0 0 +1 -1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0  Brushless DC Motor Fed by Six-Step Inverter Speed regulator Reference speed (RPM)

BLOCK:
Add;Bus Selector;Compare To Zero;Constant;Controlled Voltage Source;Data Type Conversion;Decoder;Demux;Gates;Hall ;In_;Info;Integral;Logical Operator;Mux;N (rpm);Out_;Permanent Magnet Synchronous Machine;Proportional;Reference;Saturation;Step;SubSystem;Sum;Te (N.m);Universal Bridge;Vab;Vdc;Voltage Measurement;emf_abc;emf_abc ;iqref;is_a e_a;powergui;rad2rpm

BLOCKTYPE:
BusSelector;Compare To Zero;Constant;Controlled Voltage Source;DataTypeConversion;Demux;Gain;Inport;Logic;Mux;Outport;PI Controller;PSB option menu block;Permanent Magnet Synchronous Machine;Saturate;Scope;Step;Sum;TransferFcn;Universal Bridge;Voltage Measurement


MODELNAME: BrushlessDCMotorDriveLowAndHighFidelity
PATH: examples/simscapeelectricalsps/main/BrushlessDCMotorDriveLowAndHighFidelity.slx
ANNOTATION: AC7 - Comparison Between Detailed and Simplified Models
BLOCKTYPE_FREQUENCY: 2;6;2;2;12;10;18;1;2;1;2;2;2;1
CHECKSUM: 83C5357238AD75C2BC47A6309BF7AD2A
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
220V 60Hz;AC7 detailed;AC7 simplified;Bus Selector;Conv;Conv.;Ctrl;Discrete Transfer Fcn;Gain;I_bus;More Info;Mux;PI gain calculator;Reference;Scope;Speed;Speed-Torque curve;SubSystem;Subsystem;Tem;Terminator;Torque;V_dc;demux;e_a;i_a;motor;powergui;speed

BLOCKTYPE:
Brushless DC Motor Drive;BusSelector;DiscreteTransferFcn;Gain;Inport;Mux;Outport;PSB option menu block;Scope;Speed regulator gain calculator;Stair Generator;Terminator;Three-Phase Source;Torque vs speed curve


MODELNAME: BrushlessDCMotorwithCurrentControl
PATH: examples/simscapeelectricalsps/main/BrushlessDCMotorwithCurrentControl.slx
BLOCKTYPE_FREQUENCY: 4;2;6;1;1;1;1;14;4;9;8;4;1;5;5;1;1;1;2;1;1;2;1;5;1;2;6;1;1;1;1
CHECKSUM: C74CD6B5A258726C8FD82A3EF4E1B27D
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Control System  Speed Regulation of a Brushless DC Motor Drive using a Hysteresis-based Current Controller Parameters file Learn more about this example. 

BLOCK:
1-D Lookup Table;310 Vdc;Add;Brushless DC Motor 300W, 4000 RPM;Bus Selector;Compare To Zero;Constant;Decoder;Discrete-Time Integrator;Eabc;Fcn;From;Gain;Goto;Hall_Sig;Hysteresis-Based Current Controller;I;Iabc;Iref;Iref*;Kp;Load torque (N.m);Logical Operator;Mux;P;Power;Product;Reference;Relational Operator;Relay;Saturation;Scope;Second-Order Filter;Selector;Speed Regulator;Speed reference (RPM);SubSystem;Sum;Switch;Three-Phase V-I Measurement;Two-Level Converter;VLL;Zero-Order Hold;powergui;rad-to-rpm;wm;wref

BLOCKTYPE:
BusSelector;Compare To Zero;Constant;Current controller;DC Voltage Source;DiscreteIntegrator;Fcn;From;Gain;Goto;Inport;Logic;Lookup_n-D;Mux;Outport;PSB option menu block;Permanent Magnet Synchronous Machine;Product;RelationalOperator;Relay;Saturate;Scope;Second-Order Filter;Selector;Speed Regulator;Stair Generator;Sum;Switch;Three-Phase VI Measurement;Two-Level Converter;ZeroOrderHold


MODELNAME: BrushlessDCMotorwithSixStepInverter
PATH: examples/simscapeelectricalsps/main/BrushlessDCMotorwithSixStepInverter.slx
BLOCKTYPE_FREQUENCY: 1;1;5;4;8;1;2;1;14;6;11;12;6;2;2;7;1;1;1;1;4;2;2;2;3;2;2;2;2;7;3;1;1;1;1;1;2
CHECKSUM: 510B62C2A0D593FB6CD6982E1B77A390
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  Control System for a BLDC Motor Drive fed by a Six-Step Inverter | | | |   Speed Regulation of a Brushless DC Motor Drive Using a Variable DC Link Six-Step Inverter Parameters file Learn more about this example. 

BLOCK:
310Vdc;Abs;Add;Brushless DC Motor 300W, 4000 RPM;Bus Selector;Cf;Commutation Sequence (Clockwise);Commutation Sequence (Counterclockwise);Commutation Sequences and Pulses Generation;Compare To Zero;Constant;Control System;D;Discrete-Time Integrator;Fcn;From;Gain;Gate;Goto;Hall;Hall_Signals;I;Kp;Lf;Load torque (N.m);Logical Operator;Mux;P;PWM Generator (Pulse Averaging);Power;Product;Reference;Relational Operator;Saturation;Scope;Second-Order Filter;Selector;Sign;Speed Regulator;Speed reference (RPM);SubSystem;Subsystem;Sum;Switch;Switch_Sequence;Three-Phase V-I Measurement;Two-Level Converter;Two-Quadrant DC/DC Converter;Unit Delay;VLL;Vab;Vdc;Vdc_ref;Voltage Measurement;Zero-Order Hold;gInv;powergui;rad-to-rpm;wm;wref

BLOCKTYPE:
Abs;BLDC Motor Control;BusSelector;Compare To Zero;Constant;DC Voltage Source;DiscreteIntegrator;Fcn;From;Gain;Goto;Inport;Logic;LookupNDDirect;Mux;Outport;PSB option menu block;PWM Generator Pulse Averaging;Permanent Magnet Synchronous Machine;Product;RelationalOperator;Saturate;Scope;Second-Order Filter;Selector;Series RLC Branch;Signum;Speed Regulator;Stair Generator;Sum;Switch;Three-Phase VI Measurement;Two-Level Converter;Two-Quadrant DC/DC Converter;UnitDelay;Voltage Measurement;ZeroOrderHold


MODELNAME: BrushlessDCRobotAxisControl
PATH: examples/simscapeelectricalsps/main/BrushlessDCRobotAxisControl.slx
BLOCKTYPE_FREQUENCY: 6;1;5;1;4;6;28;12;22;15;2;10;14;2;1;4;1;2;3;2;2;8;2;4;2
CHECKSUM: 353390E11B6F3C3226B0417ADD0CB027
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Robot axis control using brushless DC motor drive The Ts parameter used in this model is set to 1e-6 by the Model Properties Callbacks  Measurements Copyright 2003-2009 The MathWorks, Inc.

BLOCK:
AC Source T;Bus Selector;C;Clock;Demux;Discrete-Time Integrator;From;G;Gain;Goto;IC;J;J1&J;Measurement center;More Info;Motor Drive 1 Measurements T;Motor Drive 2 Measurement T;Motor Drive T;Multimeter;Mux;N;Nref;Position Controller T;Product;Reference;Relational Operator;Robot;Robot Measurements;Saturation;Selector;Speed Reducer;SubSystem;Sum;Switch;T;Terminator;Trajectory generator;alfa;conv;ctrl;measurements T;motor;powergui;teta;teta_ref;tetafin;tetaini;tfin;w

BLOCKTYPE:
BusSelector;Clock;Constant;Demux;DiscreteIntegrator;Fcn;From;Gain;Goto;Inport;Multimeter;Mux;Outport;PM Synchronous Motor Drive;PSB option menu block;Product;RelationalOperator;Saturate;Scope;Selector;Speed Reducer;Sum;Switch;Terminator;Three-Phase Source


MODELNAME: BuckBoostConverter
PATH: examples/simscapeelectricalsps/main/BuckBoostConverter.slx
BLOCKTYPE_FREQUENCY: 2;2;3;9;7;1;2;2;1;1;1;6;1;4
CHECKSUM: 0102A914CC2CF19B6CBD070F05F11A69
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 abs(Vout) = D/(1-D) x Vin where: D=Duty cycle  Non-inverting Topology Inverting Topology  This example shows the operation of a buck boost converter using the inverting and non-inverting topologies Learn more about this example.   Buck Boost Converter

BLOCK:
C;Current Measurement;D;D ;Duty Cycle;From;Goto;IGBT;L;Mosfet;Mux;PWM Generator (DC-DC);R;Reference;Scope;Vin;Vin ;Voltage Measurement;powergui

BLOCKTYPE:
Current Measurement;DC Voltage Source;Diode;From;Goto;IGBT;Mosfet;Mux;PSB option menu block;PWM Generator (DC-DC);Scope;Series RLC Branch;Step;Voltage Measurement


MODELNAME: BuckConverter
PATH: examples/simscapeelectricalsps/main/BuckConverter.slx
BLOCKTYPE_FREQUENCY: 2;1;1;3;3;1;1;1;1;2;3;1;1
CHECKSUM: CD0C89F8C6C1328FF4405820312AA8D9
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Vout = D x Vin where: D=Duty cycle   0.75 x 200 = 150V  This example shows the operation of a buck converter. Learn more about this example.   Buck Converter

BLOCK:
Bus to Vector;D;Diode;From;Goto;Load;Mosfet;PWM Generator (DC-DC);RL;Reference;Scope;Selector;Series RLC Branch;Vin (200V);Voltage Measurement;powergui

BLOCKTYPE:
BusToVector;DC Voltage Source;Diode;From;Goto;Mosfet;PSB option menu block;PWM Generator (DC-DC);Scope;Selector;Series RLC Branch;Step;Voltage Measurement


MODELNAME: BuckConverterInterpolation
PATH: examples/simscapeelectricalsps/main/BuckConverterInterpolation.slx
BLOCKTYPE_FREQUENCY: 2;1;1;1;1;1;2;6;3;1;12;1;11;1;1;2;1;2;1;3;1;3;5;1;2;2
CHECKSUM: FD81C6C97D32E084CD01354A1982BE97
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Stamp the time of the continuous pulse Output the difference between actual clok and stamped clock at the next Discrete step Delays ON = Set Priority Delays OFF = Reset Priority Stamp the time of the continuous pulse Output the difference between actual clok and stamped clock at the next Discrete step  This example shows how to use the interpolation method on the powergui to preserve model accuracy for simulations with larger time steps. Learn more about this example.   Buck Converter - Increased Accuracy and Simulation Speed Using Interpolation 

BLOCK:
 ;!Q;Add;Bistable;C;Clock;Compute Delays;Constant;D;DelayOff;DelayOn;Duty Cycle;Edge Detector;Ground;Hit Crossing;IGBT;Id;In;Model;Mux;Out;PWM Generator (DC-DC);Pcont;Product;Q;R;RL;Rate Limiter;Reference;Rload;S;Sample and Hold;Scope;SubSystem;Terminator;Terminator_;Unit Delay;Vd;Vdc;Vload;Zero-Order Hold;output Ground;powergui;time stamping system

BLOCKTYPE:
Bistable;Clock;Constant;Current Measurement;DC Voltage Source;Diode;Edge Detector;Ground;HitCross;IGBT;Inport;Mux;Outport;PSB option menu block;PWM Generator (DC-DC);Product;RateLimiter;Sample and Hold ;Scope;Series RLC Branch;Stair Generator;Sum;Terminator;UnitDelay;Voltage Measurement;ZeroOrderHold


MODELNAME: Chopper1QHysteresisControl
PATH: examples/simscapeelectricalsps/main/Chopper1QHysteresisControl.slx
BLOCKTYPE_FREQUENCY: 4;3;3;1;1;3;1;2;1;1;2;1;2;1;10;1;1;24;3;1;4;24;6;1;1;5;1;4;1;1;3;2;2;1;2;6;3;2;1;2;8
CHECKSUM: 30AA388923B1F54EC1BA28D4E008FB84
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
DC5 - One-Quadrant Chopper 5 HP DC Drive with Hysteresis Current Control * The library link of this block is intentionally broken

BLOCK:
 Ia*; N*;* One-Quadrant Chopper DC Drive;1\ib;2pu;A+;A-;Bus Creator;Bus Selector;Constant;Conv.;Converter signals;Coulomb (Tf) & Viscous ( Bm*w) Friction Torques;Ctrl;Ctrl sat.;Ctrl.;Current Measurement;Current controller;DC Machine;DC Voltage Source;Data Type Conversion;Delta Ia;Demux;Discrete Transfer Fcn;Discrete-Time Integrator;F+;F-;FCEM;Gain;Gnd;IC;IGBT/Diode;Ia;Ia*(p.u.);Ia*(p.u.) ;If;In;Integral gain;Load torque;Low-pass filter;Measurement list;Mec_T;Mechanics;More Info;Motor;Motor ;Multiport Switch;Mux;N;N*;Out;Product;Proportional gain;Pulses;Ra La;Rad2Rpm;Rate Transition;Ref.;Ref. sat.;Reference;Regulation switch;Relay;Rf Lf;SP;Saturation;Scope;Selector;Smoothing inductance;Speed controller;Speed reference;SubSystem;Subsystem;Sum;T*;T2I;TL;Terminator;Unit Delay;Va;Vcc;Vdc 280 V ;Voltage Measurement;Zero-Order Hold;d;d_N;d_i;iA;iF;m;output Ground;powergui;speed ramp

BLOCKTYPE:
BusCreator;BusSelector;Constant;Controlled Voltage Source;Coulombic and Viscous Friction;Current Measurement;Current controller;DC Voltage Source;DC5;DataTypeConversion;Demux;Discrete DC machine;DiscreteIntegrator;DiscreteTransferFcn;Gain;Ground;InitialCondition;Inport;MultiPortSwitch;Multimeter;Mux;Outport;PMIOPort;PSB option menu block;Parallel RLC Branch;Product;RateLimiter;RateTransition;Regulation switch;Relay;Saturate;Scope;Series RLC Branch;Speed controller;Step;Sum;Terminator;UnitDelay;Universal Bridge;Voltage Measurement;ZeroOrderHold


MODELNAME: Chopper1Quadrant
PATH: examples/simscapeelectricalsps/main/Chopper1Quadrant.slx
ANNOTATION: DC5 - One-Quadrant Chopper 5 HP DC Drive
BLOCKTYPE_FREQUENCY: 2;1;1;3;1;2;1;4;1;2;2;2
CHECKSUM: AEED7EF50486F74ACAF4C7DDBDE5CAA2
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
Bus Selector;Conv.;Converter signals;Ctrl.;DCycle;Ia;Load torque;More Info;Motor;Mux;N;One-Quadrant Chopper DC Drive;Reference;Scope;Selector;Speed reference;SubSystem;Terminator;Va;Vdc 280 V ;output Ground;powergui

BLOCKTYPE:
BusSelector;DC Voltage Source;Ground;Inport;Multimeter;Mux;One-Quadrant Chopper DC Drive;Outport;PSB option menu block;Scope;Step;Terminator


MODELNAME: Chopper2Quadrant
PATH: examples/simscapeelectricalsps/main/Chopper2Quadrant.slx
ANNOTATION: DC6 - Two-Quadrant Chopper 200 HP DC Drive
BLOCKTYPE_FREQUENCY: 1;2;3;1;1;1;1;1;4;1;1;2;7;9;1;2;1;2;2;2;1;4;1;1;2;1;1
CHECKSUM: 925F41B68C48CC5429074B54E057D600
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
+;-;460 V 60 Hz;A;AC to DC Converter;B;Braking chopper;Bus Selector;Bus_;C;Cbus;Constant;Conv.;Converter signals;Ctrl.;DC IGBT I;DC IGBT II;DC_link;Data Type Conversion;Diode;Discrete-Time Integrator;Gain;Gate;Ia;Ideal Switch;Load torque;Logical Operator;More Info;Motor;Mux;N;Proportional controller;Ramp_generator;Rectifier Bridge;Reference;Relational Operator;Relay;Scope;Selector;Speed reference;SubSystem;Sum;Terminator;Two-Quadrant Chopper DC Drive;Unit Delay;V bridge+;V bridge-;V bus;V bus+;V bus-;Va;fc;powergui;ramp_out

BLOCKTYPE:
Braking chopper;BusSelector;Constant;DataTypeConversion;Diode;DiscreteIntegrator;Gain;Ideal Switch;Inport;Logic;Multimeter;Mux;Outport;PMIOPort;PSB option menu block;RelationalOperator;Relay;Scope;Series RLC Branch;Step;Sum;Terminator;Three-Phase Source;Two-Quadrant Chopper DC Drive;UnitDelay;Universal Bridge;Voltage Measurement


MODELNAME: Chopper4Quadrant
PATH: examples/simscapeelectricalsps/main/Chopper4Quadrant.slx
BLOCKTYPE_FREQUENCY: 1;2;3;1;1;1;1;2;1;4;1;1;2;7;9;1;2;1;2;2;1;1;3;1;2;1;1
CHECKSUM: DA60EDD80108E8F06E322452EE36DCA6
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
DC7 - Four-Quadrant Chopper 200 HP DC Drive The Ts parameter used in this model is set to 1e-6s by the Model Properties Callbacks  See also Chopper4QuadrantExample_simplified.mdl for average-value model

BLOCK:
+;-;380 V 50 Hz;A;AC to DC Converter;B;Braking chopper;Bus Selector;Bus_;C;Cbus;Constant;Conv.;Converter signals;Ctrl.;DC IGBT I&IV;DC IGBT II&III;DC_link;Data Type Conversion;Diode;Discrete-Time Integrator;Four-Quadrant Chopper DC Drive;Gain;Gate;Ia;Ideal Switch;Linear load torque;Logical Operator;More Info;Motor;Mux;N;Proportional controller;Ramp_generator;Rectifier Bridge;Reference;Relational Operator;Relay;Scope;Selector;Speed reference;SubSystem;Sum;Terminator;Unit Delay;V bridge+;V bridge-;V bus;V bus+;V bus-;Va;fc;powergui;ramp_out

BLOCKTYPE:
Braking chopper;BusSelector;Constant;DataTypeConversion;Diode;DiscreteIntegrator;Four-Quadrant Chopper DC Drive;Gain;Ideal Switch;Inport;Logic;Multimeter;Mux;Outport;PMIOPort;PSB option menu block;RelationalOperator;Relay;Scope;Series RLC Branch;Step;Sum;Terminator;Three-Phase Source;UnitDelay;Universal Bridge;Voltage Measurement


MODELNAME: CoupledCables
PATH: examples/simscapeelectricalsps/main/CoupledCables.slx
BLOCKTYPE_FREQUENCY: 8;8;2;1;8;3;8;10;6;8;1;1;2;4;10;4;2;12
CHECKSUM: 6C80A5CF9981994884A5CDAA68F7FC5C
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 remove short-circuits to observe impact of source internal impedances  remove short-circuits to observe impact of source internal impedances  remove short-circuits to observe impact of source internal impedances  remove short-circuits to observe impact of source internal impedances  Four Coupled 66-kV Cables  This example compares the steady-state and transient responses of two different cable designs whose RLC parameters are calculate using the Power Cable Parameters App. Learn more about this example. 

BLOCK:
 Fault;66kV - 16.7 Hz Phase U;66kV - 16.7 Hz Phase V;Breaker;Core V&I ;Distributed Parameters Frequency-Dependent 30 km ;From;Goto;Ground;Icable1_;Internal impedance phase U;Internal impedance phase V;Load1_;Load2_;Mux;PI Section model 30 km;Reference;Rg;Selector;Source1_;Source2_;SubSystem;U;V;Vload1_;Vload2_;Vs1_;Vs2_;Vs3_;Vs4_;Vscreen;powergui;to_pu

BLOCKTYPE:
AC Voltage Source;Breaker;Current Measurement;Distributed Parameters Line Frequency Dependent;From;Gain;Goto;Ground;Mux;PMIOPort;PSB option menu block;Pi Section Line;Scope;Selector;Series RLC Branch;Series RLC Load;Three-Phase Fault;Voltage Measurement


MODELNAME: CukConverter
PATH: examples/simscapeelectricalsps/main/CukConverter.slx
BLOCKTYPE_FREQUENCY: 2;1;1;1;3;3;1;2;1;1;1;1;2;5;1
CHECKSUM: D2C88D8E53CD32D834632A7D2FEEDC94
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Vout = -D/(1-D) * Vin where: D=Duty cycle   This example shows the operation of a non-isolated Cuk converter. Learn more about this example.   Cuk Converter

BLOCK:
Bus to Vector;C;D;Diode;From;Goto;L;Load;Mosfet;Multimeter;Mux;PWM Generator (DC-DC);Reference;Scope;Selector;Vin;Voltage Measurement;powergui

BLOCKTYPE:
BusToVector;Constant;DC Voltage Source;Diode;From;Goto;Mosfet;Multimeter;Mux;PSB option menu block;PWM Generator (DC-DC);Scope;Selector;Series RLC Branch;Voltage Measurement


MODELNAME: CurrentTransformerSaturation
PATH: examples/simscapeelectricalsps/main/CurrentTransformerSaturation.slx
ANNOTATION: Current Transformer Saturation
BLOCKTYPE_FREQUENCY: 1;2;1;2;2;1;1;1;1;1;2;1
CHECKSUM: AB584CEC15C8902790C3978005BD7B82
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
120kV rms / sqrt(3) 50 Hz;1ohm;69.3 Mvar 1 kA rms Q=;Breaker;CT 2000/5 A 25 VA;Gain;I;Info;Multimeter;Mux;Reference;Scope;SubSystem;Switch;V;V.s -->pu;output Ground;powergui

BLOCKTYPE:
AC Voltage Source;Breaker;Current Measurement;Gain;Ground;Multimeter;Mux;PSB option menu block;Saturable Transformer;Scope;Series RLC Branch;Voltage Measurement


MODELNAME: CycloConverter
PATH: examples/simscapeelectricalsps/main/CycloConverter.slx
BLOCKTYPE_FREQUENCY: 3;1;6;3;1;2;1;19;8;8;3;6;6;4;4;1;15;1;2;3;6;2;11;4;3;1;1;3;4;1;3;6
CHECKSUM: 68B3F44DC116BFF72B6A4BA9470397B8
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
5th input used as it is green Source Load Source  The StopFcn in Model Properties callback is producing a plot at the end of simulation  This example shows a six-pulse cycloconverter driving a static load. Learn more about this example.   Six-Pulse Cycloconverter

BLOCK:
A;AC Voltage Source;Abs;B;C;Compare To Constant;Compare Va load to reference voltage;Constant;Cyclo Firing Control PhA;Cyclo Firing Control PhB;Cyclo Firing Control PhC;Cycloconverter control (Vsync);Discrete-Time Integrator;Eref;Fcn;From;Gain;Goto;Ground;Iabc_Load;Iabc_source;Load Measurements;Lookup Table (negative);Lookup Table (positive);Mux;P & Q source power;PLL (3ph);Phase A Cycloconverter;Phase B Cycloconverter;Phase C Cycloconverter;Power;Product;Pulse Generator (Thyristor, 6-Pulse);Reference;Resistive load;Scope;Selector;Source Measurements;SubSystem;Subsystem;Sum;System Measurements;Terminator_;This signal is provided as a plot at simulation stop (See Model Properties/StopFcn);Three-Phase Transformer (Two Windings);Trigonometric Function;VA+;VA-;VB+;VB-;VC+;VC-;Vabc_Load;Vabc_source;Vplot;Vsync Measurement;a;b;c;const;negative cycle;output frequency (Hz);output voltage (V peak);positive cycle;powergui;theta;va;x 3 phases

BLOCKTYPE:
AC Voltage Source;Abs;Compare To Constant;Constant;DiscreteIntegrator;Display;Fcn;From;Gain;Goto;Ground;Inport;Lookup_n-D;Mux;Outport;PLL (3ph);PMIOPort;PSB option menu block;Power;Product;Pulse Generator (Thyristor);Repeating table;Scope;Selector;Sum;Terminator;Three-Phase Series RLC Branch;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;ToWorkspace;Trigonometry;Universal Bridge


MODELNAME: DCMotorStarting
PATH: examples/simscapeelectricalsps/main/DCMotorStarting.slx
ANNOTATION: Starting a DC Motor Torque is proportional to speed; TL=Bl*w
BLOCKTYPE_FREQUENCY: 3;2;1;1;1;4;1;2;1;1;4;4;1;3;1;1
CHECKSUM: A61D965C33DCBAC231EC032481398944
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
0.74 ohm;1.64 ohm;10 kohm;2.8 s;3.66 ohm;4.8 s;6.;BL;Breaker;DC_Motor 5 hp; 240V; 16.2 A; 1220rpm;Demux;E 240 V;Ef=240 V;Ground;Ia;Ideal Switch;In;More Info;Motor Starter ;Out;Reference;Stair Generator;SubSystem;Te;Terminator;Va;Va_;output Ground;powergui;w;w(rad\s) versus Ia (A)

BLOCKTYPE:
Breaker;DC Voltage Source;DC machine;Demux;Gain;Ground;Ideal Switch;PMIOPort;PSB option menu block;Record;Scope;Series RLC Branch;Stair Generator;Step;Terminator;Voltage Measurement


MODELNAME: DistributionSTATCOM
PATH: examples/simscapeelectricalsps/main/DistributionSTATCOM.slx
CHECKSUM: 7F1E0BDD579F7534F3759DB8225893A7
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Current Regulators ================= Sample Time = 32*Ts Id positive(+) flowing into converter ==> Converter absorbing real power = P positive(+)  Sign convention: Iq negative(-) flowing into converter (inductive current) ==> Converter absorbing reactive power = Q positive(+)  Giroux P., Sybille G. Power System Simulation Laboratory, IREQ Hydro-Quebec D-STATCOM Controller + - D-STATCOM 25kV, +/- 3Mvar 25-kV, +3/-3 Mvar Distribution STATCOM (Detailed Model) 

BLOCK:
 Vabc; Vdc;-1<Id<+;-1<Iq<+;1 MW;2-km Feeder;21-km Feeder;2250<Vdc<;25 kV, 100MVA System;25kV / 600V;3 MW 0.2 Mvar;34.;A;AC Voltage Regulator;Anti-aliasing Filters (7);B;Bridge ;Bridge 1 ;Bstatcom;C;C ;Ca_DVR;Constant;Controller (sample time=Ts*32);Conversion to MW for V(pu), I (pu/1MVA);Current Regulator;DC Link;DC Voltage Regulator;DStatcom;D_statcom Controller;Data Acquisition;Deg->Rad;Demux;Discrete PI Controller;Discrete PID Controller;Discrete-Time Integrator;Fcn;From;Gain;Goto;Ground;Ia;Iabc;Iabc ;Ib;IdIq;IdIq_Ref;Id_Ref;Iq_Iqref;Iq_Ref;Iq_ref (Manual);Iqref*;La_DVR;MagV;Mag_V;Mag_V ;Math Function;Measuremnt Unit;More info;Multimeter;Mux;P;PLL (3ph);PQ;PQ_B;PWM Generator (2-Level);Power (Positive-Sequence);Power (dq0, Instantaneous);Product;Programmable Voltage Source;Qref;Rate Limiter;Reference;Relational Operator;Scope;Second-Order Low Pass Filter;Selector;Sequence Analyzer;Series RLC Branch;SubSystem;Sum;Switch;Terminator;Three-Phase Mutual Inductance Z1-Z;Toff;Ton;Tr A;Tr B;Tr C;Trigonometric Function;Unit Delay;V->pu;Va;VaIa;Va_Inv;Vabc;Vabc (t);Vac_Ref;Variable Load;VdVq;Vd_Vq--> m,Phi;Vdc;Vdc ;Vdc_Ref;VmagB1B;Zero-Order Hold;a;abc to dq;b;c;deg. ->rad;m;m_Phi;m_Phi->Vabc(t);output Ground;powergui;pu->kA;pu->kV;t;theta;w;w->theta;wt

BLOCKTYPE:
Anti-aliasing (2nd order lowpass);Constant;Controlled Current Source;Current Regulators;D-STATCOM Controller;DC Voltage regulator;Demux;DigitalClock;DiscreteIntegrator;Fcn;From;Gain;Goto;Ground;Inport;Linear Transformer;Math;Multimeter;Mux;Outport;PID 1dof;PLL (3ph);PMIOPort;PSB option menu block;PWM Generator (2-Level);Parallel RLC Branch;Power (Positive-Sequence);Power (dq0, Instantaneous);Product;RateLimiter;RelationalOperator;Saturate;Scope;Second-Order Filter;Selector;Sequence Analyzer;Series RLC Branch;Step;Sum;Switch;Terminator;Three-Phase Mutual Inductance Z1-Z0;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Programmable Voltage Source;Three-Phase Series RLC Branch;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Trigonometry;UnitDelay;Universal Bridge;Variable Load (Constant Current);Voltage Measurement;ZeroOrderHold;abc to dq0 Transformation

BLOCKTYPE_FREQUENCY:
1;15;2;1;1;2;6;1;1;3;14;9;8;6;24;3;1;1;11;24;4;2;12;1;2;1;1;1;5;3;2;3;3;4;7;2;9;2;9;2;4;1;1;2;1;1;1;4;3;2;2;1;3;3;2


MODELNAME: DistributionSTATCOMAverageModel
PATH: examples/simscapeelectricalsps/main/DistributionSTATCOMAverageModel.slx
CHECKSUM: 94C450AAD7D858FEF2E56FEEE4D7C3B6
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
================= Current Regulators D-STATCOM Controller Giroux P., Sybille G. Power System Simulation Laboratory, IREQ Hydro-Quebec Iq negative(-) flowing into converter (inductive current) ==> Converter absorbing reactive power = Q positive(+)  Sign convention: Id positive(+) flowing into converter ==> Converter absorbing real power = P positive(+)  Sample Time = 4*Ts D-STATCOM 25kV, +/- 3Mvar Average Model + - - 25-kV, +3/-3 Mvar Distribution STATCOM (Average Model) 

BLOCK:
 Vabc; Vdc;-1<Id<+;-1<Iq<+;1 MW;2-km Feeder;21-km Feeder;2250<Vdc<;25 kV, 100MVA System;25kV / 600V;3 MW 0.2 Mvar;34.;A;AC Voltage Regulator;Anti-aliasing Filters (7);B;Bridge1 Average Model;Bridge2 Average Model;Bstatcom;C;C ;Ca_DVR;Constant;Controller (sample time=Ts*32);Conversion to MW for V(pu), I (pu/1MVA);Current Regulator;DC Link;DC Voltage Regulator;D_statcom_avg Controller;Data Acquisition;Deg->Rad;Demux;Discrete PI Controller;Discrete PID Controller;Discrete-Time Integrator;Distribution Statcom;Fcn;From;Gain;Goto;Ground;Ia;Iabc;Iabc ;Ib;IdIq;IdIq_Ref;Id_Ref;Iq_Iqref;Iq_Ref;Iq_ref (Manual);Iqref*;La_DVR;MagV;Mag_V;Mag_V ;Math Function;Measuremnt Unit;More info;Mux;PLL (3ph);PQ;PQ_B;Power (Positive-Sequence);Power (dq0, Instantaneous);Product;Programmable Voltage Source;Qref;Rate Limiter;Reference;Relational Operator;Scope;Second-Order Low Pass Filter;Selector;Sequence Analyzer;Series RLC Branch;SubSystem;Sum;Switch;Terminator;Three-Phase Mutual Inductance Z1-Z;Toff;Ton;Tr A;Tr B;Tr C;Trigonometric Function;Unit Delay;V->pu;Va;VaIa;Va_Inv;Vabc;Vabc (t);Vac_Ref;Variable Load;VdVq;Vd_Vq--> m,Phi;Vdc;Vdc ;Vdc_Ref;VmagB1B;Voltage Measurement;Vref_abc;Zero-Order Hold;a;abc to dq;b;c;deg. ->rad;m;m_Phi;m_Phi->Vabc(t);output Ground;powergui;pu->kA;pu->kV;t;theta;w;w->theta;wt

BLOCKTYPE:
Anti-aliasing (2nd order lowpass);Constant;Controlled Current Source;Current Regulators;D-STATCOM Controller;DC Voltage regulator;Demux;DigitalClock;DiscreteIntegrator;Fcn;From;Gain;Goto;Ground;Inport;Linear Transformer;Math;Mux;Outport;PID 1dof;PLL (3ph);PMIOPort;PSB option menu block;Parallel RLC Branch;Power (Positive-Sequence);Power (dq0, Instantaneous);Product;RateLimiter;RelationalOperator;Saturate;Scope;Second-Order Filter;Selector;Sequence Analyzer;Series RLC Branch;Step;Sum;Switch;Terminator;Three-Phase Mutual Inductance Z1-Z0;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Programmable Voltage Source;Three-Phase Series RLC Branch;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Trigonometry;UnitDelay;Universal Bridge;Variable Load (Constant Current);Voltage Measurement;ZeroOrderHold;abc to dq0 Transformation

BLOCKTYPE_FREQUENCY:
1;15;2;1;1;2;4;1;1;3;15;9;6;6;24;3;1;11;23;4;2;12;1;1;1;1;5;3;2;3;3;4;7;2;9;2;8;2;4;1;1;2;1;1;1;4;3;2;2;1;5;3;2


MODELNAME: DistributionTransformer
PATH: examples/simscapeelectricalsps/main/DistributionTransformer.slx
ANNOTATION: Three-Winding Distribution Transformer
BLOCKTYPE_FREQUENCY: 1;1;2;3;1;1;3;1;2;1
CHECKSUM: 1CE6EAB1D5B34AF672C74082C4DD4F28
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
Breaker;I neutral;I neutral (A);I prim;Info;Linear Transformer 75 kVA 14,400-120-120 V;Load 1 120 V 20 kW 10 kvar;Load 2 120V 20 kW 10 kvar;Load 3 240 V 30 kW 20 kVar;P (W) Q (vars);Power;Reference;SubSystem;V prim;Vs 14,400 V;output Ground;powergui

BLOCKTYPE:
AC Voltage Source;Breaker;Current Measurement;Ground;Linear Transformer;PSB option menu block;Parallel RLC Load;Power;Scope;Voltage Measurement


MODELNAME: DualActiveBridgeConverter
PATH: examples/simscapeelectricalsps/main/DualActiveBridgeConverter.slx
BLOCKTYPE_FREQUENCY: 1;1;4;2;15;2;2;3;4;8;1;1;2;4;55;5;45;4;8;9;1;5;1;19;1;4;4;1;6;1;1;3;2;2;2;2;4;32;5;1;1;5;2;6;3;1
CHECKSUM: B147BA235BABCD814E0B3C0857F0E5F7
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Calculation of Theoretical Output Power (kW)  Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  HV Bridge  Single-phase, Dual-Active BridgeDC/DC Converter  Single-Phase Dual Active Bridge Converter DC/DC Converter   Control System  Scopes  Displays  This example shows the operation of a single-phase Dual Active Bridge (DAB) DC/DC converter. Learn more about this example. 

BLOCK:
Abs;Add;Additional Scopes;Bus Creator;Bus Selector;C;Compare To Zero;Constant;Control Mode 0 = Current Regulator 1 = phi ramp;Coupling Inductor;Current Measurement;Current Regulator;DAB;DCsrc;D_phi (degrees);Data Type Conversion;Demux;Diode;Discrete-Time Integrator;Divide;Error;FET;Fcn;From;Gain;Goto;HV+;HV-;Hit Crossing;Imeas;Iref;Iref_Step;LV+;LV-;Logical Operator;Mean;Mux;On Delay;Out;P2m_kW;PI regulator with anti-windup d;Power_DCsrc2 (kW);Product;Pulses_Generator;Rate Limiter;Rate Transition;Reference;Relational Operator;S-R Flip-Flop;Saturation;Sawtooth Generator;Scope_FETs;Scope_P2_Ptheo_kW;Scope_VpVs_IInductor;Scope_phi_P2_kW;Selector;SubSystem;Subsystem;Subtract;Sum;Switch;Terminator;Transformer;Voltage Measurement;Zero-Order Hold;g;gates;meas;phi_Ramp;phi_deg;powergui

BLOCKTYPE:
Abs;BusCreator;BusSelector;Compare To Zero;Constant;Current Measurement;DC Voltage Source;DataTypeConversion;Demux;Diode;Discrete PI Controller with anti-windup;DiscreteIntegrator;Display;Fcn;From;Gain;Goto;HitCross;Ideal Switch;Inport;Linear Transformer;Logic;Mean;Mux;On/Off Delay ;Outport;PMIOPort;PSB option menu block;Product;Ramp;RateLimiter;RateTransition;RelationalOperator;SRFlipFlop;Saturate;Sawtooth Generator;Scope;Selector;Series RLC Branch;Single-phase, Dual-Active Bridge DC/DC Converter;Stair Generator;Sum;Switch;Terminator;Voltage Measurement;ZeroOrderHold


MODELNAME: DynamicLoad
PATH: examples/simscapeelectricalsps/main/DynamicLoad.slx
ANNOTATION: Dynamic Load and Programmable Voltage Source
BLOCKTYPE_FREQUENCY: 2;1;1;1;3;1;1;1;1;1;1;1
CHECKSUM: EE3863D444AFCE76211B07D3647439BD
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
1 MW;3-Phase Dynamic Load;3-phase Programmable Voltage Source;500kV 2000MVA;Bus Selector;Info;Power (3ph, Instantaneous);Reference;Scope;Sequence Analyzer;SubSystem;Terminator;Three-Phase V-I Measurement;output Ground;powergui

BLOCKTYPE:
BusSelector;Ground;PSB option menu block;Power (3ph, Instantaneous);Scope;Sequence Analyzer;Terminator;Three-Phase Dynamic Load;Three-Phase Programmable Voltage Source;Three-Phase Series RLC Branch;Three-Phase Series RLC Load;Three-Phase VI Measurement


MODELNAME: EmergencyDieselGenerator
PATH: examples/simscapeelectricalsps/main/EmergencyDieselGenerator.slx
BLOCKTYPE_FREQUENCY: 1;1;1;1;6;3;1;1;1;2;1;2;35;2;7;1;1;1;3;1;9;1;1;2;1;1;1
CHECKSUM: B47406AF7ABDD896BA0EF868E3352266
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Emergency Diesel-Generator and Asynchronous Motor Before running this example you need to perform a Load Flow that initializes the model to start from steady-state.

BLOCK:
1 MW Load;25 kV 1000 MVA;5 MW Load;AC1A;AC4A;AC5A;ASM;ASM 2250 HP;Bus Selector;Circuit Breaker;DC1A;DC2A;Diesel Engine Governor;Double click here for more info;EXCITATION;Efd;Fcn;Ground;Ifd;It;Load Flow Bus;Load Flow Bus ;RPM;Reference;SM;SM 3.125 MVA;ST1A;ST2A;SubSystem;Three-phase to ground Fault;Torque (N.m);Transformer 25 kV / 2400V 6 MVA;Va;Va (V);Vref;Vstab;Vt;Vtref (pu) ;output Ground;powergui;term;wref (pu)

BLOCKTYPE:
AC1A Excitation System;AC4A Excitation System;AC5A Excitation System;Asynchronous Machine;BusSelector;Constant;DC1A Excitation System;DC2A Excitation System;Diesel Engine & Governor;Fcn;Gain;Ground;Inport;Load Flow Bus;Outport;PSB option menu block;ST1A Excitation System;ST2A Excitation System;Scope;Synchronous Machine;Terminator;Three-Phase Breaker;Three-Phase Fault;Three-Phase Parallel RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Voltage Measurement


MODELNAME: FiveCellMultiLevelConverter
PATH: examples/simscapeelectricalsps/main/FiveCellMultiLevelConverter.slx
BLOCKTYPE_FREQUENCY: 3;15;1;4;34;15;79;186;1;60;30;2;21;1;30;30;2;30;15;15
CHECKSUM: AF65A3F6AA69536554DE3700700FDE7D
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Five-Cell Multi-Level Converter  This example shows a five-cell multi-level converter driving a static load. Learn more about this example. 

BLOCK:
+;-;0 deg.;180/5 deg.;2*180/5 deg;3*180/5 deg;4*180/5 deg;A;AC Voltage Source;B;C;CELL ;Current Measurement;Demux;Five Cell Multi-Level Converter;Five cells converter A;Five cells converter B;Five cells converter C;Floating Scope;From;GTO;IGBT H-Bridge;Idc;LOAD;Measurements;Mux;Out;Phase-shifting Transformer + 12 deg.;Phase-shifting Transformer + 24 deg.;Phase-shifting Transformer - 12 deg.;Phase-shifting Transformer - 24 deg.;Phase-shifting Transformer 0 deg.;Reference;Relay;Repeating Sequence;SRC;Scope;Series RLC Branch;Sine Wave;SubSystem;Sum;Terminator;Vdc;Voltage Measurement;Zigzag Phase-Shifting Transformer;a;b;c;mod;neg triang carrier;powergui;triang carrier;u;y

BLOCKTYPE:
AC Voltage Source;Current Measurement;Demux;From;Inport;Mux;Outport;PMIOPort;PSB option menu block;Relay;Repeating table;Scope;Series RLC Branch;Sin;Sum;Terminator;Three-Phase VI Measurement;Universal Bridge;Voltage Measurement;Zigzag Phase-Shifting Transformer


MODELNAME: FiveLimbCoreTransformer
PATH: examples/simscapeelectricalsps/main/FiveLimbCoreTransformer.slx
CHECKSUM: 032C71C91F4947C0F7DEAD0D826ADD82
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Transformer 300 MVA 315 kV /120 kV / 25 kV Yg / Yg / D1 Three-Phase Five-Limb (Shell-Type) Three-Winding Transformer Use following B-H characteristics in Simscape model: saturable transformer -> [0 0; 155.25 1.8065 ; 64686 2.2883 ] linear transformer -> [0 0; 155.25 1.8065 ; 155.25*2 1.8065*2] Nominal flux density: B = 1.5 Tesla in phase limbs and yokes B = 1.0 Tesla in external limbs 

BLOCK:
;1 Megohm;1/A;10 MW;10 MW ;100 MW;100 MW ;3000 MVA Q=;3000 MVA Q=10 ;A;A->pu;A-B Fault;A-B Fault ;A1-;A2-;A3-;A>.pu;Add;Anti-saturation Control;Anti-saturation Control ;B;B1-;B2-;B3-;Bus Creator;Bus Selector;Bus to Vector;C;C1-;C2-;C3-;Constant;Controlled MMF Source;Controlled Sources;Controlled Sources ;Controlled Voltage Source;Current Sensor;Demux;Discrete-Time Integrator;Double click here for more info;Electrical Reference;Electrical Reference1ph;Enable;FLuxes (Teslas);Five-limb core (SPS Model);Five-limb core (Simscape Magnetic Model);Flux ;Flux Densities (Tesla) Limbs A, B, C yokes BA, BC Limbs Left Right;Flux Sensor;Fluxes;Fourier;From;Goto;Ia;Ib;Ic;Imag;Inductor;Iprim (pu/300MVA);Isec (pu/300MVA);Ki;Kp;L1_;L2_;Magnetic Reference;Mean;Measurements;Multimeter;Mux;N2/N;N2/N1 ;N3/N;N3/N1 ;PS Add;PS Gain;PS Lookup Table (1D);PS-Simulink Converter;R1A;R2A;R3A;Reference;Reluctance;Resistor;Rm1A;Rm2A;Rm3A;Selector;Simulink-PS Converter;Solver Configuration;Step;SubSystem;Switch;Terminator;Terminator_;Three-Phase Programmable Generator;Unit Delay;Uref;Uref*;Voltage Sensor;Vprim;Vprim (pu);Vs->pu;Vsec (pu);W1A;W2A;Wb->pu;a;abc;b;c;output Ground;powergui;to-V;to-pu

BLOCKTYPE:
Breaker;BusCreator;BusSelector;BusToVector;Constant;Controlled MMF Source;Controlled Voltage Source;Current Sensor;Demux;DiscreteIntegrator;Display;Electrical Reference;Electromagnetic Converter;Flux Sensor;Fourier;From;Gain;Goto;Ground;Inductor;Inport;Magnetic Reference;Mean;Multimeter;Mux;Nonlinear Magnetic Path;Outport;PMIOPort;PS Add;PS Gain;PS Lookup Table (1D);PS-Simulink Converter;PSB option menu block;Reluctance;Resistor;Scope;Selector;Simulink-PS Converter;Solver Configuration;Step;Sum;Switch;Terminator;Three-Phase Programmable Generator;Three-Phase Series RLC Branch;Three-Phase Series RLC Load;Three-Phase Transformer (Three Windings);Three-Phase VI Measurement;Three-phase Three-Winding Saturable Transformer - Shell Type;UnitDelay;Voltage Sensor

BLOCKTYPE_FREQUENCY:
1;2;1;1;2;13;6;15;2;4;1;8;9;20;1;23;17;16;1;3;8;1;2;2;10;13;4;62;6;32;13;22;1;9;25;7;19;4;1;4;4;3;2;1;1;2;1;2;1;2;6


MODELNAME: FivePhasePMSM
PATH: examples/simscapeelectricalsps/main/FivePhasePMSM.slx
BLOCKTYPE_FREQUENCY: 3;4;9;6;4;16;6;33;10;12;2;8;1;2;8;2;6;5;19;3;2;10;2
CHECKSUM: 966F794E99C03E7DD3FBE6BB2685511B
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Current references: normal operation Current references: phase a open Current references: normal operation Current references: phase a open Current references: phases a & b open 5 Phase Permanent Magnet Synchronous Machine with postfault operating strategy 3 Phase Permanent Magnet Synchronous Machine with postfault operating strategy

BLOCK:
3-Phase Permanent Magnet Synchronous Machine;5-Phase Permanent Magnet Synchronous Machine;Breaker;Bus Selector;Command;Constant;DQ-ABC;DQ-ABCDE;Demux;Fault operation command;Fcn;Gain;Iabcde*;Id1* ;Id2*;In_;Info;Integral;Iq1* ;Iq2*;Load;Mux;Out_;PWM Inverter;Proportional;Reference;Relay;Rotor Speed;Saturation;Scope;Speed Ref;SubSystem;Sum;Switch;Terminator_;Teta;Transfer Fcn;compar;ia;iabc;iabcde;iabcr;iar;ib;ibr;ic;icr;id;idr;idref;ie;ier;ioref;iqref;iref;is_abc (A) is_abcde (A);powergui;stair;the;va;vab;vb;vbc;vbc (V);vc;vcd;vd;vde;ve

BLOCKTYPE:
Breaker;BusSelector;Constant;Controlled Voltage Source;Demux;Fcn;Gain;Inport;Mux;Outport;PI Controller;PMIOPort;PSB option menu block;Permanent Magnet Synchronous Machine;Relay;Saturate;Scope;Stair Generator;Sum;Switch;Terminator;TransferFcn;Voltage Measurement


MODELNAME: Flickermeter
PATH: examples/simscapeelectricalsps/main/Flickermeter.slx
CHECKSUM: 8792319DA9254655265B879529B951A5
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Half cycle RMS voltage indication 27.3 (s) IC : lp1_ini Freeze filter during Initialization Limitations For one alternance Input Voltage adaptor Module_1 Demodulator with squaring multiplier Module_2 Residual ripple component (dual frequency) elimination DC component elimination IC: hp_ini Weighting filters Weighted voltage fluctuation 8.8 Hz resonant frequency Module_3 0.3 (s) IC: 1/Gain Freeze filter during Initialization Short time integration (1 min) Flicker : 1 minute dose  Flicker : instantaneous sensation perceptibility (for recording) Squaring and smoothing Module_4 Voltage Fluctuation Generator  Silvano Casoria Power Systems and Mathematics IREQ, Hydro-Quebec Weighted voltage fluctuation Half cycle RMS normalized voltage  Voltage from input transformer Initialization Analog_Flickermeter_modules Instantaneous sensation Analog Flickermeter From input transformer ================= Current Regulators D-STATCOM Controller Giroux P., Sybille G. Power System Simulation Laboratory, IREQ Hydro-Quebec Iq negative(-) flowing into converter (inductive current) ==> Converter absorbing reactive power = Q positive(+)  Sign convention: Id positive(+) flowing into converter ==> Converter absorbing real power = P positive(+)  Sample Time = 4*Ts D-STATCOM 25kV, +/- 3Mvar Average Model + - - Reference:  Narain G. Hingorani and Laszlo Gyuyi, Understanding FACTS, IEEE Press , 2000 Flickermeter on a Distribution STATCOM 

BLOCK:
 Vabc; Vdc;-1<Id<+;-1<Iq<+;1 MW;2-km Feeder;21-km Feeder;2250<Vdc<;25 kV, 100MVA System;25kV / 600V;3 MW 0.2 Mvar;34.;6th_Order LowPass Butterworth;A;AC Voltage Regulator;Add;Analog Flickermeter;Analog Flickermeter model ;Analog_Flickermeter_modules;Anti-aliasing Filters (7);B;Bridge1 Average Model;Bridge2 Average Model;Bstatcom;Bus Creator;Bus Selector;C;C ;Ca_DVR;Constant;Controller (sample time=Ts*32);Conversion to MW for V(pu), I (pu/1MVA);Current Regulator;DC Link;DC Voltage Regulator;DStatcom;D_statcom_avg Controller;Data Acquisition;Deg->Rad;Demux;Digital Flickermeter;Discrete PI Controller;Discrete PID Controller;Discrete-Time Integrator;Divide;Double click here for more info;Edge Detector;Enable/Reset;FLICKER SCOPE;Fcn;First-Order Filter;First-Order Filter Highpass (fc = fc_hp);First-Order Filter Lowpass (Tc=T2_lp);From;Gain;Goto;Ground;Ground_;Ia;Iabc;Iabc ;Ib;IdIq;IdIq_Ref;Id_Ref;In;Init;Integrator;Iq_Iqref;Iq_Ref;Iq_ref (Manual);Iqref*;La_DVR;MEASUREMENTS;MagV;Mag_V;Mag_V ;Math Function;Max: Flick_max Min: ;Measuremnt Unit;Memory;Min: LimMin1 Max: LimMax1 ;Min: eps Max: inf;Module_;Module_1 ;Monostable;Mux;Out;Output_;PLL (3ph);PQ;PQ_B;Power (Positive-Sequence);Power (dq0, Instantaneous);Product;Programmable Voltage Source;Pulse Generator (T=60 s);Qref;RMS (fund = 2*f0);Rate Limiter;Reference;Relational Operator;S;Sample and Hold;Scope;Second-Order Low Pass Filter;Selector;Sequence Analyzer;Series RLC Branch;Sign;Sine Wave;SubSystem;Sum;Switch;Terminator;Terminator_;Three-Phase Mutual Inductance Z1-Z;Toff;Ton;Tr A;Tr B;Tr C;Transfer Fcn;Trigonometric Function;U;Unit Delay;Ut;V->pu;Va;VaIa;Va_Inv;Vabc;Vabc (t);Vac_Ref;Variable Load;VdVq;Vd_Vq--> m,Phi;Vdc;Vdc ;Vdc_Ref;VmagB1B;Voltage;Voltage Measurement;Voltage fluctuation generator (part of Module_1);Vref_abc;Zero-Order Hold;a;abc to dq;b;c;deg. ->rad;enable;fonction;m;m_Phi;m_Phi->Vabc(t);output Ground;powergui;pu->kA;pu->kV;starts at 0.15 s;t;theta;w;w->theta;wt

BLOCKTYPE:
Anti-aliasing (2nd order lowpass);BusCreator;BusSelector;Constant;Controlled Current Source;Current Regulators;D-STATCOM Controller;DC Voltage regulator;Demux;Digital Flickermeter;DigitalClock;DiscreteIntegrator;DiscretePulseGenerator;Edge Detector;EnablePort;Fcn;First-Order Filter;Flickermeter (analog implementation) ;From;Gain;Goto;Ground;Inport;Integrator;Linear Transformer;Math;Memory;Monostable;Mux;Outport;PID 1dof;PLL (3ph);PMIOPort;PSB option menu block;Parallel RLC Branch;Power (Positive-Sequence);Power (dq0, Instantaneous);Product;RMS;RateLimiter;RelationalOperator;Sample and Hold ;Saturate;Scope;Second-Order Filter;Selector;Sequence Analyzer;Series RLC Branch;Signum;Sin;Step;Sum;Switch;Terminator;Three-Phase Mutual Inductance Z1-Z0;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Programmable Voltage Source;Three-Phase Series RLC Branch;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;TransferFcn;Trigonometry;UnitDelay;Universal Bridge;Variable Load (Constant Current);Voltage Measurement;ZeroOrderHold;abc to dq0 Transformation

BLOCKTYPE_FREQUENCY:
1;1;1;19;2;1;1;2;4;1;1;1;1;1;1;3;3;1;24;12;13;9;33;1;3;4;3;1;11;34;4;2;12;1;1;1;1;7;1;3;2;1;6;4;4;7;2;9;1;3;3;10;6;7;1;1;2;1;1;1;4;3;3;2;2;1;6;3;2


MODELNAME: FlickermeterStatisticalAnalysis
PATH: examples/simscapeelectricalsps/main/FlickermeterStatisticalAnalysis.slx
BLOCKTYPE_FREQUENCY: 1;1;1;1;1;1;1;1;1
CHECKSUM: A5211B2BD2AB2C42514326F0A8DFA2C0
PRODUCT: MATLAB;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Narain G. Hingorani and Laszlo Gyuyi, Understanding FACTS, IEEE Press , 2000 Reference:   Data to be loaded in the Statistical Analysis Module  When the simulation is completed, open the Digital Flikermeter and click the Open statistical analysis button. Flickermeter Statistical Analysis module 

BLOCK:
AC 60 Hz;Digital Flickermeter;Double click here for more info;Flicker;Product;Reference;Signal with flicker (magnitude);SubSystem;Terminator_;To Workspace;powergui;starts at 10s

BLOCKTYPE:
Digital Flickermeter;FromWorkspace;PSB option menu block;Product;Scope;Sin;Step;Terminator;ToWorkspace


MODELNAME: FlybackConverter
PATH: examples/simscapeelectricalsps/main/FlybackConverter.slx
BLOCKTYPE_FREQUENCY: 1;2;1;3;2;1;1;1;2;1;1;3;3;2;1;1
CHECKSUM: C1938061DA440151D8DE8308292E7766
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 (15V) Leakage=3% of Lmag  Vout = n x D/(1-D) x Vin where: D=Duty cycle n= turns ratio = N2/N1   (150V)  Flyback Converter with Transformer Leakage  The flyback converter is a buck-boost converter with isolation between its input and output Learn more about this example. 

BLOCK:
C;Currents;D;From;Goto;Linear Transformer;Load;MOSFET;Multimeter;Pulse Generator;Reference;Selector;Snubber;Step;Switch;Vfet;Vin;Voltage Measurement;Vout;powergui

BLOCKTYPE:
DC Voltage Source;Diode;DiscretePulseGenerator;From;Goto;Ideal Switch;Linear Transformer;Mosfet;Multimeter;PSB option menu block;Parallel RLC Branch;Scope;Selector;Series RLC Branch;Step;Voltage Measurement


MODELNAME: ForwardConverter
PATH: examples/simscapeelectricalsps/main/ForwardConverter.slx
BLOCKTYPE_FREQUENCY: 1;1;3;1;2;2;1;1;2;1;2;1;3;1
CHECKSUM: 6BF592F925FD765760395753123EABC4
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 (12.8V)  Vout = n x D x Vin where: D=Duty cycle n= turns ratio = N2/N1   (48V)  Forward Converter  This example shows the operation of a forward converter. Learn more about this example. 

BLOCK:
C;Current Measurement;Currents;D;From;Goto;Linear Transformer;Load;Lx;MOSFET;Multimeter;Pulse Generator;Reference;Selector;Vin;Voltage Measurement;Vout;powergui

BLOCKTYPE:
Current Measurement;DC Voltage Source;Diode;DiscretePulseGenerator;From;Goto;Linear Transformer;Mosfet;Multimeter;PSB option menu block;Scope;Selector;Series RLC Branch;Voltage Measurement


MODELNAME: FrequencyMeasurement
PATH: examples/simscapeelectricalsps/main/FrequencyMeasurement.slx
BLOCKTYPE_FREQUENCY: 12;23;2;4;2;6;3;8;4;17;8;6;4;4;1;8;6;1;1;2;1;4;9;4;16;2;4;4;4;2
CHECKSUM: BA74DD6BD5D8C5B032D892D841FAF604
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Area 1 ==> to Bus B1 ==> to Bus B2 Area 2 Performance of Frequency Measurement (Phasor)  Power/frequency regulation at t=75 sec : reduction of reference power of machine M1  This example shows the use of Frequency (phasor) blocks to measure the frequency variation in a network following a line outage. Learn more about this example. 

BLOCK:
 A; B; Brk; C;-200MVAR;-350MVAR;10 km Area ;1767MW 100MVAR -187MVAR;25km Area ;967MW 100MVAR -187MVAR;A;Add;Area ;B;Brk;Bus Selector;C;Delta Pa PSS ;Delta w PSS (Kundur) ;EXCITATION;Frequency (at B1);Frequency (at B2);From;Gain;Goto;Line A (220 km);Line B (220 km);Load Flow Bus;M1 900 MVA;M1: Turbine & Regulators;M2 900 MVA;M2: Turbine & Regulators;M3 900 MVA;M3: Turbine & Regulators;M4 900 MVA;M4: Turbine & Regulators;MB-PSS ;Multiport Switch;Mux;PSS;PSS model;PSS selector;Pm;Pre M;Pref;Reference;STG;Scope;Sequence Analyzer (Phasor);SubSystem;Sum;T1: 900MVA 20 kV-230 kV;T2: 900MVA 20 kV/230 kV;T3: 900MVA 20 kV-230 kV;T4: 900MVA 20 kV/230 kV;Terminator;Terminator_;Vf;Vref;Vref M;deg->rad;m;powergui;wref

BLOCKTYPE:
BusSelector;Constant;Distributed Parameters Line;Excitation System;Frequency (Phasor);From;Gain;Generic Power System Stabilizer;Goto;Inport;InportShadow;Load Flow Bus;Multi-Band Power System Stabilizer ;MultiPortSwitch;Mux;Outport;PMIOPort;PSB option menu block;Scope;Sequence Analyzer (Phasor);Stair Generator;Steam Turbine and Governor;Sum;Synchronous Machine;Terminator;Three-Phase Breaker;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement


MODELNAME: FuelCellStack
PATH: examples/simscapeelectricalsps/main/FuelCellStack.slx
ANNOTATION: 6 kW 45 Vdc Fuel Cell Stack
BLOCKTYPE_FREQUENCY: 1;2;1;1;1;2;1;1;2;1;1;4;1;2;7;2;2;6;1;7;1;1;1;1;3;2;1;3;4;1;1;3
CHECKSUM: A1C5F17C6DDFA56948376145E0DEFA78
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
+;+ FC;-;- FC;100Vdc Boost DC/DC Converter (average value);A;Add;Average-value armature voltage;Average-value source current;Bus Creator;Bus Selector;Bus to Vector;CBus;Chopper;Clock;Compare To Constant;Constant;Controlled Current Source;Controlled Voltage Source;Ctrl sat.;Current;Current Measurement;Current controller DISCRETE;Discrete-Time Integrator;Duty Cycle;Duty Cycles;Ec;Edge Detector;Fcn;Flow rate regulator;Flow rate selector;Fr_reg_in;Fr_reg_out;Fuel Cell Stack;Integral gain;L;Memory;More Info;Mux;Proportional gain;Ramp;Ramp_Fr;Reference;Sample and Hold;Saturation;Scope;Selector;Series RLC Branch;SubSystem;Sum;Sw;Switch;Transfer Fcn;UBus;Uref;Voltage Measurement;dc;flow rate;powergui;ramp

BLOCKTYPE:
BusCreator;BusSelector;BusToVector;Clock;Compare To Constant;Constant;Controlled Current Source;Controlled Voltage Source;Current Measurement;DiscreteIntegrator;Edge Detector;Fcn;Fuel Cell Stack;Gain;Inport;Memory;Mux;Outport;PI controller;PMIOPort;PSB option menu block;Ramp;SPSdrives Converter;Sample and Hold ;Saturate;Scope;Selector;Series RLC Branch;Sum;Switch;TransferFcn;Voltage Measurement


MODELNAME: FullWaveRectifier
PATH: examples/simscapeelectricalsps/main/FullWaveRectifier.slx
BLOCKTYPE_FREQUENCY: 1;2;2;4;4;6;1;1;1;2;1;1;2
CHECKSUM: 9F22176AEEE3C0F50E9F989F89944B48
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Full-Wave Rectifier  This example shows the operation of a 64 W, 24 Vdc, full-wave rectifier using ideal diodes. Learn more about this example. 

BLOCK:
C;D;From;Goto;Ground (input);ID;L;Mux;R;Reference;Scope;Transformer;Vd;Vload;Vs;output Ground;powergui

BLOCKTYPE:
AC Voltage Source;Current Measurement;Diode;From;Goto;Ground;Linear Transformer;Mux;PSB option menu block;Parallel RLC Branch;Scope;Series RLC Branch;Voltage Measurement


MODELNAME: GTOConverter
PATH: examples/simscapeelectricalsps/main/GTOConverter.slx
BLOCKTYPE_FREQUENCY: 74;2;2;1;1;2;27;2;2;40;24;13;19;20;6;1;1;24;1;12;62;2;4;1;1;1;2;2;4
CHECKSUM: 28E402CE520969B06CCD8D6683AFA35C
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
48-pulse Voltage-Sourced Converter (switches) Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete Virtual PLL <--Sigma--> | | | | | | Q4 Q3 Q2 Q1 ****************************************** ******************************************** ****************** ****************** 360 180 0 I--------------------------------I-----------------------------I-- Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation Pulses timing =========== | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q1,Q2,Q3,Q4 Q2,Q3 Q4,Q1 + Vdc ------------------------------- - Vdc ------------------------------- N ------- | | | | | | | | | | | ---------- A --------[D-NN]--------- --------[D_NP]--------- | | [G4] | | | | | [Q3] | | | | [Q2] | | | | | [Q1] | | | | | [Q1] | | | | [Q2] | | | | [Q3] | | | | [G4] | | | --------[D_NP]--------- --------[D-NN]--------- ---------- A | | | | | | | | | | | N ------- - Vdc ------------------------------- + Vdc ------------------------------- Q4,Q1 Q2,Q3 Q1,Q2,Q3,Q4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulses timing =========== Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation I--------------------------------I-----------------------------I-- 0 180 360 ****************** ****************** ******************************************** ****************************************** Q1 Q2 Q3 Q4 | | | | | | <--Sigma--> <--Sigma--> | | | | | | Q4 Q3 Q2 Q1 ****************************************** ******************************************** ****************** ****************** 360 180 0 I--------------------------------I-----------------------------I-- Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation Pulses timing =========== | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q1,Q2,Q3,Q4 Q2,Q3 Q4,Q1 + Vdc ------------------------------- - Vdc ------------------------------- N ------- | | | | | | | | | | | ---------- A --------[D-NN]--------- --------[D_NP]--------- | | [G4] | | | | | [Q3] | | | | [Q2] | | | | | [Q1] | | | | | [Q1] | | | | [Q2] | | | | [Q3] | | | | [G4] | | | --------[D_NP]--------- --------[D-NN]--------- ---------- A | | | | | | | | | | | N ------- - Vdc ------------------------------- + Vdc ------------------------------- Q4,Q1 Q2,Q3 Q1,Q2,Q3,Q4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulses timing =========== Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation I--------------------------------I-----------------------------I-- 0 180 360 ****************** ****************** ******************************************** ****************************************** Q1 Q2 Q3 Q4 | | | | | | <--Sigma--> <--Sigma--> | | | | | | Q4 Q3 Q2 Q1 ****************************************** ******************************************** ****************** ****************** 360 180 0 I--------------------------------I-----------------------------I-- Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation Pulses timing =========== | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q1,Q2,Q3,Q4 Q2,Q3 Q4,Q1 + Vdc ------------------------------- - Vdc ------------------------------- N ------- | | | | | | | | | | | ---------- A --------[D-NN]--------- --------[D_NP]--------- | | [G4] | | | | | [Q3] | | | | [Q2] | | | | | [Q1] | | | | | [Q1] | | | | [Q2] | | | | [Q3] | | | | [G4] | | | --------[D_NP]--------- --------[D-NN]--------- ---------- A | | | | | | | | | | | N ------- - Vdc ------------------------------- + Vdc ------------------------------- Q4,Q1 Q2,Q3 Q1,Q2,Q3,Q4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulses timing =========== Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation I--------------------------------I-----------------------------I-- 0 180 360 ****************** ****************** ******************************************** ****************************************** Q1 Q2 Q3 Q4 | | | | | | <--Sigma--> <--Sigma--> | | | | | | Q4 Q3 Q2 Q1 ****************************************** ******************************************** ****************** ****************** 360 180 0 I--------------------------------I-----------------------------I-- Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation Pulses timing =========== | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q1,Q2,Q3,Q4 Q2,Q3 Q4,Q1 + Vdc ------------------------------- - Vdc ------------------------------- N ------- | | | | | | | | | | | ---------- A --------[D-NN]--------- --------[D_NP]--------- | | [G4] | | | | | [Q3] | | | | [Q2] | | | | | [Q1] | | | | | [Q1] | | | | [Q2] | | | | [Q3] | | | | [G4] | | | --------[D_NP]--------- --------[D-NN]--------- ---------- A | | | | | | | | | | | N ------- - Vdc ------------------------------- + Vdc ------------------------------- Q4,Q1 Q2,Q3 Q1,Q2,Q3,Q4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulses timing =========== Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation I--------------------------------I-----------------------------I-- 0 180 360 ****************** ****************** ******************************************** ****************************************** Q1 Q2 Q3 Q4 | | | | | | <--Sigma--> <--Sigma--> | | | | | | Q4 Q3 Q2 Q1 ****************************************** ******************************************** ****************** ****************** 360 180 0 I--------------------------------I-----------------------------I-- Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation Pulses timing =========== | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q1,Q2,Q3,Q4 Q2,Q3 Q4,Q1 + Vdc ------------------------------- - Vdc ------------------------------- N ------- | | | | | | | | | | | ---------- A --------[D-NN]--------- --------[D_NP]--------- | | [G4] | | | | | [Q3] | | | | [Q2] | | | | | [Q1] | | | | | [Q1] | | | | [Q2] | | | | [Q3] | | | | [G4] | | | --------[D_NP]--------- --------[D-NN]--------- ---------- A | | | | | | | | | | | N ------- - Vdc ------------------------------- + Vdc ------------------------------- Q4,Q1 Q2,Q3 Q1,Q2,Q3,Q4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulses timing =========== Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation I--------------------------------I-----------------------------I-- 0 180 360 ****************** ****************** ******************************************** ****************************************** Q1 Q2 Q3 Q4 | | | | | | <--Sigma--> <--Sigma--> | | | | | | Q4 Q3 Q2 Q1 ****************************************** ******************************************** ****************** ****************** 360 180 0 I--------------------------------I-----------------------------I-- Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation Pulses timing =========== | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q1,Q2,Q3,Q4 Q2,Q3 Q4,Q1 + Vdc ------------------------------- - Vdc ------------------------------- N ------- | | | | | | | | | | | ---------- A --------[D-NN]--------- --------[D_NP]--------- | | [G4] | | | | | [Q3] | | | | [Q2] | | | | | [Q1] | | | | | [Q1] | | | | [Q2] | | | | [Q3] | | | | [G4] | | | --------[D_NP]--------- --------[D-NN]--------- ---------- A | | | | | | | | | | | N ------- - Vdc ------------------------------- + Vdc ------------------------------- Q4,Q1 Q2,Q3 Q1,Q2,Q3,Q4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulses timing =========== Normal 180deg Operation Normal 180deg Operation Normal 180deg Operation I--------------------------------I-----------------------------I-- 0 180 360 ****************** ****************** ******************************************** ****************************************** Q1 Q2 Q3 Q4 | | | | | | <--Sigma-->  Three-Phase 48-Pulse GTO Converter  This example shows the use of three-level converters and zig-zag phase-shifting transformers in a 48-pulse square-wave GTO converter. Learn more about this example. 

BLOCK:
+;-;100MW;3-Phase Breaker;48-pulse Inverter 138kV-100 MVA;9650 V ;A;Alpha;B;Bridge 1D;Bridge 1Y ;Bridge 2D;Bridge 2Y;C;Constant;Deg->Rad;Deg->Rad ;Demux;Discrete Virtual PLL;Firing Pulses Generator;Freq;From;Gain;Goto;Initial Vd_Vq;Logical Operator;Math Function;Mux;N;Phase A;Phase B;Phase C;Product;Pulses;Reference;Relational Operator;Scope;Selector;Sigma;Sigma (deg);Sin_Cos;SubSystem;Sum;Terminator;Three-Level Bridge 1D;Three-Level Bridge 1Y;Three-Level Bridge 2D;Three-Level Bridge 2Y;Three-Phase V-I Measurement;Trigonometric Function;Vab_1Y;Van_1Y;Zigzag Phase Shifting Transformer (+7.5 -30 deg);Zigzag Phase Shifting Transformer (+7.5 deg);Zigzag Phase Shifting Transformer (-7.5 -30 deg);Zigzag Phase Shifting Transformer (-7.5 deg);not used (inverter operated in open-loop);output Ground;powergui;sigma;t;wt

BLOCKTYPE:
Constant;DC Voltage Source;Demux;DigitalClock;Discrete Virtual PLL;From;Gain;Goto;Ground;Inport;Logic;Math;Mux;Outport;PMIOPort;PSB option menu block;Product;RelationalOperator;Scope;Selector;Sum;Terminator;Three-Level Bridge;Three-Phase Breaker;Three-Phase Series RLC Load;Three-Phase VI Measurement;Trigonometry;Voltage Measurement;Zigzag Phase-Shifting Transformer


MODELNAME: GearSpeedReducer
PATH: examples/simscapeelectricalsps/main/GearSpeedReducer.slx
ANNOTATION: Gear Speed Reducer (Simscape model)
BLOCKTYPE_FREQUENCY: 6;3;1;2;1;1;1;1;6;4;1;1;1;2;8;2;16;30;10;1;3;2;1;1;1;3
CHECKSUM: DAF9155C9AF5923DC2807E6F83A48B8D
PRODUCT: MATLAB;Simscape;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
B;Bus Creator;Bus Selector;C;Conn;Demux;Driving speed;F;Gear Box;Gear Speed Reducer;Gear set;H;High coupling;IC;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inertia;L;Load;Low coupling;Mechanical Rotational Reference;More Info;Mux;N;Nh;Out;PS-Simulink Converter;R;Ref.;Reference;Rotational Damper;Rotational Spring;S;Scope;Simulink-PS Converter;Solver Configuration;Speed Ramp;Speed Reference;Speed Sensor_NI;Speed Sensor_Nh;SubSystem;TI;Terminator;Th;Torque Sensor_TI;Torque Sensor_Th;m;speed ramp

BLOCKTYPE:
BusCreator;BusSelector;Constant;Demux;Gear Box;Gear Speed Reducer;Gearbox;Ideal Angular Velocity Source;Ideal Rotational Motion Sensor;Ideal Torque Sensor;Inertia;InitialCondition;Inport;Mechanical Coupling;Mechanical Rotational Reference;Mux;Outport;PMIOPort;PS-Simulink Converter;RateLimiter;Rotational Damper;Rotational Spring;Scope;Simulink-PS Converter;Solver Configuration;Terminator


MODELNAME: GridConnectedPVArray
PATH: examples/simscapeelectricalsps/main/GridConnectedPVArray.slx
BLOCKTYPE_FREQUENCY: 3;1;13;5;2;16;10;9;1;1;19;1;2;6;15;1;2;1;1;1;1;1;4;1;1;1;2;10;6;3;1;7;1;3;1;3;1;1;1;2;1;1;1;2;2
CHECKSUM: 28B6F1A4E9123DEFC7AE5B4635892C5D
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Current Regulator ================ Sign Convention: Current going out of the converter = positive current Iq positive --> The converter absorbs reactive power (Inductive mode) = Reactive Power Q negative  Id positive --> The converter generates active power (Inverter mode) = Active Power P positive Parameters for Perturb and Observe Algorithm: Lower limit for Vdc_ref (Dmax) Initial value for Vdc_ref output (Dinit) Increment value used to increase/decrease Vdc_ref (DeltaD) Upper limit for Vdc_ref (Dmax) PLL & Measurements =================== (Correction for transformer D1 connection) (Correction for delai of Ts_Control) Uref Generation ============== 250-kW Grid-Connected PV Array

BLOCK:
 Demux ; SFunction ; Terminator ;120 kV / 25 kV 47 MVA;120kV 2500MVA;14-km Feeder;2-MW Load;250-kW Load;3-Level IGBTs Bridge;3.3ohms ;30-MW 2-Mvar Load;8-km Feeder;Add;B;Bus Selector;C;Complex to Magnitude-Angle;Constant;Current Regulator;D;Demux;Double click here for more info;Double-click to open parameters .m file;Enabled;From;Gain;Goto;Ground;Grounding Transformer ;I;I_PV;Ia;Iabc_prim;IdIq (pu) VSC Control;IdIq_meas;IdIq_prim;IdIq_ref;Id_ref;Inverter Control;Iph_;Iq_ref;Irradiance (W/m2);Lff;Lff ;MPPT Controller using Perturbe & Observe technique ;MPPT Parameters;MPPT_On;Mean;Mod_Index;Mux;On;Overmodulation;P;PI;PI_Ireg;PLL & Measurements;PLL (3ph);PV;PV Array;PWM Generator (3-Level);P_B1 (kW);Pac;Param;Pdc;Pmean;Power (Positive-Sequence);Product;RL;Rate Limiter;Real-Imag to Complex;Reference;Rff;Rff ;Rtot_pu;Saturation;Selector;SubSystem;Subsystem;Sum;Switch;Temperature (Deg. C);Terminator;Tr;Trigonometric Function;Uabc_ref;Uabc_ref Generation max (m) = ;Unit Delay;Urefs_phaseA;V;V mean;V->pu;VDC Regulator;V_PV;Va;Va Ia B;Vab_Inverter;Vabc_prim;VdVq_conv;VdVq_meas;VdVq_prim;Vdc ;Vdc_meas;Vdc_ref;Vdc_ref Vdc_meas;Vnom_dc;W2kW;abc to dq;g;powergui;wt

BLOCKTYPE:
BusSelector;ComplexToMagnitudeAngle;Constant;Demux;Distributed Parameters Line;From;Gain;Goto;Ground;Grounding Transformer;Inport;Inverter Control;Mean;Mux;Outport;Overmodulation;PID 1dof;PLL (3ph);PSB option menu block;PV array;PWM Generator (3-Level);Power (Positive-Sequence);Product;RateLimiter;RealImagToComplex;S-Function;Saturate;Scope;Selector;Series RLC Branch;Stair Generator;Sum;Switch;Terminator;Three-Level Bridge;Three-Phase Parallel RLC Load;Three-Phase Series RLC Branch;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Trigonometry;UnitDelay;Voltage Measurement;abc to dq0 Transformation


MODELNAME: GridConnectedPVFarm
PATH: examples/simscapeelectricalsps/main/GridConnectedPVFarm.slx
CHECKSUM: 3105113180D76AB7148B6230957826BC
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Shifting from ]0 to 1[ to a ]-1 to 1[ scale P=Va*Ia=Vdc*Idc Idc=Va*Ia/Vdc Upper limit for D (Dmax) Increment value used to increase/decrease (DeltaD) Initial value for D output (Dinit) (D = Boost converter duty cycle)  Lower limit for D (Dmax) Parameters for Perturb and Observe Algorithm: Shifting from ]0 to 1[ to a ]-1 to 1[ scale P=Va*Ia=Vdc*Idc Idc=Va*Ia/Vdc Parameters for Perturb and Observe Algorithm: Lower limit for D (Dmax) (D = Boost converter duty cycle)  Initial value for D output (Dinit) Increment value used to increase/decrease (DeltaD) Upper limit for D (Dmax) Shifting from ]0 to 1[ to a ]-1 to 1[ scale P=Va*Ia=Vdc*Idc Idc=Va*Ia/Vdc Upper limit for D (Dmax) Increment value used to increase/decrease (DeltaD) Initial value for D output (Dinit) (D = Boost converter duty cycle)  Lower limit for D (Dmax) Parameters for Perturb and Observe Algorithm: Shifting from ]0 to 1[ to a ]-1 to 1[ scale P=Va*Ia=Vdc*Idc Idc=Va*Ia/Vdc Parameters for Perturb and Observe Algorithm: Lower limit for D (Dmax) (D = Boost converter duty cycle)  Initial value for D output (Dinit) Increment value used to increase/decrease (DeltaD) Upper limit for D (Dmax) For Ltot >> Rtot :  (Vq_prim - Vq_conv) ~ = - Id * Ltot  (Vd_prim - Vd_conv) ~= + Iq * Ltot Ltot = Lxfo + Lchoke Rtot = Rxfo + Rchoke Id positive --> The converter generates active power (Inverter mode) = Active Power P positive Iq positive --> The converter absorbs reactive power (Inductive mode) = Reactive Power Q negative  Sign Convention: Current going out of the converter = positive current Current Regulator (with feedforward) Vq_mes + Id*L + Iq*R + deriv(Iq)*L/wbase= Vq_conv  Vd_mes + Id*R - Iq*L + deriv(Id)*L/wbase= Vd_conv harmonic filter neglected (Correction for delai of Ts_Control) (Correction for transformer D1 connection) VSC Main Controller 400-kW Grid-Connected PV Farm (Average Model)

BLOCK:
 +; -; Demux ; SFunction ; Terminator ;+;+PV;-;-PV;100-kW Load;120 kV / 25 kV 47 MVA;120kV 2500MVA;14 km Feeder;2-MW Load;3.3ohms ;30-MW 2-Mvar Load;40 kvar;400 kVA 260V / 25 kV;8 km Feeder;A;Add;Bias;Boost Converter (Average Model);Bus Selector;C;Complex to Magnitude-Angle;Constant;Controlled Current Source;Controlled Voltage Source;Current Measurement;Current Regulator;D;DC/DC ;Demux;Double click here for more info;Eliminate algebric loop;Enabled;From;Gain;Goto;Ground;Grounding Transformer ;I;Iabc_prim;IdIq (pu) VSC Control;IdIq_meas;IdIq_prim;IdIq_ref;Id_ref;Idc;In;Iph_;Iq_ref;Irradiance (W/m2) ;L;Ltot_pu;MPPT Control ;MPPT Parameters;Mean;Mod Index VSC Control;Mult;Mux;Out;PI;PLL;PLL & Measurements;PV;PV Array ;PV1 - yellow PV2 - magenta PV3 - cyan PV4 - red;Param;Power (Positive-Sequence);Prediction;Product;Rate Limiter;Real-Imag to Complex;Reference;Rtot_pu;Saturation;Selector;SubSystem;Subsystem;Subtract;Sum;Terminator;Trigonometric Function;Uabc_ref;Uabc_ref Generation max (m) = ;Unit Delay;Uref;V;V->pu;VDC Regulator;VI PQ grid;VSC (Average Model);VSC Control;Vabc_prim;VdVq_conv;VdVq_meas;VdVq_prim;Vdc;Vdc ;Vdc_meas;Vdc_ref;Vdc_ref Vdc;Voltage Measurement;WkW;abc_to_dq0 Transformation;grid;m;m_PV;powergui;prediction;scaling;to-Kva;wt

BLOCKTYPE:
Bias;Boost Converter (Average Model);BusSelector;ComplexToMagnitudeAngle;Constant;Controlled Current Source;Controlled Voltage Source;Current Measurement;Demux;Discrete 3-phase PLL;From;Gain;Goto;Ground;Grounding Transformer;Inport;Mean;Mux;Outport;PID 1dof;PMIOPort;PSB option menu block;PV array;Power (Positive-Sequence);Product;RateLimiter;RealImagToComplex;S-Function;Saturate;Scope;Selector;Series RLC Branch;Stair Generator;Sum;Terminator;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Series RLC Branch;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Trigonometry;UnitDelay;Universal Bridge;VSC Main Controller;Voltage Measurement;abc to dq0 Transformation

BLOCKTYPE_FREQUENCY:
4;4;12;1;35;4;4;4;8;1;27;25;20;1;1;44;4;11;23;2;28;1;4;1;19;4;1;4;6;9;2;11;4;23;5;2;3;1;1;1;2;1;1;17;1;1;5;2


MODELNAME: GroundTransportationSystem
PATH: examples/simscapeelectricalsps/main/GroundTransportationSystem.slx
CHECKSUM: 1485380E3FC10A75B24633A5D325F317
PRODUCT: MATLAB;Simscape Electrical;Simulink;Simulink Real-Time
PRODUCT_BASECODE: PS
ANNOTATION:
phi = Lm * Ids * (1 / (1 +Tr .s))  where Tr = (Llr+Lm) / Rr   Iqs= (2/3) * (1/p) * (Llr+Lm)/Lm * Te/phi  Ids=phir/Lm Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  theta= Electrical angle= integ ( wm + wsl )  where wsl = Slip frequency =Iqs * Lm / (Tr*phi)  Calculation of Flux, theta &amp; IdIq Reference  INPUTS  Field-Oriented Controller (FOC) Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. For Ltot >> Rtot :  (Vq_prim - Vq_conv) ~ = - Id * Ltot  (Vd_prim - Vd_conv) ~= + Iq * Ltot Ltot = Lxfo + Lchoke Rtot = Rxfo + Rchoke Id positive --> The converter generates active power (Inverter mode) = Active Power P positive Iq positive --> The converter absorbs reactive power (Inductive mode) = Reactive Power Q negative  Sign Convention: Current going out of the converter = positive current Current Regulator (with feedforward) Vq_mes + Id*L + Iq*R + deriv(Iq)*L/wbase= Vq_conv  Vd_mes + Id*R - Iq*L + deriv(Id)*L/wbase= Vd_conv harmonic filter neglected 1/4 cycle delay Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. (Correction for delay of Ts_Control)  Field-Oriented Control of an Induction Motor Drive Used in a Ground Transportation System 750V - DC Link  This example demonstrates the operation of a variable-speed drive in a trolleybus traction system Learn more about this example. 

BLOCK:
 ; Demux ; SFunction ; Terminator ; b;15kV Source;15kV/460V 150 kVA;20 MVA 15kV System;20 kW (750V);4000uF;A;A->pu;Add;Additional Scopes & Measurements;Alpha-Beta-Zero to dq;Avoid division by zero;B;Bus Creator;Bus Selector;Clk;Compare To Zero;Complex to Magnitude-Angle;Complex to Real-Imag;Constant;Control;Current Regulator;D;Data Type Conversion;Demux;Digital Clock;Discrete-Time Integrator;Divide;Error;FOC;Fcn;First-Order Filter;Flux calculation;Freq;From;Full-Bridge Converter;Fundamental (PLL-Driven);Gain;Get Overload Counter ;Goto;Ground;Hypot;I;IdIq;IdIq_meas;IdIq_ref;IdIqs;IdIqs_ref;Id_ref;Idq;Ids;Ids & Iqs reference calculation;Ids_Iqs_ref;Imeas;Induction Motor 150 HP / 460 V;Inverter;Iqref;Iqs;KF;Ki;Kp;Lm;Load Torque (N.m);Load_Step;Logical Operator;Ltot_pu;MATLAB Function;Magnitude-Angle to Complex;Math Function;Mean;Measurements;ModIndex;Motor;Mux;Notch(2nd) (2000uF);Out;P;PI regulator with anti-windup D;PIdq;PLL;PLL & Measurements;PQ_kVA;PWM Generator;PWM Modulator ;Phi*;Power (dq0, Instantaneous);Product;Qreg_On;Real-Imag to Complex;Rec;Rectifier;Rectifier Controller;Reference;Relational Operator;Round;Rtot_pu;Saturation;Scope ;Scope 2 ;Scope1_Ctrl_FOC;Scope1_Ctrl_Rec;Scope2_Ctrl_FOC;Scope2_Ctrl_Rec;Second-Order Filter;Selector;Sig_FOC;Sig_Rec;Simulink Real-Time (Run on Target);Single-Phase dq Transform;Speed Reference (RPM);Speed Regulator;SubSystem;Sum;Switch;Te_ref;Terminator;Three-Phase V-I Measurement;Trigonometric Function;Two-Level Converter;Unit Delay;V;V->pu;VDC Regulator;Vac;Variable Integer Delay;VdVq;VdVq_conv;VdVq_meas;Vdc;Vdc_meas;Vdc_ref;Voltage Measurement;Vref;Vref Generation ;Vrms;Zero-Order Hold;a;avoid division by zero;dq0 to abc;gInv;is_abc;mMotor;meas;mes_Iac;phi;phir_ref;powergui;stator currents abc to dq conversion;theta;theta calculation;to-RPM;to-kva;to-rad;to-red_s;to-rms;w;wm;wref;wt

BLOCKTYPE:
AC Voltage Source;Alpha-Beta-Zero to dq0 Transformation;Asynchronous Machine;BusCreator;BusSelector;Compare To Zero;ComplexToMagnitudeAngle;ComplexToRealImag;Constant;Current Measurement;Current Regulators;DataTypeConversion;Delay;Demux;DigitalClock;Discrete PI Controller;DiscreteIntegrator;Fcn;Field-Oriented Controller (FOC);First-Order Filter;From;Full-Bridge Converter;Fundamental (PLL-Driven);Gain;Goto;Ground;Inport;Linear Transformer;Logic;MagnitudeAngleToComplex;Math;Mean;Mux;Outport;PLL;PMIOPort;PSB option menu block;PWM Generator Pulse Averaging;Power (dq0, Instantaneous);Product;RealImagToComplex;Rectifier Control;RelationalOperator;Rounding;S-Function;Saturate;Scope;Second-Order Filter;Selector;Series RLC Branch;Speed Regulator;Stair Generator;Sum;Switch;Terminator;Three-Phase VI Measurement;Trigonometry;Two-Level Converter;Unified PWM Modulator for a 2-level, 3-phase converter;UnitDelay;Voltage Measurement;ZeroOrderHold;abc to dq0 Transformation;dq0 to abc Transformation;xpcgetoverload;xpcscopeblock

BLOCKTYPE_FREQUENCY:
1;1;1;2;17;10;1;1;33;1;1;1;1;10;1;4;6;2;1;1;51;1;1;39;34;1;48;1;15;1;2;1;19;31;1;4;1;1;1;9;1;1;10;1;1;13;7;5;13;5;1;1;22;5;2;1;1;1;1;3;2;6;1;1;1;4


MODELNAME: HBridgeMotorDrive
PATH: examples/simscapeelectricalsps/main/HBridgeMotorDrive.slx
BLOCKTYPE_FREQUENCY: 3;4;2;1;1;4;1;5;2;5;4;1;2;1;1;2;1;1;1
CHECKSUM: 50C60B4C9CC3FDE63D883A0DE4D37922
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Load Torque proportional to square of speed (Fan type) T=k*w^2   Speed Control of a DC Motor Using BJT H-Bridge  This example shows the simulation of an H-bridge used to generate a chopped voltage and to control the speed of a DC motor. Learn more about this example. 

BLOCK:
240V;300V;Armature Voltage control;Bus Selector;Constant;Currents;D;DC Motor;Demux;From;Goto;Math Function;Mux;Product;Pulse Generator 500 Hz;Q;Reference;Scope;Sign;Switch;k;powergui;rad/s to rpm

BLOCKTYPE:
BusSelector;Constant;DC Voltage Source;DC machine;Demux;Diode;DiscretePulseGenerator;From;Gain;Goto;IGBT;Math;Mux;PSB option menu block;Product;Scope;Signum;Step;Switch


MODELNAME: HVDCAverageModel
PATH: examples/simscapeelectricalsps/main/HVDCAverageModel.slx
CHECKSUM: 3B6FE7317456D7B23D86B58976BFE267
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
DESCRIPTION:
The Model initialization function defined in the Model Properties automatically sets the sample time Ts to 50e-6 s

ANNOTATION:
Capacitor banks Tuned filters High-pass damped filter 60 Hz filters 4*150 Mvars @ 500 kV 50 Hz filters 4*150 Mvars @ 345 kV Tuned filters Capacitor banks High-pass damped filter Ic = -(Ia + Ib) Iabc_calc Iabc Calculation ( U(k) - U(k-1) ) U(k) U(k) ( U(k) - U(k-1) ) Derivative (2 - mu_deg/120) * Lc dId/dt Band pass limitation Output limitation Ud_calc_dyn  Inductive voltage drop calculation due to current variation Mean commutation inductance, a function of the commutation interval Interface delay compensation Np/Ns (pu) Udi0_calc 3*sqrt(2)/pi * Usec_nom Udio Calculation Embedded function Gamma measure delay Average Model Computation Number of Bridges in series CF_alarm Converter is deblocked Np/Ns Commutation failure predictor Model signals HVDC Converter Average Model (Dynamic) Unidirectional current flow Network connection : AC side Network connection : DC side Network Measurements  Signals from external controls  INPUTS OUPUTS Inverter Inverter To controls Alpha Control AMIN  CONTROL MODE (#): 0) Blocked 1) Current control 2) Voltage control 3) Alpha minimum limitation 4) Alpha maximum limitation 5) Forced or constant Alpha 6) Gamma control Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Current Regulator Gamma Error Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Gamma Regulator Voltage Error Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Voltage Regulator Low Pass Filter with external Tc & Reset (Zoh methode) Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec Voltage dependent Current Order Limiter (VDCOL) (Discrete) DISCRETE HVDC CONTROLLER Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec f0 =15 Hz Low Pass Filter with external Tc & Reset (Zoh methode) Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec Ref. A Novel Method to Mitigate Commutation Failures in HVDC Systems, Lidong Zhang, Lars Dofnas ABB Utilities Power System Technology, Proceedings PowerCon 2002, Volume: 1 , 13-17 Oct. 2002, Page(s): 51-56 vol.1 Silvano Casoria Power System Laboratory, IREQ Hydro-Quebec Commutation failure Prevention Control (CFPREV) Fast initialisation for simulation Commutation failure Prevention Control Module (CFPREV) The CFPREV mitigates commutation failures due to AC voltage dips. After a fault detection (three-phase or one-phase) an angle value (AMIN_CFPREV) is sent to the converter control in order to be deducted from the maximum delay angle limit (alpha_max). In practice, the commutation margin is consequently enlarged reducing therefore the risk of commutation failures (note 1). The Commutation failure prevention control (CFPREV) and the Low AC voltage detection (LACVD) constitutes the protective functions at the rinverter.  The LACVD detects a low AC voltage condition on the inverter commutation bus and sends a signal (Lock) to the DCPROT (in the rectifier) in order to prevent the detection of a DC fault when the drop in the DC voltage is due to a fault on the AC side. The LACVD at the irectifier sends also a signal to lock the DCPROT for the same reason. DESCRIPTION DC Protections - Inverter NOTE 1: Result of a failure of the incoming valve to take over the direct current before the commutating voltage reverses its polarity.  Low AC Voltage Detection Low AC Voltage Detection Three-phase full-wave rectification Block/Deblock sequence For testing purpose, a step can be activated and added to the reference current at both converters.  Master Control INTRODUCTION The rectifier and inverter current reference are generated in the master control. The reference should be equal in both converters to avoid the loss of the margin. The converter starting and stopping is initiated and the current reference can be ramped up or down. A current step can be added to the current reference for testing purpose. DESCRIPTION At start-up, both converters are deblocked and ramped up to the minimum current allowed in steady-state with an adjustable rate and application time in the Start/Stop & Ramping Unit subsystem. After the system stabilisation the current is ramped up to its final value with an adjustable rate and execution time. Before stopping the converters the current is ramped down to the minimum reference.  Start/Stop sequence Start/Stop & Ramping Ramping Master Control Balanced reference currents Ic = -(Ia + Ib) Iabc_calc Iabc Calculation ( U(k) - U(k-1) ) U(k) U(k) ( U(k) - U(k-1) ) Derivative (2 - mu_deg/120) * Lc dId/dt Band pass limitation Output limitation Ud_calc_dyn  Inductive voltage drop calculation due to current variation Mean commutation inductance, a function of the commutation interval Interface delay compensation Np/Ns (pu) Udi0_calc 3*sqrt(2)/pi * Usec_nom Udio Calculation Embedded function Gamma measure delay Average Model Computation Number of Bridges in series CF_alarm Converter is deblocked Np/Ns Commutation failure predictor Model signals HVDC Converter Average Model (Dynamic) Unidirectional current flow Network connection : AC side Network connection : DC side Network Measurements  Signals from external controls  INPUTS OUPUTS Rectifier Rectifier To controls Alpha Control AMIN  CONTROL MODE (#): 0) Blocked 1) Current control 2) Voltage control 3) Alpha minimum limitation 4) Alpha maximum limitation 5) Forced or constant Alpha 6) Gamma control Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Current Regulator Gamma Error Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Gamma Regulator Voltage Error Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Voltage Regulator Low Pass Filter with external Tc & Reset (Zoh methode) Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec Voltage dependent Current Order Limiter (VDCOL) (Discrete) DISCRETE HVDC CONTROLLER Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec f0 =15 Hz DC Fault Protection (only in Rectifier)  DC Fault Protection (only in Rectifier)  The DCPROT detects a fault on the DC line and tries to extinguish the fault current by ordering a Forced alpha operation for a fixed duration. The LACVD detects a low AC voltage condition on the rectifier commutation bus and sends a signal (Lock) to the DCPROT in order to prevent the detection of a DC fault when the drop in the DC voltage is due to a fault on the AC side. The LACVD at the inverter sends also a signal to lock the DCPROT for the same reason. DC Protections - Rectifier Silvano Casoria (Hydro-Quebec) DESCRIPTION The DC fault protection (DCPROT) and the Low AC voltage detection (LACVD) constitutes the protectives functions at the rectifier. The DC fault protection detects a fault on the DC line and tries to extinguish the fault current by ordering a Forced alpha operation during a fixed duration. Low AC Voltage Detection Low AC Voltage Detection Three-phase full-wave rectification DC Protections (in Rectifier)  Block/Deblock sequence  phi = 80 deg. 3rd harm. HVDC 12-pulse Transmission System 1000 MW (500kV-2kA) 50/60 Hz 500kV, 60 Hz 5000 MVA equivalent 345kV, 50 Hz, 10,000 MVA equivalent  phi = 80 deg. 3rd harm.

BLOCK:
 3 phase Measurement; 50 Hz 345kV ; 60 Hz 500kV; Demux ; SFunction ; Terminator ;(Held);+;+ ;-;0.5 H;0.5 H ;11th 150 Mvar Q=;13th 150 Mvar Q=100 ;150 Mvar;24th 150 Mvar Q=;3- Phase Parallel RLC;3-phase Current Source;A;A->pu;A-G Fault;AB_LEVEL;AC_INVERTER;AC_RECTIFIER;ALPFA_BETA_SUM;AMIN_CFPREV;AMIN_CFPREV (deg);Abs;Add;Alpha Control;Alpha_lin;Alpha_ord;Average Model Computation;Avoid zero;Avoid zero ;B;Binv;Bistable;Block;Brect;Bus Creator;Bus Selector;C;CFPREV;CF_alarm;Commutation Failure Prevention Control (CFPREV);Constant;Control Mode ;Controlled Current Source;Current Error;Current Measurement;Current Regulator;DC Fault;DC Fault Protection (DCPROT);DC line 300 km;DC_AVG_EQ MATLAB Function;D_alpha;D_alpha (deg);Data Acquisition;Data Type Conversion;Deblocked;Delay_time;Demux;Diff;Difference;Difference (IC: Ts);Digital Clock;Diode;Discrete Shift Register 1 (T_periode);Discrete Shift Register 2 (T_periode);Divide;Down;ERR;ERR_G;ERR_V;Edge Detector_;Enable (Held);Enable Ref. Current Step;Enable Ref. Gamma Step;Enable Ref. Voltage Step;Enabled Subsystem;FAULT;Fcn;Filters 60Hz;First-Order Filter;First-Order Filter (T = 0.1);First-Order Filter (T = T_I);First-Order Filter (T= 3.3 ms);First-Order Filter (T=0.0005);First-Order Filter (T=0.01);First-Order Filter (T=0.03);First-Order Filter (T=3.3 ms);Forced_alpha;From;G;GR;G_meas;G_ref;Gain;Gain ;Gamma Error;Gamma Regulator;Gamma Step;Gamma min;Goto;Ground;HVDC_CONV_AVG;Hold;IC;IC = ic;IC= ic;INVERTER;I_dq;Iab;Iabc;Iabc_calc;Id;Id (pu);Id_err;Id_ref (pu);Id_ref Step;Id_ref_lim;Id_ref_ramp;In;Informations;Inv;Inverter Average model;Inverter Control and Protection (Average model);Inverter Pole Control (Current/Voltage/Gamma);Inverter Protections;K;KI (deg per pu per s);KPn;Kp;Kp (deg per pu);Kp Linearisation;Kp_lin;LACVD;Lock;Logical Operator;Low AC Voltage Detection (LACVD);Low Pass (IC = 1.0);Low Pass (IC = filt_ic);Low_AC_Voltage;Low_ac_volt_oth;Low_ac_voltage;MEAS;MIN:eps MAX:inf;Master Control;Math Function;Max;Max = 10 Min=Id_min_abs;Max: 1 pu Min = ;Max:10*Usec Min:-10*Usec;Max_i;Max_lin;Max_pi;Min;Min=0 Max = ;MinMax;Min_i;Min_lin;Min_pi;Minimum ref;Monostable;Monostable (IC=1);Monostable (T=T2);More info;Multimeter;Mux;ON: -Ref1 (pu) OFF: -(Ref1+0.1);Off Delay;Off Delay ;Off Delay 1 ;Off Delay1 (T=1.2/(2*fn));On Delay;On Delay ;On Delay (IC=1);On Delay (T=T1);On Delay 1 ;On Delay1 (T=2*Ts);On Delay2 (T=1.5/(2*fn));On Delay3 (T=1/fn);Out;PI Regulator with external limits and linrarized Kp (Discrete);PLL (3ph);PROTECTION INVERTER;PROTECTION RECTIFIER;Pd;Positive-Sequence (PLL-Driven);Prod;Product;R;RECTIFIER;REF_1 (pu);Ramp;Rate Limiter (Rate limit) ;Rectifier Average model;Rectifier Control and Protection (Average model);Rectifier Pole Control (Current);Rectifier Protections;Reference;Relational Operator;Reset;Reset Value;Rm, Lm;S;Saturation Dynamic;Second-Order Filter (fn= f0_V);Selector;Start;Start (T_start);Start-Stop Ramp;Start/Stop;Stop ;Stop (T_stop);SubSystem;Sum;Switch;T;T = 1 ms;T = 2 ms;T_ss;Tap(pu);Tap_pu;Terminator;Trigonometric Function;U;UD;UP;Uabc;Uabc (pu);Uac (pu);Uac_min_lim;Ud;Ud_calc_dyn;Ud_tmp;Udi;Udi0_calc;Udio_6p;Udio_V->pu;Unit Delay;V->pu;VR;Vd (pu);VdL (pu);Vd_filt;Vd_meas;Vd_ref;Vd_ref (pu);Vd_ref Step;Voltage Error;Voltage Regulator;Voltage Source;Voltage dependent Current Order Limiter;Y;ZERO;Z_LEVEL;a (-);a_ord_g;a_ord_i ;a_ord_v;abc to Alpha-Beta-Zero;alpha(deg);alpha_deg;alpha_init;alpha_ord;alpha_ord (deg);conversion pu ac->dc;delay compensation;dq0 to abc;fixed alpha (deg);from_CONTROLS;gamma_deg;gamma_meas (deg);gamma_min_lim;gamma_ref (deg);k;k (+);m;m_DC_AVG;minus;mode;mu_deg;powergui;pu->Udio_V;rms->peak;theta;to_NETWORK;voltage sign (pole +);w;wt_in;wt_out

BLOCKTYPE:
Abs;Bistable;Breaker;BusCreator;BusSelector;CF alarm;Commutation Failure Prevention Control;Constant;Controlled Current Source;Controlled Voltage Source;Current Measurement;DC fault protection (in Rectifier);DataTypeConversion;Demux;Difference;DigitalClock;Diode;Discrete HVDC Controller;Discrete Shift Register;DiscretePulseGenerator;Distributed Parameters Line;Edge Detector;EnablePort;Fcn;First-Order Filter;From;FromWorkspace;Gain;Goto;Ground;HVDC converter dynamic average model;InitialCondition;Inport;Integrator With External Dynamic Limits (Discrete);Logic;Low AC voltage detection;Low Pass Filter With Reset (discrete: Zoh method, Forward Euler);ManualSwitch;Math;MinMax;Monostable;Multimeter;Mux;On/Off Delay ;Outport;PI Regulator With External Limits (Discrete);PLL (3ph);PMIOPort;PSB option menu block;Positive-Sequence (PLL-Driven);Product;Protection LACVD a Radisson (cyc = 1 ms);RAMPING UNIT;RateLimiter;RelationalOperator;Relay;S-Function;Saturate;Saturation Dynamic;Scope;Second-Order Filter;Selector;Series RLC Branch;Stair Generator;Start/Stop & Ramping ;Step;Sum;Switch;Terminator;Three-Phase Harmonic Filter;Three-Phase Parallel RLC Branch;Three-Phase Parallel RLC Load;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase VI Measurement;Trigonometry;UnitDelay;Voltage Dependent Current Order Limiter (Discrete);abc to Alpha-Beta-Zero Transformation;dq0 to abc Transformation

BLOCKTYPE_FREQUENCY:
2;1;2;10;10;2;1;97;4;2;2;1;23;7;4;2;2;2;2;3;1;2;15;8;13;106;1;64;77;18;2;2;309;6;58;2;3;3;15;30;5;3;6;22;96;6;2;32;1;2;37;2;1;5;23;1;2;15;22;7;2;2;2;3;1;3;51;53;6;6;2;2;2;2;4;12;24;2;1;2


MODELNAME: HVDCMMCInterconnection
PATH: examples/simscapeelectricalsps/main/HVDCMMCInterconnection.slx
CHECKSUM: C15ECA0A0A5641E1FB94047404A9355B
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Active Power Regulator Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. ----------- | Lconv | ------------ <--- -------o Vconv ---- ----------- | Rconv | ----------- For L >> R :  (Vq_sys - Vq_conv) ~ = - Id * L  (Vd_sys - Vd_conv) ~= + Iq * L Id positive --> The converter generates active power= P positive Iq negative --> The converter generates reactive power (Capacitive mode) = Q positive   Sign Convention: Current going out of the converter = positive current Current Regulator (with feedforward) Vq_sys + Id*w*L + Iq*R + deriv(Iq)*L= Vq_conv  Vd_sys + Id*R - Iq*w*L + deriv(Id)*L= Vd_conv (Note: Derivative terms replaced by PI controllers) Vsys o------- I  VDC Regulator  P (pu) = Vd*Id + Vq*Iq   Q (pu) = Vq*Id - Vd*Iq  P positive = Converter generates active power (Inverter Mode)  Q positive = Converter generates reactive power (Capacitive Mode)   Reactive Power Regulator If PLL sync on Vprim --> Vq=0 --> Id = P/Vd et Iq = -1.0 * Q/Vd   Q (pu) = Vq*Id - Vd*Iq (valid only for balanced & harmonics-free values)  P (pu) = Vd*Id + Vq*Iq (Zero-sequence is not taken into account)  Open breaker 1 when a fault occur  Block the converter when a fault occur  Block the converter when a fault occur STEP 6: Reactive power regulator setpoint STEP 4: Enable PQ regulators and converter 2 STEP 5: Active power regulator setpoint STEP 3 : Voltage regulator setpoint STEP 2 : Deblocking converter 1 STEP 1 : Energization EXTRA STEP: Program a fault  HVDC-MMC Control System  Control Signals Cable (simplified model) Converter 2 Extra measurements Converter 1  HVDC-MMC Interconnection 1000-MW, +/- 320 kV  Learn more about this example. 

BLOCK:
; (Hz);400-kV Equivalent;Active Power Regulator (Preg);Add;Avoid division by zero;BL;Block;Breaker;Breaker 1 control;Breaker 2 control;Brk;Bus Creator;Bus Selector;Carriers Ap;Cinv;Clock;CnDC;Compare To Zero;Constant;Controlled Voltage Source;Controllers;CpDC;Cr;Current Measurement;Current Regulator (Ireg);DC & converter ;DC Voltage Regulator (VDCreg);Data Type Conversion;Demux;Discrete Mean value;Discrete-Time Integrator;Divide;Error;Fault;Fc;Filter;Freq;From;Gain;Goto;Ground;Half-Bridge MMC Am (Aggregate model of 36 PM);Half-Bridge MMC Ap (Aggregate model of 36 PM);Half-Bridge MMC Bm (Aggregate model of 36 PM);Half-Bridge MMC Bp (Aggregate model of 36 PM) ;Half-Bridge MMC Cm (Aggregate model of 36 PM);Half-Bridge MMC Cp (Aggregate model of 36 PM);I;I->pu;Iabc;Iarm_A;IdIq;IdIq_ref;Id_ref;Idc (kA);Ideal Switch;Ifilter_A;Iq_ref;Kp;Ld;Logical Operator;Lookup Table;Math Function;Mean;Mux;N_Am;N_Ap;N_Bm;N_Bp;N_Cm;N_Cp;O;On;Out;P;P (MW);PI regulator with anti-windup D;PI regulator with anti-windup Q;PLL (3ph);PLL, Measurements and Transformation;PQ_prim (MVA);PQmeas_MVA;PWM Gen;PWM Generators & Calculation of number of inserted modules (Nin) and number of blocked module (Nbl);Parallel RLC Branch;Phase_rad;Pmeas;Power (Positive-Sequence);Pref;Product;Q;Q (Mvar);Qmes;Qref;R_startup;Rate Transition;Reactive Power Regulator;Reference;Relational Operator;Rtot_pu;Saturation;Scopes & Measurements;Second-Order Filter;SelectPulses;Selector;Sequence Analyzer;Sequencer;Series RLC Branch;SubSystem;Subsystem;Subtract;Sum;Sw_Fault;Switch;Terminator;Tr;Uref;Uref_ABC;V->pu;V1 (kV rms LL);V12_ApAm;V1_kVrmsLL_prim;VIdc_Conv;VIprim;VIsec;Vabc;Vcap;VdVq;VdVq_mes;Vdc;Vdc (kV);VdcNom_SM;Vdc_meas;Vdc_ref;Vdc_ref ;Voltage Measurement;Zcable;Zcable1_;Zcable2_;Zero-Order Hold;abc to dq;dq0 to abc;m PIdq;param;powergui;prim;sec;to-pu;wt

BLOCKTYPE:
Breaker;BusCreator;BusSelector;Compare To Zero;Constant;Controlled Voltage Source;Current Measurement;DataTypeConversion;Demux;DigitalClock;Discrete Mean value;Discrete PI Controller;DiscreteIntegrator;Display;From;Gain;Goto;Ground;Half-Bridge MMC ;Ideal Switch;Inport;Logic;Lookup;Math;Mean;Mux;Outport;PLL (3ph);PMIOPort;PSB option menu block;PWM generator for half-bridge MMC;Parallel RLC Branch;Power (Positive-Sequence);Product;Ramp;RateTransition;RelationalOperator;Saturate;Scope;Second-Order Filter;Selector;Sequence Analyzer;Series RLC Branch;Step;Sum;Switch;Terminator;Three-Phase Breaker;Three-Phase Series RLC Branch;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Voltage Measurement;ZeroOrderHold;abc to dq0 Transformation;dq0 to abc Transformation

BLOCKTYPE_FREQUENCY:
3;1;3;4;49;2;11;6;11;6;3;2;5;7;95;22;73;2;6;3;30;15;6;7;2;23;30;1;32;1;6;3;1;21;3;8;10;12;14;2;16;1;24;10;29;12;20;2;1;2;1;1;2;8;5;2;1


MODELNAME: HVDCThyristorBased
PATH: examples/simscapeelectricalsps/main/HVDCThyristorBased.slx
CHECKSUM: 9FC1959491B51E724ADD5C55BB15CC74
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
DESCRIPTION:
The Model initialization function defined in the Model Properties automatically sets the sample time Ts to 50e-6 s

ANNOTATION:
Capacitor banks Tuned filters High-pass damped filter 60 Hz filters 4*150 Mvars @ 500 kV 50 Hz filters 4*150 Mvars @ 345 kV Tuned filters Capacitor banks High-pass damped filter Secondary Winding Connection transfo_type : 1=Y 2=D1(lag) 3=D11(lead) Suppress zero- sequence voltages Crossing time error evaluation (t_err) by linear interpolation in a discrete system (sampling time is Ts) yb Outgoing Conducting Commutation Voltage (Uak) Valve Valves Y D1(lag) D11(lead) --------- ---------------- -------- ------------ ------------- 1 2-3 Uab Ua -Ub 2 3-4 Uac -Uc Ua 3 4-5 Ubc Ub -Uc 4 5-6 Uba -Ua Ub 5 6-1 Uca Uc -Ua 6 1-2 Ucb -Ub Uc  Linear interpolation for zero crossing detection error in a discete system   Gamma measurement of a six-pulse thyristor bridge Silvano Casoria Power Systems and Mathematics IREQ, Hydro-Quebec Secondary Winding Connection transfo_type : 1=Y 2=D1(lag) 3=D11(lead) Suppress zero- sequence voltages Crossing time error evaluation (t_err) by linear interpolation in a discrete system (sampling time is Ts) yb Outgoing Conducting Commutation Voltage (Uak) Valve Valves Y D1(lag) D11(lead) --------- ---------------- -------- ------------ ------------- 1 2-3 Uab Ua -Ub 2 3-4 Uac -Uc Ua 3 4-5 Ubc Ub -Uc 4 5-6 Uba -Ua Ub 5 6-1 Uca Uc -Ua 6 1-2 Ucb -Ub Uc  Linear interpolation for zero crossing detection error in a discete system   Gamma measurement of a six-pulse thyristor bridge Silvano Casoria Power Systems and Mathematics IREQ, Hydro-Quebec Alpha Control AMIN  CONTROL MODE (#): 0) Blocked 1) Current control 2) Voltage control 3) Alpha minimum limitation 4) Alpha maximum limitation 5) Forced or constant Alpha 6) Gamma control Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Current Regulator Gamma Error Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Gamma Regulator Voltage Error Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Voltage Regulator Low Pass Filter with external Tc & Reset (Zoh methode) Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec Voltage dependent Current Order Limiter (VDCOL) (Discrete) DISCRETE HVDC CONTROLLER Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec f0 =15 Hz Low Pass Filter with external Tc & Reset (Zoh methode) Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec Ref. A Novel Method to Mitigate Commutation Failures in HVDC Systems, Lidong Zhang, Lars Dofnas ABB Utilities Power System Technology, Proceedings PowerCon 2002, Volume: 1 , 13-17 Oct. 2002, Page(s): 51-56 vol.1 Silvano Casoria Power System Laboratory, IREQ Hydro-Quebec Commutation failure Prevention Control (CFPREV) Fast initialisation for simulation Commutation failure Prevention Control Module (CFPREV) The CFPREV mitigates commutation failures due to AC voltage dips. After a fault detection (three-phase or one-phase) an angle value (AMIN_CFPREV) is sent to the converter control in order to be deducted from the maximum delay angle limit (alpha_max). In practice, the commutation margin is consequently enlarged reducing therefore the risk of commutation failures (note 1). The Commutation failure prevention control (CFPREV) and the Low AC voltage detection (LACVD) constitutes the protective functions at the rinverter.  The LACVD detects a low AC voltage condition on the inverter commutation bus and sends a signal (Lock) to the DCPROT (in the rectifier) in order to prevent the detection of a DC fault when the drop in the DC voltage is due to a fault on the AC side. The LACVD at the irectifier sends also a signal to lock the DCPROT for the same reason. DESCRIPTION DC Protections - Inverter NOTE 1: Result of a failure of the incoming valve to take over the direct current before the commutating voltage reverses its polarity.  Low AC Voltage Detection Low AC Voltage Detection Three-phase full-wave rectification Block/Deblock sequence For testing purpose, a step can be activated and added to the reference current at both converters.  Master Control INTRODUCTION The rectifier and inverter current reference are generated in the master control. The reference should be equal in both converters to avoid the loss of the margin. The converter starting and stopping is initiated and the current reference can be ramped up or down. A current step can be added to the current reference for testing purpose. DESCRIPTION At start-up, both converters are deblocked and ramped up to the minimum current allowed in steady-state with an adjustable rate and application time in the Start/Stop & Ramping Unit subsystem. After the system stabilisation the current is ramped up to its final value with an adjustable rate and execution time. Before stopping the converters the current is ramped down to the minimum reference.  Start/Stop sequence Start/Stop & Ramping Ramping Master Control Balanced reference currents Alpha Control AMIN  CONTROL MODE (#): 0) Blocked 1) Current control 2) Voltage control 3) Alpha minimum limitation 4) Alpha maximum limitation 5) Forced or constant Alpha 6) Gamma control Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Current Regulator Gamma Error Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Gamma Regulator Voltage Error Kp Linearization INTEGRATOR with External limits & Reset & Hold Gain * Ts PI Regulator With external limits (Linearized Kp) (Discrete) Voltage Regulator Low Pass Filter with external Tc & Reset (Zoh methode) Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec Voltage dependent Current Order Limiter (VDCOL) (Discrete) DISCRETE HVDC CONTROLLER Silvano Casoria Power System Simulation Laboratory IREQ, Hydro-Quebec f0 =15 Hz DC Fault Protection (only in Rectifier)  DC Fault Protection (only in Rectifier)  The DCPROT detects a fault on the DC line and tries to extinguish the fault current by ordering a Forced alpha operation for a fixed duration. The LACVD detects a low AC voltage condition on the rectifier commutation bus and sends a signal (Lock) to the DCPROT in order to prevent the detection of a DC fault when the drop in the DC voltage is due to a fault on the AC side. The LACVD at the inverter sends also a signal to lock the DCPROT for the same reason. DC Protections - Rectifier Silvano Casoria (Hydro-Quebec) DESCRIPTION The DC fault protection (DCPROT) and the Low AC voltage detection (LACVD) constitutes the protectives functions at the rectifier. The DC fault protection detects a fault on the DC line and tries to extinguish the fault current by ordering a Forced alpha operation during a fixed duration. Low AC Voltage Detection Low AC Voltage Detection Three-phase full-wave rectification DC Protections (in Rectifier)  Block/Deblock sequence  phi = 80 deg. 3rd harm. HVDC 12-pulse Transmission System 1000 MW (500kV-2kA) 50/60 Hz 500kV, 60 Hz 5000 MVA equivalent 345kV, 50 Hz, 10,000 MVA equivalent  phi = 80 deg. 3rd harm.

BLOCK:
 50 Hz 345kV ; 60 Hz 500kV;(Held);(TOL);+;+ ;-;0.5 H;0.5 H ;11th 150 Mvar Q=;12-pulse Firing Control;1200 MVA;13th 150 Mvar Q=100 ;150 Mvar;24th 150 Mvar Q=;3- Phase Parallel RLC;A;A--> pu;A--> pu ;A->pu;A-G Fault;AB_LEVEL;AC_INVERTER;AC_RECTIFIER;ALPFA_BETA_SUM;AMIN_CFPREV;AMIN_CFPREV (deg);Abs;Ad;Add;Alpha Control;Alpha_lin;Alpha_ord;Ay;B;Bd;Binv;Bistable;Block;Brect;Bridge D;Bridge Y;By;C;CFPREV;Cd;Clock;Commutation Failure Prevention Control (CFPREV);Commutation Voltages;Constant;Control Mode ;Current Error;Current Regulator;Cy;DC Fault;DC Fault Protection (DCPROT);DC line 300 km;D_alpha;D_alpha (deg);Data Acquisition;Data Type Conversion;Deblocked;Demux;Discrete Shift Register 1 (T_periode);Discrete Shift Register 2 (T_periode);Divide;Down;ERR;ERR_G;ERR_V;Edge Detector_;Enable (Held);Enable Ref. Current Step;Enable Ref. Gamma Step;Enable Ref. Voltage Step;Enabled Subsystem;FAULT;Fcn;Filters 60Hz;First-Order Filter (T = 0.1);First-Order Filter (T = T_I);First-Order Filter (T= 3.3 ms);First-Order Filter (T=0.01);First-Order Filter (T=0.03);First-Order Filter (T=3.3 ms);Forced_alpha;Freq;From;GR;G_meas;G_ref;Gain;Gain ;Gamma Error;Gamma Measurement;Gamma Measurement (D1 bridge);Gamma Measurement (Y bridge);Gamma Regulator;Gamma Step;Gamma min;Goto;Ground;Hit (Falling);Hit (Falling) ;Hold;IC;IC = ic;IC= ic;INVERTER;I_th(1-6);I_th(1-6)_D;I_th(1-6)_Y;Id;Id (pu);Id_err;Id_ref (pu);Id_ref Step;Id_ref_lim;Id_ref_ramp;In;Informations;Inv;Inverter;Inverter Control and Protection;Inverter Pole Control (Current/Voltage/Gamma);Inverter Protections;KI (deg per pu per s);Kp;Kp (deg per pu);Kp Linearisation;Kp_lin;LACVD;Lock;Logical Operator;Low AC Voltage Detection (LACVD);Low Pass (IC = 1.0);Low Pass (IC = filt_ic);Low_AC_Voltage;Low_ac_volt_oth;Low_ac_voltage;MIN:eps MAX:inf;Master Control;Math Function;Max;Max = 10 Min=Id_min_abs;Max: 1 pu Min = ;Max_i;Max_lin;Max_pi;Min;Min+0 Max=Ts;Min=0 Max = ;MinMax;Min_i;Min_lin;Min_pi;Minimum ref;Monostable;Monostable (IC=1);Monostable (T=T2);Monostable_1 (4 deg);Monostable_2 (86 deg);More info;Multimeter;Multiport Switch;Mux;ON: -Ref1 (pu) OFF: -(Ref1+0.1);Off Delay;Off Delay ;Off Delay 1 ;On Delay;On Delay ;On Delay (IC=1);On Delay (T=T1);On Delay 1 ;Out;PI Regulator with external limits and linrarized Kp (Discrete);PLL (3ph);PROTECTION INVERTER;PROTECTION RECTIFIER;Pd;Prod;Product;Pulse Generator (Thyristor, 12-Pulse);Pulse_counter_sampler (1-6);Pulses(1-6);PulsesD;PulsesY;Py;R;RECTIFIER;REF_1 (pu);Ramp;Rate Limiter (Rate limit) ;Rectifier;Rectifier Control and Protection;Rectifier Pole Control (Current);Rectifier Protections;Reference;Relational Operator;Reset;Reset Value;S;Sample;Sample and Hold;Sample and Hold_;Saturation Dynamic;Second-Order Filter (fn= f0_V);Selector;Start;Start (T_start);Start-Stop Ramp;Start/Stop;Stop ;Stop (T_stop);SubSystem;Subtract;Sum;Switch;T;T = 1 ms;T = 2 ms;T_ss;Terminator;Thyristor currents D bridge ;Thyristor currents Y bridge;Trigger;Trigonometric Function;UP;Uabc;Uabc (pu);Uac (pu);Ucom (1-6);Ucom(1-6);Udio_6p;Unit Delay;V->pu;VALVE13_RECT;VALVE1_INV;VR;Vabc;Vabc (pu);Vd (pu);VdL (pu);Vd_filt;Vd_meas;Vd_ref;Vd_ref (pu);Vd_ref Step;Voltage Error;Voltage Regulator;Voltage dependent Current Order Limiter;ZDC;ZERO;Z_LEVEL;Zero crossing interpolation;Zinv;Zrec;a_ord_g;a_ord_i ;a_ord_v;abc to Alpha-Beta-Zero;alpha_init;alpha_ord;alpha_ord (deg);angle;angles(1-6);conversion pu ac->dc;fixed alpha (deg);gamma (deg);gamma_mean;gamma_mean (deg);gamma_meas (deg);gamma_min;gamma_min (deg);gamma_ref (deg);idR;k;minus;mode;neg;pos;powergui;pulse_n;t_err;voltage sign (pole +);y

BLOCKTYPE:
Abs;Bistable;Breaker;Clock;Commutation Failure Prevention Control;Compare To Constant;Constant;Current Measurement;DC fault protection (in Rectifier);DataTypeConversion;Demux;Discrete - Hit crossing time interval error calculation by linear interpolation;Discrete Gamma Measurement (6-pulse converter);Discrete HVDC Controller;Discrete Shift Register;DiscretePulseGenerator;Distributed Parameters Line;Edge Detector;EnablePort;Fcn;First-Order Filter;From;FromWorkspace;Gain;Goto;Ground;HVDC Discrete 12-pulse Firing Control;HitCross;Impedance Measurement;InitialCondition;Inport;Integrator With External Dynamic Limits (Discrete);Logic;Low AC voltage detection;Low Pass Filter With Reset (discrete: Zoh method, Forward Euler);ManualSwitch;Math;MinMax;Monostable;MultiPortSwitch;Multimeter;Mux;On/Off Delay ;Outport;PI Regulator With External Limits (Discrete);PLL (3ph);PMIOPort;PSB option menu block;Product;Protection LACVD a Radisson (cyc = 1 ms);Pulse Generator (Thyristor);RAMPING UNIT;RateLimiter;RelationalOperator;Relay;Sample and Hold ;Saturate;Saturation Dynamic;Scope;Second-Order Filter;Selector;Series RLC Branch;Stair Generator;Start/Stop & Ramping ;Step;Sum;Switch;Terminator;Three-Phase Harmonic Filter;Three-Phase Parallel RLC Branch;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase Transformer (Three Windings);Three-Phase VI Measurement;TriggerPort;Trigonometry;UnitDelay;Universal Bridge;Voltage Dependent Current Order Limiter (Discrete);abc to Alpha-Beta-Zero Transformation

BLOCKTYPE_FREQUENCY:
2;3;2;2;1;2;99;2;1;23;4;2;2;2;2;3;1;6;17;8;9;47;1;65;28;18;2;4;3;2;293;6;58;2;3;3;17;33;7;4;7;7;12;90;6;2;32;1;35;2;2;1;5;17;1;8;11;22;9;2;8;2;3;1;3;62;55;9;6;2;2;2;2;2;2;12;20;4;2;1


MODELNAME: HVDCTransmissionSystem
PATH: examples/simscapeelectricalsps/main/HVDCTransmissionSystem.slx
BLOCKTYPE_FREQUENCY: 1;3;1;1;1;1;1;1;1;1;6;5;5;8;7;1;2;9;1;3;1;1;1;2;2;1;1;3;1;1;2;4;1;1;1;1;1;1
CHECKSUM: 90222F1E32557D9758C50A33F9972567
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc High-pass damped filter Tuned filters Capacitor bancs INVERTER Simple 6-Pulse HVDC Transmission System 500 MW (250kV- 2kA)  315 kV, 5000 MVA equivalent

BLOCK:
242kV;3- Phase Parallel RLC;315 kV;5th 80 Mvar Q=100 ;600MVA 315/210 kV;7th 80 Mvar Q=;80 Mvar;A;A>pu;Alfa_fix;B;Block;C;C 80 Mvar;Current Regulator PI;Current order (pu);DC Fault;DC line 300 km;Data Asquisition;Demux;Diode;Discrete PI Controller;Discrete-Time Integrator;Error;First-Order Filter;Forced_alpha;Forded Delay Timer;From;Goto;Ground;I Fault;Iabc;Id;Id (pu);Id Idref ;Id_ref (pu);Info;Kp;LsI;LsR ;Measures;Multimeter;Mux;Out;PLL (3ph);Pulse Generator (Thyristor, 6-Pulse);Q=;RECTIFIER;Rectifier Control;Reference;Saturation;Scope;Step Iorder (pu) ;SubSystem;Subsystem;Sum;Switch;Terminator_;Vabc;Vd VdL;Zero-Order Hold;alpha;alpha (deg);alpha_fix(deg);id;output Ground;powergui;pu conversion;pu conversion ;pulses;sum;vdL

BLOCKTYPE:
Breaker;Constant;Current Measurement;DC Voltage Source;Demux;Diode;Discrete PI Controller;DiscreteIntegrator;Distributed Parameters Line;First-Order Filter;From;Gain;Goto;Ground;Inport;Multimeter;Mux;Outport;PLL (3ph);PMIOPort;PSB option menu block;Pulse Generator (Thyristor);Saturate;Scope;Series RLC Branch;Stair Generator;Step;Sum;Switch;Terminator;Three-Phase Parallel RLC Branch;Three-Phase Series RLC Branch;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Universal Bridge;Voltage Measurement;ZeroOrderHold


MODELNAME: HVDCVSCBased
PATH: examples/simscapeelectricalsps/main/HVDCVSCBased.slx
CHECKSUM: 1DACE5517374EF229FF6C22C94AFBB99
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
DESCRIPTION:
The Model initialization function defined in the Model Properties automatically sets the sample time Ts to 50e-6 s

ANNOTATION:
 phi = 80 (deg) at 1st & 3rd harm. System 1  phi = 80 (deg) at 1st & 3rd harm. System 2 High-pass damped filters AC Filters, 40 Mvar @ 100 kV DC Capacitor Converter Station 1 DC Filter 3rd Harmonic Smoothing reactor High-pass damped filters AC Filters, 40 Mvar @ 100 kV Converter Station 2 DC Capacitor DC Filter 3rd Harmonic Smoothing reactor Filtering Low-pass filter CLARK transformation CLARK transformation - YD1 CLARK transformation - YD11 Rotation of pi/6 Rotation of - pi/6 Reference rotation: Type [0,1,2] Rotation (rad) 0 0 1 - pi/6 2 pi/6 CLARK transformations CLARK transformation CLARK transformation - YD1 CLARK transformation - YD11 Rotation of pi/6 Rotation of - pi/6 Reference rotation: Type [0,1,2] Rotation (rad) 0 0 1 - pi/6 2 pi/6 CLARK transformations 0: Y-Y 1: Y-D1 2: Y-D11 Clarks Transformations Regulator PI (Type 2) Reset states when enabling  Voltage Sign Reversed Current Sign DC Voltage Balance Control pu AC ==> pu DC Regulator PI (Type 2) Regulator PI (Type 2) Gain equal to the converter series reactance in pu (ex: X transformer + X phase reactor) Uq Ud AC Current Control d axis q axis Maximum AC Voltage / DC Voltage (pole-neutral) Voltage Reference Conditioning Limitation on a circle of 1 p.u. radius Reference Voltage Limitation Not Limited  Limited Inner Current Loop Reset states when enabling  Override Regulator Active when input (In) is outside its range [min_in, max_in] otherwise the output goes back to zero  Low AC voltage level Freeze Integrator Reset states when enabling  Integral Regulator (Type 1) Rate Limiter with external rates & reset (Discrete) IC=ic Max= 4 Min =1 Silvano Casoria IREQ Output is reset to zero when the ramp is not enabled Ramping Output is added to the regulator reference in order to maintain the DC voltage within minimum and maximum limits  Active Power Control Current Reference Calculation Power System Simulation laboratory (IREQ) Current Reference Limitation The subsystem limits the amplitude of phase current of the fundamental component to the rated current of the converter.  Power Control Mode DC Voltage Control Mode In power control mode, equal scaling is applied to the active and reactive power reference when a limit is imposed. In DC voltage control mode, higher priority is given to the active power when a limit is imposed.  DC Voltage Control mode (Active power priority) Power Control mode (Equal scaling)  Current Reference Limitation Regulator PI (Type 2) DC Voltage Control Reset integrator when enabling  Reset states when enabling  Override Regulator Active when input (In) is outside its range [min_in, max_in] otherwise the output goes back to zero  Freeze Integrator Low AC voltage level Reset states when enabling  Integral Regulator (Type 1) Output is added to the regulator reference in order to maintain the AC voltage within minimum and maximum limits  Reactive Power Control Outer Active-Reactive Power and Voltage Loop Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Delta(u) Beat Ronner ABB Industrie AG Turgi, Switzerland Discrete 3-phase PLL (Variation)  Active Power Calculation DC Current Calculation DC Voltage Calculation Filter Bus Voltage Calculation Modulation Index Calculation Active Power Calculation Reactive Power Calculation Fo = 17 Hz Fo = 17 Hz Signal Calculations pu AC ==> pu DC dq Transformations Notes: U, P, Q = AC voltage, active power, reactive power at point of common coupling (PCC) Uf , Iv = AC voltage on AC filter bus, Converter reactor phase current _abc suffix denotes phases a, b, c _AB suffix denotes alpha beta components _pn suffix denotes positive and negative poles (DC side) |-----------------------Ts_Control-----------------------| |------------Ts_Power------------| Sample time: |----------------Ts_Power--------------| Reference Steps VSC Controller (Station 1) Filtering Low-pass filter CLARK transformation CLARK transformation - YD1 CLARK transformation - YD11 Rotation of pi/6 Rotation of - pi/6 Reference rotation: Type [0,1,2] Rotation (rad) 0 0 1 - pi/6 2 pi/6 CLARK transformations CLARK transformation CLARK transformation - YD1 CLARK transformation - YD11 Rotation of pi/6 Rotation of - pi/6 Reference rotation: Type [0,1,2] Rotation (rad) 0 0 1 - pi/6 2 pi/6 CLARK transformations 0: Y-Y 1: Y-D1 2: Y-D11 Clarks Transformations Regulator PI (Type 2) Reset states when enabling  Voltage Sign Reversed Current Sign DC Voltage Balance Control pu AC ==> pu DC Regulator PI (Type 2) Regulator PI (Type 2) Gain equal to the converter series reactance in pu (ex: X transformer + X phase reactor) Uq Ud AC Current Control d axis q axis Maximum AC Voltage / DC Voltage (pole-neutral) Voltage Reference Conditioning Limitation on a circle of 1 p.u. radius Reference Voltage Limitation Not Limited  Limited Inner Current Loop Reset states when enabling  Override Regulator Active when input (In) is outside its range [min_in, max_in] otherwise the output goes back to zero  Low AC voltage level Freeze Integrator Reset states when enabling  Integral Regulator (Type 1) Rate Limiter with external rates & reset (Discrete) IC=ic Max= 4 Min =1 Silvano Casoria IREQ Output is reset to zero when the ramp is not enabled Ramping Output is added to the regulator reference in order to maintain the DC voltage within minimum and maximum limits  Active Power Control Current Reference Calculation Power System Simulation laboratory (IREQ) Current Reference Limitation The subsystem limits the amplitude of phase current of the fundamental component to the rated current of the converter.  Power Control Mode DC Voltage Control Mode In power control mode, equal scaling is applied to the active and reactive power reference when a limit is imposed. In DC voltage control mode, higher priority is given to the active power when a limit is imposed.  DC Voltage Control mode (Active power priority) Power Control mode (Equal scaling)  Current Reference Limitation Regulator PI (Type 2) DC Voltage Control Reset integrator when enabling  Reset states when enabling  Override Regulator Active when input (In) is outside its range [min_in, max_in] otherwise the output goes back to zero  Freeze Integrator Low AC voltage level Reset states when enabling  Integral Regulator (Type 1) Output is added to the regulator reference in order to maintain the AC voltage within minimum and maximum limits  Reactive Power Control Outer Active-Reactive Power and Voltage Loop Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Delta(u) Beat Ronner ABB Industrie AG Turgi, Switzerland Discrete 3-phase PLL (Variation)  Active Power Calculation DC Current Calculation DC Voltage Calculation Filter Bus Voltage Calculation Modulation Index Calculation Active Power Calculation Reactive Power Calculation Fo = 17 Hz Fo = 17 Hz Signal Calculations pu AC ==> pu DC dq Transformations Notes: U, P, Q = AC voltage, active power, reactive power at point of common coupling (PCC) Uf , Iv = AC voltage on AC filter bus, Converter reactor phase current _abc suffix denotes phases a, b, c _AB suffix denotes alpha beta components _pn suffix denotes positive and negative poles (DC side) VSC Controller (Station 2) |----------------Ts_Power--------------| Sample time: |------------Ts_Power------------| |---------------------------Ts_Control-------------------------| Reference Steps VSC-Based HVDC Transmission Link 200 MVA (+/- 100kV) 230 kV, 50 Hz, 2 000 MVA equivalent Cable P, Q ------> P, Q <------ 230 kV, 50 Hz 2 000 MVA equivalent

BLOCK:
 ; 60 Hz 500kV; Idc_pn; Iv_abc;200 MVA 230:100 kV 0.15 p.u.;27th 18 Mvar Q = 15 ;3- Phase Parallel RLC;54th 22 Mvar Q = 15 ;75-km cable;75-km cable ;A;A--> pu_AC_sec;AB;AC System ;AC Voltage Control Override ;AC_Current_Control;Abs;Active_Power;Active_Power_Control;Add;Alpha-Beta-Zero to abc;Alpha-Beta-Zero to dq;Alpha-Beta-Zero to dq0 ;Anti-aliasing Filters;B;BUS B1 STATION_;Bconv;Bfilter;Block;Bus Creator;Bus Selector;C;CLARK;CLARK with Rotating reference;CLARK_lag;CLARK_lead;CONTROL_SIGNALS STATION_1 ;CONTROL_SIGNALS STATION_2 ;Clark Transformations;Cn;Cn_DCF;Constant;Cp;Cp_DCF;Current Measurement;Current_Reference_Calculation;Current_Reference_Limitation;DC Voltage Balance Control;DC Voltage Control Override;DC_Current;DC_SIDE STATION_;DC_Voltage;DC_Voltage_Control;Data Acquisition Station ;Data Type Conversion;Demux;Discrete PI Controller;Discrete Rate Limiter;Discrete VSC Controller ;Discrete-Time Integrator;Double click here for info;Enable;Enable (Reset);Enable (held);Enable (reset);Error;FILTER_BUS STATION_;Fcn;Filter_Bus_Voltage;Filters 60Hz;First-Order Filter;Freeze;Freeze_integrator;Freq;From;Gain;Goto;Ground;I_AB;I_abc ;Iabc;Iabc ;Iabc (pu);Idc_meas;Idc_n;Idc_p;Idc_pn;Idc_pn ;Idc_pn (pu);In;Inner Current Loop;Int_regulator (type 1);Iref_d_crc;Iref_d_dcvc;Iref_d_tmp;Iref_dq;Iref_q_crc;Iref_q_tmp;Iv_AB;Iv_abc;Iv_abc ;Iv_abc (pu);Iv_dq;Kf;Kp;L_DCF;Ln;Logical Operator;Lp;MAX:10 MIN: ;Math Function;Max=10 Min=;Max=inf Min=eps;Mean (Variable Frequency IC = 1.0 );Mean (Variable Frequency);Mean (Variable Frequency) ;Mean (Variable Frequency, IC=1);Mean (Variable Frequency, IC=1) ;Meas;Min:eps Max:inf;MinMax;Mod_index;Modulation_Index;More info;Multiport Switch;Mux;N;Neg;Ord;Out;Outer Active-Reactive Power and Voltage Loop;PCC_Voltage;PI_regulator ;PI_regulator (type 2);PLL;PWM Generator (3-Level);P_control;P_meas;Pdc_meas;Phase reactor 0.15 p.u.;Pos;Ppcc;Pref;Pref_apc;Pref_ramp;Pref_ramped;Product;Q_meas;Qpcc;Qref;Qref_rpc;R;Ramping;Rate Limiter with external rates & reset (discrete) IC:;Reactive_Power;Reactive_Power_Control;Reference;Reference_Voltage_Conditioning;Reference_Voltage_Limitation;Regulator;Relational Operator;Saturation;Second-Order Filter;Second-Order LP Filter;Second-Order Low-Pass Filter ;Selector;Sign;Signal Calculations;Station 1 (Rectifier);Station 2 (Inverter);SubSystem;Subtract;Sum;Switch;Three-Level Bridge IGBT/Diodes;Three-Phase Fault;Three-Phase Programmable Voltage Source;Three-Phase Series RLC Branch;Type;U_AB;U_abc ;U_dq;U_meas;Uabc;Uabc ;Uabc (pu);Udc_0_mean;Udc_meas;Udc_meas_mean;Udc_n;Udc_p;Udc_pn;Udc_pn ;Udc_pn (pu);Udref;Uf_AB;Uf_abc;Uf_abc ;Uf_abc (pu);Uf_meas;Unit Delay;Upcc;V--> pu_AC_sec;VOLTAGE_BALANCE_CONTROL STATION_;VSC Controller Station ;V_ref_lim_abc;Voltage Measurement;Vref_abc;Vref_dq;Vref_dq_tmp;Vref_lim_AB;Vref_lim_abc;Vref_lim_dq;Zero-Order Hold;abc;abc to Alpha-Beta-Zero;activate_reg;block_status;dPref;dV_ref_abc_dcvbc;dVref_abc;down_rate;dq Transformations;dq0 to Alpha-Beta-Zero;enable_control;enable_ramp;freeze;m;powergui;pu-->V;up_rate;wt;zero

BLOCKTYPE:
Abs;Alpha-Beta-Zero to abc Transformation;Alpha-Beta-Zero to dq0 Transformation;Anti-aliasing (2nd order lowpass);BusCreator;BusSelector;Constant;Current Measurement;DataTypeConversion;Demux;Discrete 3-phase PLL;Discrete PI Controller;Discrete Rate Limiter;Discrete VSC-Based HVDC Controller;DiscreteIntegrator;EnablePort;Fcn;Feed forward integral regulator with anti-windup and freeze - type 1 ;First-Order Filter;From;Gain;Goto;Ground;Inport;Logic;Math;Mean (Variable Frequency);MinMax;MultiPortSwitch;Mux;Outport;PI regulator with anti-windup - type 2;PMIOPort;PSB option menu block;PWM Generator (3-Level);Pi Section Line;Product;Rate of Change Limiter;Regulator with override functionality;RelationalOperator;Saturate;Scope;Second-Order Filter;Selector;Series RLC Branch;Signum;Step;Sum;Switch;Three-Level Bridge;Three-Phase Fault;Three-Phase Harmonic Filter;Three-Phase Parallel RLC Branch;Three-Phase Programmable Voltage Source;Three-Phase Series RLC Branch;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;UnitDelay;Voltage Measurement;ZeroOrderHold;abc to Alpha-Beta-Zero Transformation;dq0 to Alpha-Beta-Zero Transformation

BLOCKTYPE_FREQUENCY:
2;2;6;2;2;10;83;4;6;24;2;2;2;2;24;24;24;4;4;83;62;46;3;260;14;28;12;2;2;36;138;8;24;1;2;2;30;2;4;30;50;10;20;16;14;2;5;116;24;2;1;4;2;1;3;1;2;6;20;4;8;8;2


MODELNAME: HarmonicFilters
PATH: examples/simscapeelectricalsps/main/HarmonicFilters.slx
BLOCKTYPE_FREQUENCY: 1;1;2;6;2;2;1;1;2;2;1;3;1;8;1;1;2;2;1;1;3;1;1;1;1;2;2
CHECKSUM: 25E6BC2A48891AE72E179158940C9214
PRODUCT: MATLAB;Simscape Electrical;Simscape Electrical Documentation;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
11th / 13th (150 Mvar) 24th HP 150 Mvar) + Vdc - 3C (150 Mvar) Capacitor (150 Mvar) (kV) (kA) Three-Phase Harmonic Filters

BLOCK:
 60 Hz 500kV;->kA;->kV;0.5 H ;1000 MW;1200 MVA;3- Phase Parallel RLC;Ad;Ay;B;B2 ;Bd;Brk;By;C;Cd;Cy;Demux;Display;F;F1 ;From;Goto;Ground;IM;Iabc_B;Mean;Multimeter;PLL (3ph);Pd;Pulse Generator (Thyristor, 12-Pulse);Py;Rectifier;Reference;Scope;Signals & Scopes ;SubSystem;Terminator_;Universal Bridge;Vabc_B;alpha (deg.);info;neg;pos;powergui

BLOCKTYPE:
Constant;Demux;Display;From;Gain;Goto;Ground;Impedance Measurement;Inport;Mean;Multimeter;Outport;PLL (3ph);PMIOPort;PSB option menu block;Pulse Generator (Thyristor);Scope;Series RLC Branch;Terminator;Three-Phase Breaker;Three-Phase Harmonic Filter;Three-Phase Parallel RLC Branch;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase Transformer (Three Windings);Three-Phase VI Measurement;Universal Bridge


MODELNAME: HybridElectricSource
PATH: examples/simscapeelectricalsps/main/HybridElectricSource.slx
CHECKSUM: 8330291AD520379BDBC70E058630580D
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Max DC bus voltage Min DC bus voltage Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Max DC bus voltage Min DC bus voltage Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Max DC bus voltage Min DC bus voltage Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Max DC bus voltage Min DC bus voltage Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Max DC bus voltage Min DC bus voltage Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Energy Management Systems for a Hybrid Electric Source (Application for a More Electric Aircraft) The Ts parameter used in this model is set to 100e-6 by the Model Properties Callbacks 

BLOCK:
+M;+VFC;+VH;+VL;+Vdc;-M;-VFC;-VH;-VL;-Vdc;1 kW 0.5 kvar @ 208V;3-phase AC load;A;Add;Air blower delay;AirFr;B;Battery;Battery DC/DC charge converter reference;Battery DC/DC discharge converter references ;Bus Selector;Bus to Vector;C;Classical PI Control;Clock;Compare To Constant;Compare To Zero;Complex to Real-Imag;Constant;Contactors;Control open loop;Controlled Current Source;Controlled Voltage Source;Converters;Cotrolled Voltage Source;Current Measurement;DC/AC Converter;DC/DC Boost Converter;DC/DC Buck Converter;DC/DC Buck Converter For DC bus precharge;Data Type Conversion;Demux;Diode;Discrete PI Controller;Discrete-Time Integrator;Divide;Dynamic Impedance;ECMS Control;EEMS Control;Energy Management System;Error;FC DC/DC Boost Converter;FC DC/DC converter references;FCPM Controller;Fcn;Flow rate regulator Air;Flow rate regulator H;Frequency Decoupling and State Machine Control;From;Fuel Cell;Fuel Cell Power Module (FCPM);Fuel Cell Stack;FuelCell;Gain;Goto;Ground;H2Fr;I;IBAT*;IBATC*;IBATD*;IBAT_maxC*;IBAT_maxD*;IBat_maxD*;IBatt_maxC*;IConvBattout;IConvFCout;IFC;IFC*;IFC*max;IFC_max*;IFCmax;IH*(max);IL*(max);IL*max;Ideal Switch;If;Iinbuck;Iinv;Impedance Calculation;Iref;Kp;L;Load;Load Disconnect;Load ON;Load ON/OFF;Load Profile;LoadON;Logical Operator;M;Mesures;Mesures ;Model;More Info;Mux;O;Oscilloscope;Out;PF;PLL (3ph);Pload;Power;Product;Product of Elements;Protecting Resistor;Protecting resistor connect;Real-Imag to Complex;Reference;Relational Operator;Res ON;ResON;S;S-Function;SC;SOC;Saturation;Saturation Dynamic;Selector;Series RLC Branch;State Machine Control;SubSystem;Sum;SuperCap;Supercapacitor;Switch;Terminator;Three-Phase V-I Measurement;Uabc Ref;Unit Delay;VBAT*;VBatt*;VDC1*;VDC2*;VH*;VL*;Vab-inv;Vdc;Voltage Measurement;Z;Zero-Order Hold;abc to dq;conjugate;dq0 to abc;filter;flow rate;g;pf;powergui

BLOCKTYPE:
Average Value Boost DC/DC Converter;Average Value Buck DC/DC Converter;Average value DC/DC boost converter;Average-value Inverter model;Battery;BusSelector;BusToVector;Clock;Compare To Constant;Compare To Zero;ComplexToRealImag;Constant;Controlled Current Source;Controlled Voltage Source;Current Measurement;DataTypeConversion;Demux;Diode;Discrete PI Controller;DiscreteIntegrator;Energy Management System;Fcn;From;Fuel Cell Stack;Gain;Goto;Ground;Ideal Switch;Inport;Logic;Lookup_n-D;Math;Mux;Outport;PLL (3ph);PMIOPort;PSB option menu block;Product;RealImagToComplex;RelationalOperator;S-Function;Saturate;Saturation Dynamic;Scope;Selector;Series RLC Branch;Sin;Sum;Supercapacitor;Switch;Terminator;Three-Phase Parallel RLC Load;Three-Phase VI Measurement;TransferFcn;UnitDelay;Voltage Measurement;ZeroOrderHold;abc to dq0 Transformation;dq0 to abc Transformation

BLOCKTYPE_FREQUENCY:
2;3;2;1;1;5;5;3;1;1;1;58;8;7;21;2;2;10;26;27;1;32;129;1;91;65;1;6;82;5;1;1;29;82;1;50;1;30;2;14;4;69;6;6;23;19;1;95;1;11;3;1;1;1;25;19;30;1;1


MODELNAME: IEEE13NodeTestFeeder
PATH: examples/simscapeelectricalsps/main/IEEE13NodeTestFeeder.slx
BLOCKTYPE_FREQUENCY: 3;16;6;4;6;12;6;1;9;6;5;1;7;1;1;4
CHECKSUM: BA21AE44E61E6C39C31D033F042DB51E
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 692 --------A-------- --------B-------- --------C-------- ---V1--PQtotal--- V (pu deg.) 0.9900 -5.30 1.0529 -122.34 0.9777 116.03 1.0066 -3.84 Gen (kW kvar) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 PQ load (kW kvar) 42.85 122.70 0.00 0.00 125.51 26.84 168.36 149.54 Z shunt (kW kvar) -0.01 0.01 0.01 0.01 -0.00 -0.01 0.00 0.00 -&gt; 671 (kW kvar) -530.99 -121.23 -68.36 162.22 -416.14 -48.37 -1015.49 -7.38 -&gt; 675 (kW kvar) 488.16 -1.48 68.34 -162.22 290.64 21.54 847.14 -142.16   633 --------A-------- --------B-------- --------C-------- ---V1--PQtotal--- V (pu deg.) 1.0180 -2.55 1.0401 -121.77 1.0148 117.83 1.0243 -2.16 Gen (kW kvar) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 PQ load (kW kvar) -0.00 -0.00 -0.00 -0.00 -0.00 -0.00 -0.00 -0.00 Z shunt (kW kvar) -0.00 -0.00 0.00 0.00 0.00 0.00 0.00 0.00 -&gt; 632 (kW kvar) -162.86 -114.93 -121.78 -92.95 -121.84 -93.07 -406.48 -300.95 -&gt; 634 (kW kvar) 162.86 114.93 121.78 92.95 121.84 93.07 406.48 300.95   632 --------A-------- --------B-------- --------C-------- ---V1--PQtotal--- V (pu deg.) 1.0210 -2.49 1.0420 -121.72 1.0174 117.83 1.0268 -2.12 Gen (kW kvar) 1230.15 602.29 980.89 341.62 1307.37 588.72 3518.41 1532.64 PQ load (kW kvar) 8.50 5.00 33.00 19.00 58.50 34.00 100.00 58.00 Z shunt (kW kvar) 0.00 0.00 -0.00 0.00 0.00 -0.00 0.00 0.00 -&gt; 633 (kW kvar) 163.22 115.45 121.93 93.21 122.14 93.32 407.29 301.98 -&gt; 671 (kW kvar) 1058.44 481.84 491.67 101.47 1047.07 323.42 2597.18 906.73 -&gt; 645 (kW kvar) 334.29 127.94 79.66 137.99 413.95 265.93   Three-Phase Series RLC Load 671 D PQ [ 385 385 385] kW [ 220 220 220] kW  Three-Phase Series RLC Load 692 D I Vca = 0.9777*exp(1i* 116.03*pi/180)-0.990*exp(1i*-5.30*pi/180) abs(Vca)/sqrt(3) = 0.9904 P 692_c = 170*0.9904 = 168.4 kW Q 692_c = 151*0.9904 = 149.5 kW  Series RLC Load 611 I P 611_c = 170*0.9737 = 165.5 kW Q 611_c = 80*0.9737 = 77.89 kW  INFORMATION OBTAINED FROM THE LOAD FLOW REPORT  Compare measurements with Load Flow Report  632 Swing bus 1.0210 pu -2.49 1.0420 pu -121.72 1.0174 pu 117.83  PI Section Asymetrical Line models IEEE 13 Node Test Feeder 

BLOCK:
; 634 Yg PQ ;4160 V swing;611 I;611 Z;632 Yg PQ;646_Z;652 Z ;671 D PQ;671 Yg PQ;675 Yg PQ;675 Yg Z;692 D I;Anlges ;Breaker;Complex to Magnitude-Angle;Double click here for more info;From;Ground;Load Flow Bar;Multimeter;P 633->;P 692->;P Gen ;PQ;P_Load 611 I;P_Load 671 D PQ [ab bc ca];P_Load 692 D I [ab bc ca];Pi Section Line;Power (Phasor);Power-Flow;Q 633->;Q 692->;Q Gen ;Q_Load 611 I;Q_Load 671 D PQ [ab bc ca];Q_Load 692 D I [ab bc ca];Reference;SubSystem;V PG ;V->pu;XFM-1 4.16 kV /480 V;powergui;rad2deg

BLOCKTYPE:
ComplexToMagnitudeAngle;Display;From;Gain;Ground;Load Flow Bus;Multimeter;PSB option menu block;Pi Section Line;Power (Phasor);Series RLC Load;Three-Phase Breaker;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement


MODELNAME: IPMSMDrive
PATH: examples/simscapeelectricalsps/main/IPMSMDrive.slx
BLOCKTYPE_FREQUENCY: 2;2;4;2;17;3;1;12;3;7;1;6;12;1;34;3;2;3;8;31;13;1;1;9;1;5;2;6;3;1;3;1;1;1;1;6;3;3;7;1;1;9
CHECKSUM: 35EF2D4253AD9C27CF70F87F2006529D
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 AC6 - 100 kW Interior Permanent Magnet Synchronous Motor Drive The Ts parameter used in this model is set to 2e-6 by the Model Properties Callbacks  * The library link of this block is intentionally broken

BLOCK:
!S;!S_Limited;*PM Synchronous Motor Drive;+;-;288 Vdc 100kW 12500 rpm PMSM;A;Abs;B;Bus Creator;Bus Selector;BusCreator;C;Complex to Magnitude-Angle;Constant;Control 1-;Control 3-;Control 5-;Ctrl;Current;Current Measurement;Current Regulator;DC Voltage Source;DQ-ABC;Data Type Conversion;Demux;Discrete-Time Integrator;Fcn;Flux*;Gain;IC;I_abc;Iabc;Iabc*;Id* ;Integral gain;Iq* ;Logical Operator;Lookup Table;Low pass filter;Measures;Mechanical system;More Info;Motor;Mta;Mtb;Mtc;Multiport Switch;Mux;N;N rad/s;N*;Norm Flux*;Output Bus Selector;PMSM Drive;Power;Product;Proportional gain;Pulses;RF Pulses;Rate Limiter;Rate Transition;Real-Imag to Complex;Reference;Reference Torque;Relational Operator;Relay;S;S-R Flip-Flop;SP;S_Limited;Saturation Dynamic;Sig;Sign;Speed Controller;SubSystem;Subsystem;Sum;Switching control;Ta;Tb;Tc;Te;Ten;Terminator;Teta;Three-phase Inverter;Torque;Torque limitation;Torque vs speed profile;Torque*;Transfer Fcn;Trig;Unit Delay;Universal Bridge;VECT controller;Vdc+;Vdc-;Voltage;Wm;Zero-Order Hold;demux;g;gates;ia;ib;ic;iqn;m;motor;powergui;rad2rpm;speed;teta;torque

BLOCKTYPE:
Abs;BusCreator;BusSelector;ComplexToMagnitudeAngle;Constant;Current Measurement;DC Voltage Source;DataTypeConversion;Demux;DiscreteIntegrator;DiscreteTransferFcn;Fcn;Gain;InitialCondition;Inport;Logic;Lookup_n-D;MultiPortSwitch;Mux;Outport;PMIOPort;PSB option menu block;Permanent Magnet Synchronous Machine;Product;RateLimiter;RateTransition;RealImagToComplex;RelationalOperator;Relay;SPSdrives Converter;SRFlipFlop;Saturation Dynamic;Scope;Signum;Speed controller;Sum;Terminator;TransferFcn;UnitDelay;Universal Bridge;VECT;ZeroOrderHold


MODELNAME: InductionMotorDirectTorqueControl
PATH: examples/simscapeelectricalsps/main/InductionMotorDirectTorqueControl.slx
CHECKSUM: DF77E77B08CD8E1023851435E6CDBF01
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  Optimal Switching  Hysteresis Control  Hysteresis-Based Direct Torque Control (DTC) | | | |   Hysteresis-based Direct Torque Control (DTC) 150-HP Induction Motor Drive Parameters file Learn more about this example.

BLOCK:
+;-;150-HP, 460V Induction Motor;2-D Lookup Table;Add;Atan;Braking chopper;Bus Creator;Bus Selector;Compare To Zero;Complex to Magnitude-Angle;Complex to Real-Imag;Compute Number Of Switchings (per 100ms);Compute average switching;Constant;Ctrl;DC_link;Data Type Conversion;Demux;Detect Change;Determine required vector;Determine sector;Diode Rectifier;Direct Torque Control;Discrete Sample & Hold;Discrete-Time Integrator;Floor;Flux;Flux & Torque Calculation;Flux Control;Flux reference (V.s);From;Gain;Goto;Grid Equivalent 460V, 60Hz;Hypot;IGBT;Ia_Motor;Iabc;Kp;Line-to-Phase;LineV;Load torque (N.m);Logical Operator;Magnitude-Angle to Complex;Math Function;Mux;NbSw_abc;Nb_Sw;P_kW;Period=100ms;PhaseV;Product;Rate Limiter;Real-Imag to Complex;Reference;Relational Operator;Relay;Reset;Saturation;Scope;Scope_Ctrl;Second-Order Filter;Sector;Selector;Sig;Sig_Ctrl;Sig_Motor;Speed;Speed Regulator;Speed reference (RPM);Stator Resistance;SubSystem;Subsystem;Sum;Switch;Te_calc;Te_ref;Terminator;Three-Phase V-I Measurement;Tload;Torque;Torque Control +;Torque Control -;Two-Level Converter;Unit Delay;VImeas;Vabc;Vdc;Vector;Vector-to-Pulses;Voltage Measurement;Zero-Order Hold;abc to Alpha-Beta-Zero;abc_Filter;const;g;phi_mag;phi_pha;phi_ref;powergui;to-RPM;wm;wref

BLOCKTYPE:
Asynchronous Machine;BusCreator;BusSelector;Compare To Zero;ComplexToMagnitudeAngle;ComplexToRealImag;Constant;DataTypeConversion;Demux;Detect Change;Determine required voltage space vector;Direct Torque Control (DTC);Discrete Sample & Hold ;DiscreteIntegrator;Fcn;From;Gain;Goto;IGBT;Inport;Logic;LookupNDDirect;Lookup_n-D;MagnitudeAngleToComplex;Math;Mux;Outport;PMIOPort;PSB option menu block;Product;RateLimiter;RealImagToComplex;RelationalOperator;Relay;Rounding;Saturate;Scope;Second-Order Filter;Selector;Series RLC Branch;Speed Regulator;Stair Generator;Sum;Switch;Terminator;Three-Phase Source;Three-Phase VI Measurement;Trigonometry;Two-Level Converter;UnitDelay;Universal Bridge;Vector-to-pulses conversion;Voltage Measurement;ZeroOrderHold;abc to Alpha-Beta-Zero Transformation

BLOCKTYPE_FREQUENCY:
1;1;4;2;1;1;12;1;3;1;1;1;1;4;1;40;12;31;1;20;3;1;1;1;3;7;19;2;1;1;1;1;3;4;1;2;5;2;2;2;1;3;13;2;1;1;2;1;1;3;1;1;1;1;2


MODELNAME: InductionMotorDirectTorqueControlwithSVM
PATH: examples/simscapeelectricalsps/main/InductionMotorDirectTorqueControlwithSVM.slx
CHECKSUM: 6ABD0EBA8CDFDC34B71F656167B5A675
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  SVPWM-Based Direct Torque Control (DTC)  SVPWM-Based Direct Torque Control (DTC) of an Induction Motor Drive Parameters file Learn more about this example. 

BLOCK:
 Demux ; SFunction ; Terminator ;+;-;150-HP, 460V Induction Motor;Add;Atan;Braking chopper;Bus Creator;Bus Selector;Clk;Compare To Zero;Complex to Magnitude-Angle;Complex to Real-Imag;Constant;D;DC_link;Demux;Digital Clock;Diode Rectifier;Discrete-Time Integrator;Divide;Flux;Flux & Torque Calculation;Flux reference (V.s);From;Gain;Goto;Grid Equivalent 600V, 60Hz;Hypot;IGBT;Iabc;Kp;Line-to-Phase;LineV;Load torque (N.m);Logical Operator;MATLAB Function;Magnitude-Angle to Complex;Mux;P;PI (T);PI (phi);P_kW;PhaseV;Power (dq0, Instantaneous);Q_kvar;Rate Limiter;Rate Transition;Real-Imag to Complex;Reference;Relational Operator;Relay;SVPWM Modulator;SVPWM-based DTC Control;Saturation;Scope_Motor;Scope_PQ;Scope_Suppply;Scope_Vabc_Motor;Scope_VdVq;Second-Order Filter;Selector;Sig;Sig_Ctrl;Sig_Motor;Speed;Speed Regulator;Speed reference (RPM);Stator Resistance;SubSystem;Subsystem;Sum;Switch;Te_calc;Te_ref;Terminator;Three-Phase V-I Measurement;Tload;Torque;Two-Level Converter;Unit Delay;VImeas;Vabc;VdVq;Vdc;Voltage Measurement;Vref;Zero-Order Hold;abc to Alpha-Beta-Zero;dq0 to abc;error;out;phi_mag;phi_pha;phi_ref;powergui;to-RPM;wm;wref

BLOCKTYPE:
Asynchronous Machine;BusCreator;BusSelector;Compare To Zero;ComplexToMagnitudeAngle;ComplexToRealImag;Constant;Demux;DigitalClock;Direct Torque Control (DTC);DiscreteIntegrator;Fcn;From;Gain;Goto;IGBT;Inport;Logic;MagnitudeAngleToComplex;Math;Mux;Outport;PMIOPort;PSB option menu block;Power (dq0, Instantaneous);Product;RateLimiter;RateTransition;RealImagToComplex;RelationalOperator;Relay;S-Function;Saturate;Scope;Second-Order Filter;Selector;Series RLC Branch;Speed Regulator;Stair Generator;Sum;Switch;Terminator;Three-Phase Source;Three-Phase VI Measurement;Trigonometry;Two-Level Converter;Unified PWM Modulator for a 2-level, 3-phase converter;UnitDelay;Universal Bridge;Voltage Measurement;ZeroOrderHold;abc to Alpha-Beta-Zero Transformation;dq0 to abc Transformation

BLOCKTYPE_FREQUENCY:
1;1;5;6;1;1;13;5;1;1;5;1;37;13;28;1;20;9;1;2;8;21;2;1;1;1;1;2;1;6;1;1;6;5;2;5;2;3;3;11;3;3;1;2;1;1;1;2;1;1;4;2;1


MODELNAME: InductionMotorDrive
PATH: examples/simscapeelectricalsps/main/InductionMotorDrive.slx
BLOCKTYPE_FREQUENCY: 1;4;2;1;3;1;1;2;7;1;1;1;3;2;1
CHECKSUM: 2714CE3011EA9CD9045301A50134B2C5
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Torque selection (N.m)  AC9 - Single-Phase Induction Motor Drive  This example shows the Single-Phase Induction Motor Drive during speed regulation. Learn more about this example. 

BLOCK:
110V 60Hz;Bus Selector;Change number to select Speed reference;Constant torque;Conv;Ctrl;Demux;Gain;Ias;Ibs;Load Torque;Manual Switch;Motor;Multiport Switch;Mux;RefSpeed;Reference;Scope;Single-Phase Induction Motor Drive;Speed;Speed Reference;SubSystem;Tem;Terminator;Tm;V_dc;powergui;torque step

BLOCKTYPE:
AC Voltage Source;BusSelector;Constant;Gain;Inport;ManualSwitch;MultiPortSwitch;Mux;Outport;PSB option menu block;Scope;Single-Phase Induction Motor Drive;Stair Generator;Step;Terminator


MODELNAME: InductionMotorDriveDirectTorqueControl
PATH: examples/simscapeelectricalsps/main/InductionMotorDriveDirectTorqueControl.slx
ANNOTATION: AC4 - DTC Induction 200 HP Motor Drive
BLOCKTYPE_FREQUENCY: 3;1;1;3;2;6;1;1;2;1;1
CHECKSUM: 9DC8067ACD6E5384188A529A325CC998
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
 ;460V 60Hz;Bus Selector;Conv.;Ctrl;DTC Induction Motor Drive;Gain;Load torque;More Info;Mux;Reference;Scope;Speed reference;Stair Generator;SubSystem;Tem;Terminator;demux;i_a;motor;powergui;speed;v_dc

BLOCKTYPE:
BusSelector;DTC Induction Motor Drive;Gain;Inport;Mux;Outport;PSB option menu block;Scope;Stair Generator;Terminator;Three-Phase Source


MODELNAME: InductionMotorDriveFOCLowAndHighFidelity
PATH: examples/simscapeelectricalsps/main/InductionMotorDriveFOCLowAndHighFidelity.slx
ANNOTATION: AC3 - Comparison Between Detailed and Simplified Models
BLOCKTYPE_FREQUENCY: 8;2;4;2;2;12;13;29;1;2;2;2;4;2
CHECKSUM: CD1342C4CD5732479D22BE8E0AAB48CD
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
 ;460V 60Hz;AC3 detailed;AC3 simplified;Bus Selector;Complex to Magnitude-Angle;Conv;Conv.;Ctrl;Discrete Transfer Fcn;Gain;Load torque;More Info;Mux;Phir;Real-Imag to Complex;Reference;Scope ;Speed reference;Stair Generator;SubSystem;Subsystem;Tem;Terminator;Vd;Vq;demux;i_a;id;iq;motor;powergui;speed;v_dc

BLOCKTYPE:
BusSelector;ComplexToMagnitudeAngle;DiscreteTransferFcn;Field-Oriented Control Induction Motor Drive;Gain;Inport;Mux;Outport;PSB option menu block;RealImagToComplex;Scope;Stair Generator;Terminator;Three-Phase Source


MODELNAME: InductionMotorDriveFieldOrientedControl
PATH: examples/simscapeelectricalsps/main/InductionMotorDriveFieldOrientedControl.slx
CHECKSUM: DAC273889B71638F74AE37702E13CB60
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
where Tr = (Llr+Lm) / Rr  phir = Lm * Ids * (1 / (1 +Tr .s))   Ids=phir/Lm  Iqs= (2/3) * (1/p) * (Llr+Lm)/Lm * Te/phir Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  where wsl = slip frequency = Iqs/phir * (Lm/Tr) where Tr= (Llr+Lm)/Rr  theta= Electrical angle= integ (p* wm + wsl )  Field-Oriented Controller (FOC)  INPUTS  Calculation of Flux, theta &amp; IdIq Reference Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. harmonic filter neglected Vd_mes + Id*R - Iq*L + deriv(Id)*L/wbase= Vd_conv Vq_mes + Id*L + Iq*R + deriv(Iq)*L/wbase= Vq_conv  Current Regulator (with feedforward) Sign Convention: Current going out of the converter = positive current Iq positive --> The converter absorbs reactive power (Inductive mode) = Reactive Power Q negative  Id positive --> The converter generates active power (Inverter mode) = Active Power P positive Ltot = Lxfo + Lchoke Rtot = Rxfo + Rchoke (Vd_prim - Vd_conv) ~= + Iq * Ltot (Vq_prim - Vq_conv) ~ = - Id * Ltot  For Ltot >> Rtot :  1/4 cycle delay Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. (Correction for delay of Ts_Control)  RECTIFIER CONTROL SYSTEM  ============================= 750V - DC Link  Field-Oriented Control of an Induction Motor Drive Parameters file Learn more about this example.

BLOCK:
 ; Demux ; SFunction ; Terminator ; b;15kV Source;15kV/460V 150 kVA;20 MVA 15kV System;20 kW (750V);4000uF;A;A->pu;Add;Additional Scopes;Alpha-Beta-Zero to dq;Avoid division by zero;B;Bus Creator;Bus Selector;Clk;Compare To Zero;Complex to Magnitude-Angle;Complex to Real-Imag;Constant;Current Regulator;D;Demux;Digital Clock;Discrete-Time Integrator;Divide;Error;FOC;Fcn;First-Order Filter;Flux calculation;Freq;From;Full-Bridge Converter;Fundamental (PLL-Driven);Gain;Goto;Ground;Hypot;I;Ia;IdIq;IdIq_meas;IdIq_ref;IdIqs;IdIqs_ref;Id_ref;Idq;Ids;Ids & Iqs reference calculation;Ids_Iqs_ref;Imeas;Induction Motor 150 HP / 460 V;Inverter;Iqref;Iqs;KF;Ki;Kp;Lm;Load Torque (N.m);Logical Operator;Ltot_pu;MATLAB Function;Magnitude-Angle to Complex;Math Function;ModIndex;Motor;Mux;Notch(2nd) (2000uF);Out;P;PI regulator with anti-windup D;PIdq;PLL;PLL & Measurements;PQ_kVA;PWM Generator;PWM Modulator ;Power (dq0, Instantaneous);Product;Qreg_On;Rate Limiter;Real-Imag to Complex;Rec;Rectifier;Rectifier Controller;Reference;Relational Operator;Round;Rtot_pu;Saturation;Scope1_Ctrl_FOC;Scope1_Ctrl_Rec;Scope2_Ctrl_Rec;Second-Order Filter;Selector;Sig_FOC;Single-Phase dq Transform;Speed Regulator;Speed reference (RPM);SubSystem;Subsystem;Sum;Switch;T;Te_ref;Terminator;Three-Phase V-I Measurement;Tl;Trigonometric Function;Two-Level Converter;Unit Delay;V;V->pu;VDC Regulator;Vac;Variable Integer Delay;VdVq;VdVq_conv;VdVq_meas;Vdc;Vdc_meas;Vdc_ref;Voltage Measurement;Vref;Vref Generation ;Vrms;Zero-Order Hold;a;avoid division by zero;dq0 to abc;gInv;is_abc;m_Motor;meas;mes_Iac;phir;phir_ref;powergui;stator currents abc to dq conversion;theta;theta calculation;to-RPM;to-kva;to-rad;to-red_s;to-rms;w;wm;wref;wt

BLOCKTYPE:
AC Voltage Source;Alpha-Beta-Zero to dq0 Transformation;Asynchronous Machine;BusCreator;BusSelector;Compare To Zero;ComplexToMagnitudeAngle;ComplexToRealImag;Constant;Current Measurement;Current Regulators;Delay;Demux;DigitalClock;Discrete PI Controller;DiscreteIntegrator;Fcn;Field-Oriented Controller (FOC);First-Order Filter;From;Full-Bridge Converter;Fundamental (PLL-Driven);Gain;Goto;Ground;Inport;Linear Transformer;Logic;MagnitudeAngleToComplex;Math;Mux;Outport;PLL;PMIOPort;PSB option menu block;PWM Generator Pulse Averaging;Power (dq0, Instantaneous);Product;RateLimiter;RealImagToComplex;Rectifier Control;RelationalOperator;Rounding;S-Function;Saturate;Scope;Second-Order Filter;Selector;Series RLC Branch;Speed Regulator;Stair Generator;Sum;Switch;Terminator;Three-Phase VI Measurement;Trigonometry;Two-Level Converter;Unified PWM Modulator for a 2-level, 3-phase converter;UnitDelay;Voltage Measurement;ZeroOrderHold;abc to dq0 Transformation;dq0 to abc Transformation

BLOCKTYPE_FREQUENCY:
1;1;1;2;13;10;1;1;30;1;1;1;8;1;4;6;2;1;1;53;1;1;28;35;1;47;1;15;1;2;17;35;1;4;1;1;1;8;1;1;1;10;1;1;13;6;5;13;5;1;2;21;5;2;1;1;1;1;3;2;6;1;1


MODELNAME: InductionMotorDriveSixStepInverter
PATH: examples/simscapeelectricalsps/main/InductionMotorDriveSixStepInverter.slx
ANNOTATION: AC1 - Six-Step VSI Induction 3HP Motor Drive
BLOCKTYPE_FREQUENCY: 3;1;3;1;6;1;1;1;2;1;1
CHECKSUM: 34B2159EC3655F824A58B1A4DC3616F7
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
 ;220V 60Hz;Bus Selector;Conv;Ctrl;Gain;Is_a;Load torque;More Info;Motor;Mux;N;Reference;Scope;Six-Step VSI Induction Motor Drive;Speed reference;Stair Generator;SubSystem;Tem;Terminator;Vdc;demux;powergui

BLOCKTYPE:
BusSelector;Gain;Inport;Mux;Outport;PSB option menu block;Scope;Six-Step VSI Induction Motor Drive;Stair Generator;Terminator;Three-Phase Source


MODELNAME: InductiveCurrentChopping
PATH: examples/simscapeelectricalsps/main/InductiveCurrentChopping.slx
BLOCKTYPE_FREQUENCY: 1;1;1;4;1;1;2;3;1;1
CHECKSUM: 85608719FFBCC7E24A15C872050AFEFA
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Inductive Current Chopping  This example shows the effect of current chopping in an inductive circuit. Learn more about this example. 

BLOCK:
 Ind. current;Bus Selector;Ground;Ideal Switch;Ind. voltage;Reference;Rs 1 ohm;Rs = 50 ohm L = 1 H;Scope;Stair Generator;Stray Capacitance 50 nF;Vs=120V rms 60 Hz;output Ground;powergui

BLOCKTYPE:
AC Voltage Source;BusSelector;Current Measurement;Ground;Ideal Switch;PSB option menu block;Scope;Series RLC Branch;Stair Generator;Voltage Measurement


MODELNAME: InteriorPMSMFieldOrientedControl
PATH: examples/simscapeelectricalsps/main/InteriorPMSMFieldOrientedControl.slx
CHECKSUM: 6EBC91C3DA75DCB9A4675261339F176F
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  for we= wm * p Vd_FF= -1.0 * we *LqIq Vq_FF= we *( LdId + lambda)  Feed-forward calculation for IPMSM current regulator Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  INPUTS  Field-Oriented Controller (FOC) forInterior Permanent Magnet Synchronous Motor  Test 1  Test 2  Test 3  Test 1: Shows motor and generator operation in normal speed (1200 rpm) and overspeed mode (2400 rpm)  Test 2: Demonstrates the impact of the MTPA (Maximum Torque Per Ampere) control on the motor currents   Test 3: Illustrates the wide-speed operation of IPMSM motor (from 0 rpm to 6000 rpm) Note: set the simulation stop time to 10s  Field-Oriented Control of an Interior Permanent Magnet Synchronous Motor Parameter file Learn more about this example.   Select a test number (1 to 3)(open Test Sequences block to see test description) 

BLOCK:
 Demux ; SFunction ; Terminator ;50kW, 550Vdc IPMSM;Abs;Add;Additional Scopes and Measurements;Bus Creator;Bus Selector;Clk;Compare To Zero;Complex to Magnitude-Angle;Complex to Real-Imag;Constant;Ctrl;Current reference calculation;D;DC Voltage Source;Demux;Digital Clock;Discrete-Time Integrator;Error;FOC;Fcn;From;Gain;Goto;Hypot;Iabc;IdIq_ref;IdIqs;IdIqs_ref;Idq;Idref;Is_abc;Kp;Ld;Ld Lq lam p ib;Load Torque Limiter;Load_torque;Logical Operator;Lq;MATLAB Function;MTPA Field Weakening Controller;MTPA_Off;Magnitude-Angle to Complex;Mod;ModIndex;Multiport Switch;Mux;Optimal iqn;Out;P;P-kW;PI regulator with anti-windup D;Power (dq0, Instantaneous);Product;Ramp;Rate Limiter;Real-Imag to Complex;Reference;Relational Operator;SVPWM Modulator;Saturation;Saturation Dynamic;Scope;Second-Order Filter;Selector;Sig;Sig_Ctrl;Speed Regulator;Stair Generator;Step_Tload;SubSystem;Subsystem;Sum;Switch;T;Ten;Terminator;Test Number;Test_Number;Test_Sequences;Three-Phase V-I Measurement;Tload;Tload*;To Iref;Torque limiter;Torque vs speed profile;Tref;Tref*;Two-Level Converter;Unit Delay;VdVq;VdVq Limiter;VdVq_unsat;Vdc;Vinv;Vref;Zero-Order Hold;dq0 to abc;gInv;gain;idn;iqn;iqn_opt;mMotor;params;powergui;prod;rpm_ref;stator currents abc to dq conversion;theta;to rpm;to-kvW;to-pu;to-we;w;wm;wm_rpm;wref

BLOCKTYPE:
Abs;BusCreator;BusSelector;Compare To Zero;ComplexToMagnitudeAngle;ComplexToRealImag;Constant;Current reference generation;DC Voltage Source;Demux;DigitalClock;Discrete PI Controller;DiscreteIntegrator;Fcn;From;Gain;Goto;Inport;Logic;Lookup;Lookup_n-D;MagnitudeAngleToComplex;Math;MultiPortSwitch;Mux;Outport;PSB option menu block;Permanent Magnet Synchronous Machine;Power (dq0, Instantaneous);Product;Ramp;RateLimiter;RealImagToComplex;RelationalOperator;S-Function;Saturate;Saturation Dynamic;Scope;Second-Order Filter;Selector;Speed Regulator;Stair Generator;Step;Sum;Switch;Terminator;Three-Phase VI Measurement;Two-Level Converter;Unified PWM Modulator for a 2-level, 3-phase converter;UnitDelay;ZeroOrderHold;abc to dq0 Transformation;dq Current Regulators;dq0 to abc Transformation

BLOCKTYPE_FREQUENCY:
4;1;16;6;1;1;19;1;1;8;1;2;3;1;50;25;32;36;9;2;2;1;4;3;17;28;1;1;1;3;1;5;1;6;2;11;3;4;6;3;1;6;1;11;4;4;1;1;1;1;4;1;1;1


MODELNAME: KundurTwoAreaSystem
PATH: examples/simscapeelectricalsps/main/KundurTwoAreaSystem.slx
BLOCKTYPE_FREQUENCY: 1;4;4;26;8;2;4;36;3;8;28;20;6;1;4;16;17;6;2;1;1;2;4;1;9;1;4;1;15;1;4;16;2;1;4;4;4;4;6;1;1
CHECKSUM: 4460929F7B6399D088A4464ADB37AD90
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
MACHINE 1 MACHINE 2 Area 1 ==> to Bus B1 MACHINE 3 MACHINE 4 ==> to Bus B2 Area 2  This example shows the use of phasor measurement units - PMU (PLL-based, positive sequence) in the Kundur Two-Area System circuit. The system presents eleven buses and two areas, connected by a weak tie between bus B1 and bus B2. Learn more about this example.  M1: yellow M2: magenta M3: cyan M4: red  Kundur Two-Area System

BLOCK:
 A; B; Brk; C;-200MVAR;-350MVAR;10 km Area ;1767MW 100MVAR -187MVAR;25km Area ;967MW 100MVAR -187MVAR;A;Abs;Area ;B;BG;Brk;Bus Selector;C;Complex to Magnitude-Angle;DPL;Delta Pa PSS;Delta Pa PSS ;Delta w PSS (Kundur);Demux;EXCITATION;Electrical Power Yellow=M1 mag=M2 cyan=M3 red=M4 ;From;Gain;Goto;In;Load Flow Bus;M1 900 MVA;M1: Turbine & Regulators;M2 900 MVA;M2: Turbine & Regulators;M3 900 MVA;M3: Turbine & Regulators;M4 900 MVA;M4: Turbine & Regulators;Machines;MinMax;Multiport Switch;Mux;Out;PMU 1 (PLL-Based, Positive-Sequence);PMU 2 (PLL-Based, Positive-Sequence);PSS;PSS and Machine Signals;PSS model;Pa;Pm;Power (3ph, Instantaneous);Pref;Pref ;Product;Real-Imag to Complex;Reference;Relational Operator;S;STG;Scope;Snubber;Snubber ;Stability Signals Yellow=G1 mag=G2 cyan=G3 red=G4 ;Stair Generator;Stop;Stop simulation if loss of synchronism;SubSystem;Sum;Switch;T1: 900MVA 20 kV-230 kV;T2: 900MVA 20 kV/230 kV;T3: 900MVA 20 kV-230 kV;T4: 900MVA 20 kV/230 kV;Terminator;Three-Phase Fault;Trigonometric Function;Vf;Voltage and Current Bus;Vref;Vref1 ;Vt;W;d_theta;deg2rad;m;powergui;sig;to PU;w;wref

BLOCKTYPE:
Abs;BusSelector;ComplexToMagnitudeAngle;Constant;Demux;Distributed Parameters Line;Excitation System;From;Gain;Generic Power System Stabilizer;Goto;Inport;Load Flow Bus;MinMax;MultiPortSwitch;Mux;Outport;PMIOPort;PMU (PLL-Based, Positive-Sequence);PSB option menu block;Power (3ph, Instantaneous);Product;RealImagToComplex;RelationalOperator;Scope;Stair Generator;Steam Turbine and Governor;Stop;Sum;Switch;Synchronous Machine;Terminator;Three-Phase Breaker;Three-Phase Fault;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Series RLC Load;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;ToWorkspace;Trigonometry


MODELNAME: LineImpedanceModulator
PATH: examples/simscapeelectricalsps/main/LineImpedanceModulator.slx
CHECKSUM: 7A9E4C401EE764B9AF83D6D059939D93
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
 Back-to-back Switching Modules  Back-to-back configuration of two 30-km Bundle-Controlled Line (BCL) segments  30-km line segment  30-km line segment  Pre-selected switching combinations   Switch States of 1st module  Switch States of 2nd module  Line Impedance Modulator (LIM)  Z cmd   Ramp rate  Variaton of MIL Impedance with a rate limiter  Step Variaton of MIL Impedance(w/o rate limitation) Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Stabilisateur multi-bande R. Grondin, I. Kamwa (IREQ) Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Pierre Giroux, Gilbert Sybille Power System Simulation Laboratory IREQ, Hydro-Quebc Discrete PID Controller Stabilisateur multi-bande R. Grondin, I. Kamwa (IREQ)  Power Flow Control and Line Deicing Using a Bundle-Controlled Line Impedance Modulator (LIM) Project Leader : Pierre Couture Modeling : Jacques Brochu Hydro-Quebec Research Institute (IREQ) 2007 MW (1c) ---> 2404 MW (4c) 19 MW (1c) ---> 1968 MW (1c) ---> 1573 MW (4c) 415 MW (4c)

BLOCK:
 A; B; C; P;-180<angle<;->A rms;->MVars;->MW;->pu;10 000 MVA;3-phTransformer 2500 MVA 13.8 kV/735 kV;3-phTransformer 3000 MVA 13.8 kV/735 kV;400 MW;500 MW;735 kV;A;Add;B;Backlash;Bus Selector;C;Compare To Constant;Constant;Demux;Derivative ;Digital Clock;Discrete Lead-Lag;Discrete State-Space;Discrete Timer;Discrete-Time Integrator;Double click here for more info;Error;Excitation System;From;Gain;Goto;Ground;HTG;I;I3_;I_L1_L2_L3 (A rms);Iabc_L;In;Kp;L1 (30 km);L2 (90 km);L3 (2x30km);LIM Impedance Control;Length of look-up table;Logical Operator;Look-Up Table;Look-Up Table (2-D);Machine1 (3000 MVA);Machine2 (2500 MVA);Multimeter;Mux;Out;P;P_L1_L2_L3 (MW);Pha_L1_L;Phase_L1_L3_(deg);Pi Section Line ;Pm;Power (Positive-Sequence);Pref;Pulse Generator;Q;Q_L1_L2_L3 (Mvar);Ramp Rate;Rate Limiter Dynamic;Reference;Relational Operator;Sample and Hold;Saturation;Scope 1 : Zcmd, Zdisc (pu) and P L1 L2 L3 (MW);Scope 2: Bus 2 Seq. rms Vs and Line 3 Seq. rms Is ;Scope 3: Phase-A Bundle Switch Vs and Is ;Scopes;Selector;Sequence Analyzer;Signal processing;Stabilisateur Multi-bande (IREQ);SubSystem;Sum;Sw1_;Sw2_;Switch;Switch Combination Number;Switch States ;Switch states ;Tau=0.035s;Terminator;Three-Phase V-I Measurement;Turbine Excitation Regulator ;Turbine Excitation Regulator 1 ;V;V2_;V_B1_B2_B3 (pu);Vabc_B;Vf;Vref;Z;Z (pu);Z cmd;Zero-Order Hold;dw;m;powergui;s/(s+1);vstab;wref

BLOCKTYPE:
Backlash;Breaker;BusSelector;Compare To Constant;Constant;Demux;DigitalClock;Discrete 1st-Order Filter;Discrete Lead-Lag Controller;Discrete PID Controller;DiscreteIntegrator;DiscretePulseGenerator;DiscreteStateSpace;DiscreteTransferFcn;Display;Distributed Parameters Line;Excitation System;From;Gain;Goto;Ground;Hydraulic Turbine and Governor;Inport;Logic;Lookup;Lookup2D;Multimeter;Mux;Outport;PMIOPort;PSB option menu block;Pi Section Line;Power (Positive-Sequence);Rate Limiter Dynamic;RelationalOperator;Sample and Hold ;Saturate;Scope;Selector;Sequence Analyzer;Sum;Switch;Synchronous Machine;Terminator;Three-Phase Parallel RLC Load;Three-Phase Programmable Voltage Source;Three-Phase Series RLC Branch;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Timer;ZeroOrderHold

BLOCKTYPE_FREQUENCY:
1;24;2;1;12;5;3;2;12;4;4;1;14;4;9;2;2;33;35;32;5;2;32;2;3;1;1;7;44;33;1;2;3;1;2;1;4;3;1;8;17;2;2;9;2;1;1;2;4;3;4


MODELNAME: LoadFlow29BusNetwork
PATH: examples/simscapeelectricalsps/main/LoadFlow29BusNetwork.slx
BLOCKTYPE_FREQUENCY: 2;8;7;32;19;7;23;7;16;9;7;64;29;7;7;7;2;35;96;1;4;41;15;7;10;2;1;2;11;15;13;11
CHECKSUM: 7120ABEB7B686C0BB1D46E73CA981BD6
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
B B Constant PQ Constant Z TOTAL LOAD = 15 500 MW B B B B B B North_West Network B B B B B North-East Network 9 MW Wind Farm 25 kV feeder Constant PQ Constant PQ WIND POWER GENERATION 9 MW TOTAL LOAD = 6 000 MW Initializing a 29-Bus Power Plant Network with the Load Flow Tool of Powergui STATUS STABILIZERS: PSS = 0 : out PSS = 1 : Power (dPa) PSS = 2 : Multiband (dw)

BLOCK:
1.2 Mvar;10 MW;110 MW;12 km;12 km ;120 kV/25 kV 47 MVA;135 MW;200 MVA 13.8 kV/735 kV;22 000 MVA 735 kV/230 kV;22 ohms ;2200 MVA 13.8 kV/735 kV;230 kV/25 kV 18 000 MVA;25 kV/ 575 V 12 MVA;250 MW;2700 MVA 13.8 kV/735 kV;275 MW;280 MW;3.3ohms ;3000 MW;3500 MW;4 Mvar;5 000 MVA 735 kV/120kV;5000 MVA 13.8 kV/735 kV;5500 MVA 13.8 kV/735 kV;5600 MVA 13.8 kV/735 kV;A;A ;ABI+CHB 1320 Mvar;ABI-CHB;ABI-CHB 3*271km;ARN 990 Mvar;ARN-MAN 2*169km;ARN-MIC 180km;ASM 575V 5000MVA Pm=4000 MW;Add;Asynchronous Generator 9 MW;B;B ;B120 (120 kV);B25 (25 kV);B_5 MTL-5000 MVA;B_6 CHU-5600 MVA ;B_7 MAN 5000 MVA;Bus Selector;C;C ;CHB-CHM 3*195km;CHM;CHM 1320Mvar;CHM-JCA 2*252km;CHM-SAG 117km;CHM7a;CHM7b;CHM7c;CHU 330 Mvar;CHU-ARN 3*450km;Ca;Cb;Cc;Complex to Real-Imag;Constant;Cs ABI+CHB ;Cs ALB;Cs ARNS;Cs ARNS1 ;Cs BER;Cs CHMN ;Cs CHMS;Cs LVDN ;Cs LVDS ;Cs MTG+ARNN ;Cs NEM ;Cs PER ;Cs SAG;Excitation System;From;Generic Power System Stabilizer;Goto;Ground;Grounding Transformer X0=4.7 Ohms;Hydraulic Turbine and Governor;In;LG2 660 Mvar;LG2-LG3 155km;LG2-NENI 3*279km;LG2_5500 MVA;LG3 660 Mvar;LG3-LMO 104km;LG31-200 MVA;LG3_2200 MVA;LG4 660 Mvar;LG4-2700 MVA;LG4-LMO 3*118km;LMO;LMO 330 Mvar;LMO-ALB 3*218km;LVD;LVD 990 Mvar;LVD-MTL 3*260km;Load Flow Bus;MAN;MAN-LEV 3*379km;MAN-MIC 1650 Mvar;MIC-LTD 409 km;MIC-MAN 60 km;MIC7a ;MIC7b;MIC7c;MTL;MTL 3000 Mvar;MTL 4000 MW;MTL Load;MTL-QUE 5*219km;MTLa;MTLb;MTLc;Math Function;Multi-Band Power System Stabilizer;Multiport Switch;Mux;NEM-ABI 6*;NEM-ALB;NEM-ALB 1980 Mvar;North-West Network;North_East Network;PSS;Pe;Pm;Pref;QUE;QUE Load and Wind Generation;QUE7a;QUE7b;QUE7c;Reference;Regulateurs;Regulators;SAG;SAG 660Mvar;SAG-MIC 247km;SM speeds;SM terminal voltages;Scope;Stab;Stabilisateur;SubSystem;Subsystem;Sum;Terminator;Terminator_;Three-Phase Fault;Tm;Turbine & Excitation Regulators;Turbine & Excitation Regulators ;Vf;Vm;Vref;dw;info;m;powergui;w;wref

BLOCKTYPE:
Asynchronous Machine;BusSelector;ComplexToRealImag;Constant;Distributed Parameters Line;Excitation System;From;Generic Power System Stabilizer;Goto;Ground;Hydraulic Turbine and Governor;Inport;Load Flow Bus;Math;Multi-Band Power System Stabilizer ;MultiPortSwitch;Mux;Outport;PMIOPort;PSB option menu block;Scope;Series RLC Branch;Sum;Synchronous Machine;Terminator;Three-Phase Dynamic Load;Three-Phase Fault;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Series RLC Load;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement


MODELNAME: LoadFlow5BusNetwork
PATH: examples/simscapeelectricalsps/main/LoadFlow5BusNetwork.slx
BLOCKTYPE_FREQUENCY: 1;3;3;3;1;3;2;1;5;1;1;1;1;1;1;1;1;1;1;3;2
CHECKSUM: 501BAB63073A9F7614D707D19A4A5AF5
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
9 MW Wind Farm 25 kV feeder 150 MW power plant 2000 MVA 120 kV equivalent Initializing a 5-Bus Network with the Load Flow Tool of Powergui

BLOCK:
 Load 3 MW 2 Mvar;1.2 Mvar;120 kV;120 kV/25 kV 47 MVA;13.8 kV 150 MVA;13.8 kV/120 kV 175MVA;22 ohms ;25 kV/ 575 V 12 MVA;25 km;Asynchronous Generator 9 MW;B;Bus Selector;Dyn. Load 10MW 3 Mvar;From;Goto;Ground;Grounding Transformer ;Load Flow Bus;Pm;Reference;Scope;SubSystem;Three-Phase Fault;Tm;VA2MVA;Vf;info;powergui

BLOCKTYPE:
Asynchronous Machine;BusSelector;Constant;From;Gain;Goto;Ground;Grounding Transformer;Load Flow Bus;PSB option menu block;Scope;Series RLC Branch;Synchronous Machine;Three-Phase Dynamic Load;Three-Phase Fault;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Series RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement


MODELNAME: MMCSTATCOM
PATH: examples/simscapeelectricalsps/main/MMCSTATCOM.slx
CHECKSUM: 294B5F0929C9B3CD9B90E62B1D98B8AC
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Control VI  Distribution System  To STATCOM &lt;-------- Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. <--- -------o Vconv ----------- | Lconv | ------------ ---- ----------- | Rconv | ----------- For L >> R :  (Vq_sys - Vq_conv) ~ = - Id * L  (Vd_sys - Vd_conv) ~= + Iq * L Id positive --> The converter generates active power= P positive Iq negative --> The converter generates reactive power (Capacitive mode) = Q positive  Sign Convention: Current going out of the converter = positive current Current Regulator (with feedforward) Vq_sys + Id*w*L + Iq*R + deriv(Iq)*L= Vq_conv  Vd_sys + Id*R - Iq*w*L + deriv(Id)*L= Vd_conv (Note: Derivative terms replaced by PI controllers) Vsys o------- I Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. High-Level Control System ======================= Individual DC Balancing ===================  --- Phase C ---  --- Phase B ---  --- Phase A --- Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. *  [ sin(wt) cos(wt) -cos(wt) sin(wt ]   [ d q ]  [ al be ] * = *  inv ([ sin(wt) -cos(wt) cos(wt) sin(wt ] )   [ d q ]  [ al be ] * =  [ cos(wt) sin(wt) -sin(wt) cos(wt) ]  exp(-j*pi/2) * =  [ sin(wt) -cos(wt) cos(wt) sin(wt) ]  To add pi/2 delay on the dq rotating reference frame:  [ al be ]  [ d q ]  [ cos(wt) -sin(wt) sin(wt) cos(wt) ]  = *  [ al be ]  [ d q ]  inv ([ cos(wt) sin(wt) -sin(wt) cos(wt) ])  = * Phase DC Balancing ================ Low-Level Control System =======================  STATCOM (Detailed MMC Model with 22 Power Modules per Phase)  This example shows a 12 MVA, 34.5 kV Static Synchronous Compensator using 22 power modules per phase. Learn more about this example. 

BLOCK:
1-MVA 600V / 34.5-kV;120 kV / 34.5-kV 47 MVA;120kV 2500MVA;2-MW Load;30-MW 2-Mvar Load;5-MW 1-Mvar Load;A;Add;Additionnal scopes;Alpha-Beta-Zero to abc;B;BL;Breaker;Bus Creator;Bus Selector;C;Compare To Constant;Compare To Zero;Complex to Magnitude-Angle;Constant;Ctrl;Current Regulator (Ireg);DC Voltage (Individual Balancing);DC Voltage (Phase Balancing);Demux;Discrete-Time Integrator;Enable;Error;Fcn;Freq;From;Full-Bridge MMC (A);Full-Bridge MMC (B);Full-Bridge MMC (C);GRID;Gain;Goto;Ground;Grounding Transformer ;High-Level Control;I;I->pu;Iabc;IdIq;IdIq_ref;Idref;Iqref;Kp;Load;Logical Operator;Losses;Low-Level Control;Math Function;Mean;Mux;O;On;Out;PI Section 3 km Feeder;PI Section 5-km Feeder;PI regulator with anti-windup;PI regulator with anti-windup (Phase A);PI regulator with anti-windup (Phase B);PI regulator with anti-windup (Phase C);PI regulator with anti-windup D;PI regulator with anti-windup Q;PIdq;PLL (3ph);PLL, Measurements and Transformation;PQmeas;PWM Generator (A);PWM Generator (B);PWM Generator (C);Phase A Reactance;Phase_DCbalance_Output (Degrees);Power (dq0, Instantaneous);Product;Qref;Qref_Limits;RLab;Rate Transition;Real-Imag to Complex;Reference;Relational Operator;Rtot_pu;Saturation;Scaling;Scope;Second-Order Filter;Selector;SubSystem;Subsystem;Subsystem - pi/2 delay;Sum;Switch;Trigonometric Function;V->pu;VDC Regulator (VDCreg);VIgrid;VIload;Va;Vabc;Vb;Vc;Vc_A;Vc_ABC;Vc_B;Vc_C;Vc_mean;Vcm;Vcm_ABC;Vcm_ALL;Vconv;Vcs (1,7,13,20);VdVq;VdVq**;VdVq_conv;Vdc;Vdc_ref;Vdq;Voltage Measurement;Zero-Order Hold;abc;abc to dq;al_be_;alpha_beta;convA;convB;convC;dV_A;dV_B;dV_C;dq;dq0 to Alpha-Beta-Zero;dq0 to abc;g_A;g_B;g_C;grid;meas;powergui;theta;to W;to-degrees;var->pu;wt

BLOCKTYPE:
Alpha-Beta-Zero to abc Transformation;Breaker;BusCreator;BusSelector;Compare To Constant;Compare To Zero;ComplexToMagnitudeAngle;Constant;Demux;Discrete PI Controller;DiscreteIntegrator;EnablePort;Fcn;From;Full-Bridge MMC ;Gain;Goto;Ground;Grounding Transformer;Inport;Logic;Math;Mean;Mux;Outport;PLL (3ph);PMIOPort;PSB option menu block;PWM Generator (Multilevel);Power (dq0, Instantaneous);Product;RateTransition;RealImagToComplex;RelationalOperator;STATCOM - High-Level Control System;STATCOM - Low-Level Control System;Saturate;Scope;Second-Order Filter;Selector;Series RLC Branch;Step;Sum;Switch;Three-Phase PI Section Line;Three-Phase Parallel RLC Load;Three-Phase Source;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;Trigonometry;Voltage Measurement;ZeroOrderHold;abc to dq0 Transformation;dq0 to Alpha-Beta-Zero Transformation;dq0 to abc Transformation

BLOCKTYPE_FREQUENCY:
1;1;2;5;6;14;1;38;11;6;6;2;4;84;3;32;45;1;1;49;19;1;1;21;39;1;15;1;3;1;13;10;1;12;1;1;9;10;6;19;4;2;29;14;2;3;1;2;2;4;3;6;2;1;1


MODELNAME: MatrixConverter
PATH: examples/simscapeelectricalsps/main/MatrixConverter.slx
BLOCKTYPE_FREQUENCY: 3;6;81;31;11;18;2;54;45;21;1;21;18;93;60;5;21;3;9;18;56;24;1;4;53;7;10;4;3;2;56;3;2;25;6;2
CHECKSUM: FCCBC3A9CFCE0ECD5F4F9EDFD14887C8
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Modulation waveforms:  Three-Phase Matrix Converter  This example shows a three-phase matrix converter driving a static load and drawing unity power factor at the source. Learn more about this example. 

BLOCK:
+;-;A;AC Voltage Source;B;C;Calculate duty-cycles;Compare To Constant;Constant;Current modulation;Data Type Conversion;Demux;Diode;Discrete-Time Integrator;From;Gain;Goto;Ground;Hit Crossing;IGBT;IGBT Matrix Converter SVM Symmetric Switching;In;Load;Logical Operator;Math Function;Matrix Converter IGBTs;Memory;MinMax;Multiport Switch;Mux;Out;Product;Reference;Relational Operator;S;SVM Inversion symmetric sequence;SVM Rectification symmetric sequence;Saturation;Scope;Selector;Series RLC Branch;Source;SubSystem;Subsystem;Sum;Sum of Elements;Switch;Three-Phase V-I Measurement;Trigger;Triggered Subsystem;Trigonometric Function;Unit Delay;V;Vabc;Valpha;Vbeta;Vdeg;Vmag;Voltage modulation;a;abc 2 alpha-beta;alpha-beta 2 deg-mag;b;c;choose zero-vector;curr mod (pu);d1_d2_d;deg;deg2rad;deg_mag;fc;g;gI;gR;individual;matrix converter switching;matrix-converter switching count;mod (pu);powergui;pulses;rad2deg;ramp;sector;six-device switching count;ss;symmetric sequence;total;v1_v2_v;v1_v2_v7_v;volt mod (pu);zv

BLOCKTYPE:
AC Voltage Source;Compare To Constant;Constant;DataTypeConversion;Demux;Diode;DiscreteIntegrator;From;Gain;Goto;Ground;HitCross;IGBT;Inport;Logic;Math;Memory;MinMax;MultiPortSwitch;Mux;Outport;PMIOPort;PSB option menu block;Product;RelationalOperator;Saturate;Scope;Selector;Series RLC Branch;Sin;Sum;Switch;Three-Phase VI Measurement;TriggerPort;Trigonometry;UnitDelay


MODELNAME: MechanicalShaft
PATH: examples/simscapeelectricalsps/main/MechanicalShaft.slx
ANNOTATION: Mechanical Shaft
BLOCKTYPE_FREQUENCY: 2;5;1;5;1;1;1;7;1;1;1;1;2
CHECKSUM: 5CB1FAE997E47227E5BA9F22AFEC166D
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
BLOCK:
2pu;Discrete-Time Integrator;Driving speed;Driving speed reference;IC;Load;Mechanical shaft;More Info;Mux;N;Nl;Nm;Ref.;Reference;Scope;Speed Ramp;SubSystem;Subsystem;Sum;T;Tl;dN;dTeta;powergui;rad2deg;rpm2rad;speed ramp

BLOCKTYPE:
DiscreteIntegrator;Gain;InitialCondition;Inport;Load;Mechanical Shaft;Mux;Outport;PSB option menu block;RateLimiter;Scope;Step;Sum


MODELNAME: MicroGridIslandedOperation
PATH: examples/simscapeelectricalsps/main/MicroGridIslandedOperation.slx
CHECKSUM: E9BDF971BF2D58F53B690E78B1F1FA3D
PRODUCT: MATLAB;Simscape Electrical;Simulink
PRODUCT_BASECODE: PS
ANNOTATION:
Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. For Ltot >> Rtot :  (Vq_prim - Vq_conv) ~ = - Id * Ltot  (Vd_prim - Vd_conv) ~= + Iq * Ltot Ltot = Lxfo + Lchoke Rtot = Rxfo + Rchoke Id positive --> The converter generates active power (Inverter mode) = Active Power P positive Iq positive --> The converter absorbs reactive power (Inductive mode) = Reactive Power Q negative  Sign Convention: Current going out of the converter = positive current Current Regulator (with feedforward) Vq_meas + Id*L + Iq*R + deriv(Iq)*L/wbase= Vq_conv  Vd_meas + Id*R - Iq*L + deriv(Id)*L/wbase= Vd_conv harmonic filter neglected Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  Iqref limit set 0.5 pu (Correction for delai of Ts) (Correction for transformer D1 connection) LC filter Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. For Ltot >> Rtot :  (Vq_prim - Vq_conv) ~ = - Id * Ltot  (Vd_prim - Vd_conv) ~= + Iq * Ltot Ltot = Lxfo + Lchoke Rtot = Rxfo + Rchoke Id positive --> The converter generates active power (Inverter mode) = Active Power P positive Iq positive --> The converter absorbs reactive power (Inductive mode) = Reactive Power Q negative  Sign Convention: Current going out of the converter = positive current Current Regulator (with feedforward) Vq_meas + Id*L + Iq*R + deriv(Iq)*L/wbase= Vq_conv  Vd_meas + Id*R - Iq*L + deriv(Id)*L/wbase= Vd_conv harmonic filter neglected Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  Iqref limit set 0.5 pu (Correction for delai of Ts) (Correction for transformer D1 connection) LC filter Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. For Ltot >> Rtot :  (Vq_prim - Vq_conv) ~ = - Id * Ltot  (Vd_prim - Vd_conv) ~= + Iq * Ltot Ltot = Lxfo + Lchoke Rtot = Rxfo + Rchoke Id positive --> The converter generates active power (Inverter mode) = Active Power P positive Iq positive --> The converter absorbs reactive power (Inductive mode) = Reactive Power Q negative  Sign Convention: Current going out of the converter = positive current Current Regulator (with feedforward) Vq_meas + Id*L + Iq*R + deriv(Iq)*L/wbase= Vq_conv  Vd_meas + Id*R - Iq*L + deriv(Id)*L/wbase= Vd_conv harmonic filter neglected Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  Iqref limit set 0.5 pu (Correction for delai of Ts) (Correction for transformer D1 connection) LC filter Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991. Anti-windup mechanism: Method of conditionnal integration The integration is suspended if saturation occurs and the control error is of the same sign as the control signal. [1] L.Rundqwist, Anti-Reset Windup for PID Controllers, Ph.D. Thesis TRFT-1033, Departement of Automatic Control, Lund Institute of Technology, Lund, Sweeden, 1991.  This example shows the islanded operation of an inverter-based microgrid using the droop control technique Learn more about this example.   FFT Analyzer  Control  Islanded Operation of an Inverter-based MicrogridUsing Droop Control Technique  Load increased at 1s  Supervisory control enabled at 5s  Droop Control enabled at 3s

BLOCK:
-Freq_Droop;480/600V transformer;A;Add;B;Bus Creator;Bus Selector;C;Compare To Zero;Complex to Magnitude-Angle;Constant;Control System;Current Regulator;DC Voltage Source;Demux;Discrete-Time Integrator;Droop Control;Droop_On;Enable;Error;Fout;Fref;Freq;Freq_pcc;From;Fundamental (PLL-Driven);Gain;Goto;Iabc;Iabc_prim;IdIq_meas;IdIq_ref;Inverter 1 500 kW;Inverter 2 300 kW;Inverter 3 200 kW;Inverters Scope;Ipcc;Kp;L;Load;Logical Operator;Ltot_pu;Measurements;Microgrid Supervisory Control;Mod;ModIndex;Mux;On;Out;PCC Measurements;PCC bus;PCC scope;PI regulator with anti-windup ;PI regulator with anti-windup D;PI regulator with anti-windup q;PIdq;PLL (3ph);PQ->pu;PWM Generator (Pulse Averaging);P_meas;Pdyn;Pmeas;Power (PLL-Driven, Positive-Sequence);Ppcc_kW;Product;Q_meas;Qdyn;Qmeas;Qpcc_kvar;Rate Limiter;Real-Imag to Complex;Reference;Relational Operator;Reset;Rtot_pu;Saturation;Second-Order Filter;Selector;Sig;Stair Generator;SubSystem;Sum;Switch;Terminator;To Workspace;Trigonometric Function;Two-Level Converter;Unit Delay;V->pu;Vab_rms_pcc;Vabc;Vabc_prim;Variable load;Vd;VdVq_conv;VdVq_meas;Vd_ref;Vdc_meas;Voltage Regulators;Voltage_Droop;Vout;Vpcc;Vpwm;Vq;Vq_ref;Vref;Vref Generation;Vreg_on;Zero-Order Hold;abc to dq;display;inv;meas;measurements;powergui;prim;theta_out;to-pu;wt

BLOCKTYPE:
BusCreator;BusSelector;Compare To Zero;ComplexToMagnitudeAngle;Constant;DC Voltage Source;Demux;Discrete PI Controller;DiscreteIntegrator;Display;From;Fundamental (PLL-Driven);Gain;Goto;Grid-Forming Inverter with droop control;Inport;InportShadow;Inverter Control;Logic;Math;Microgrid Supervisory Control;Mux;Outport;PLL (3ph);PMIOPort;PSB option menu block;PWM Generator Pulse Averaging;Power (PLL-Driven, Positive-Sequence);Product;RateLimiter;RealImagToComplex;RelationalOperator;Saturate;Scope;Second-Order Filter;Selector;Stair Generator;Sum;Switch;Terminator;Three-Phase Dynamic Load;Three-Phase Series RLC Branch;Three-Phase Series RLC Load;Three-Phase Transformer (Two Windings);Three-Phase VI Measurement;ToWorkspace;Trigonometry;Two-Level Converter;UnitDelay;ZeroOrderHold;abc to dq0 Transformation

BLOCKTYPE_FREQUENCY:
7;3;22;3;71;3;11;11;14;4;113;2;73;65;3;107;6;3;35;3;1;7;63;2;9;1;3;4;15;1;3;22;22;2;14;36;4;56;15;12;1;3;5;3;7;1;3;3;9;11;6


