Please someone explain me how does the following code works?

6 views (last 30 days)
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.
  1. Please explain me the above initilization command , how does it executes?
  2. 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.
*****************************************************************************************************************************************************************************************
  1. If i know the value of these varibles i am planning to give these variable manually, could anybody explain me these variables?
  2. 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 Comments

Sign in to comment.

Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!