Does anyone have the idea about inverting .p file into a readable .m file? powericon.p
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yang Xu
el 5 de Jun. de 2020
Movida: Walter Roberson
el 30 de Oct. de 2024 a las 16:31
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 comentarios
Respuesta aceptada
Meme Young
el 12 de Ag. de 2020
Editada: Voss
el 30 de Oct. de 2024 a las 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 comentarios
Meme Young
el 30 de Ag. de 2020
Movida: Walter Roberson
el 30 de Oct. de 2024 a las 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Choose and Parameterize Blocks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!