Please someone explain me how does the following code works?
4 ビュー (過去 30 日間)
古いコメントを表示
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

回答 (1 件)
Sabin
2025 年 1 月 13 日
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Specialized Power Systems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!