Does anyone have the idea about inverting .p file into a readable .m file? powericon.p
19 次查看(过去 30 天)
显示 更早的评论
The initialization command in the mask of simulink library model will run automatically to set the preset parameter for corresponding model.
Synchronous machine use a powericon function to realize this initialization process. I want to know how these preset parameters are caculated by powericon, so i searched it under matlab file. However powericon function is stored in a encrypted p file, is there any methods to invert this .p file to a readable .m file.
Or is there any other way to understand how these preset parameters are calculated?
Thanks for ur help.
0 个评论
采纳的回答
Meme Young
2020-8-12
编辑:Voss
2024-10-30,15:45
Nice try man, but I will tell you there is [nothing] in powericon() because it is just calling other functions to calculate the parameters for use under the synchronous machine mask, and you cant find these functions at all. Actually, all standard parameters will be converted to fundemental parameters for simulink simulation, but there is no explicit way in Simulink help to calculate, say, the fundemental parameters, using the standard parameters. Kundur's book 'power system stability and control' example 4.1 mentioned the conversion between funemental and standard parameters. I have tried it myself in Simulink and we can see the two synchronous machines using the two kinds of paramters in this book differ a little, but the conversion only stands for round stators. Kundur's book didnt mention the conversion of salient pole machines.
If you are not talking about the conversion between fundemental and standard paramters, there is one simulink example helping you understand the calculation of the parameters. "Interfacing Simulink Models with Simscape Electrical Specialized Power Systems" (power_SLmodeling) has a customed current-source-modeled synchronous machine with identical characteristics as synchronous machine models in the library. The parameters of the current source block is in power_SLmodeling_data and you can open it because it is a .m file. The composition of the parameters under the mask, like SM.R, SM.Linv, SM.RLinv, are all in this file. However the model is just a fundemental salient pole machine, so there is no parameter conversion, and there are some parameters missing compared with round stator machine ( Rkq2 and Lkq2 for salient pole doesnt have this 1 branch )
5 个评论
Meme Young
2020-8-30
移动:Walter Roberson
2024-10-30,16:31
Thank you bro but the description is a bit confusing because it is in English. I think both of us come from China right? Could you please add my qq 980182570? If it is inconvenient for you, you can send me emails via 980182570@qq.com. Thank you.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Choose and Parameterize Blocks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!