Please someone explain me how does the following code works?
Ältere Kommentare anzeigen
block = gcb;
[Ts,SM6,WantBlockChoice,X,Y] = powericon('SynchronousMachine6PhInit',block,MechanicalLoad,NominalParameters,Stator,Field,Dampers,Inertia,FrictionFactor,PolePairs,InitialConditions,TsBlock,'SI fundamental parameters');
powericon('SetInternalModels','set',block,WantBlockChoice);
**************************************************************************************************************************************************************************************
This is the initialization command inside the mask of six-phase synchronous machine in MATLAB 2019a.
- Please explain me the above initilization command , how does it executes?
- I want to know how these variables like( SM6.Vb, SM6.Disp, SM6.phiq02, SM6.phiq10, SM6.Pb, SM6.H, SM6.web, SM6.Nb) are calculated. How does this variables are calculated while the simulation runs.
*****************************************************************************************************************************************************************************************
- If i know the value of these varibles i am planning to give these variable manually, could anybody explain me these variables?
- I tried to copy this model of six phase PMSM to new workspace but it gives the error. What could be the reason behind it? I have attached the error pop up below in the picture

4 Kommentare
Walter Roberson
am 13 Apr. 2019
ANIL LAMICHHANE
am 14 Apr. 2019
Walter Roberson
am 14 Apr. 2019
Justin Xuereb
am 13 Apr. 2020
I also have the same problem
Antworten (1)
Sabin
am 13 Jan. 2025
0 Stimmen
If the purpose is to edit a library block, this may not be very easy. There are .p files that are protected and will not be possible to edit these.
Function power_customize lets you customize Simscape™ Electrical™ Specialized Power Systems blocks. Simscape Electrical Specialized Power Systems blocks you customize cannot have broken or inactive library links. In other words, you cannot disable or break the library link of a block and start customizing the block directly in your model. If you want to modify a block, you make a copy of the block in a custom library, break the block link to the product library, and start doing your modifications in the custom library. The function power_customize automates these steps and helps you to prepare a Simscape Electrical Specialized Power Systems block for customization.
Kategorien
Mehr zu Switches and Breakers finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!