How to run spsConversionAssistant?

79 ビュー (過去 30 日間)
JUAN ANTONIO CABEZA LÓPEZ DE TAMAYO
JUAN ANTONIO CABEZA LÓPEZ DE TAMAYO 2025 年 11 月 7 日 17:22
I refer to a grid-forming BESS simulink model that I have developed with R2024b. When I open it with R2025b the following error message is displayed:
"This model uses Simscape Electrical Specialized Power Systems blocks which will be removed in a future release. Use Simscape Electrical blocks instead. For help updating your models, use the conversion assistant, spsConversionAssistant."
My queries:
  • How to run spsConversionAssistant?
  • Does spsConversionAssistant identify the blocks to be replaced?

採用された回答

Walter Roberson
Walter Roberson 2025 年 11 月 7 日 19:34
Note that if you install R2025b Update 1, then Specialized Power Systems is restored; invoke sps_lib to see it in the library browser.
However, with the announcement that SPS has been acquired by OPAL-RT, it is likely that you will eventually need to convert your blocks.
help spsConversionAssistant
spsConversionAssistant - Convert Specialized Power Systems model into Simscape Electrical model This MATLAB function converts supported Specialized Power System library blocks in a model to Simscape Electrical library blocks. After the conversion, the function opens a report showing the fully supported, partially supported, and unsupported blocks. You must review fully and partially supported blocks for correctness and manually convert unsupported blocks. If the name of your original model is modelName, the name of the converted model is modelName_simscape. If file and directory permissions allow the function to save the converted model, this function returns 1. Otherwise, this function returns 0. spsConversionAssistant(modelName) converts the original model, modelName, that contains Specialized Power System library blocks to a model, modelName_simscape, that contains Simscape Electrical library blocks. If you do not specify the modelName argument, the function converts the top-level model of the current system. The function saves the converted model in the same folder as the original model.  spsConversionAssistant(modelName,outputFolder) saves the converted model in the specified folder, outputFolder. Syntax spsConversionAssistant spsConversionAssistant(modelName) spsConversionAssistant(modelName,outputFolder) writable = spsConversionAssistant(___) Input Arguments modelName - Name of original model string scalar | character vector outputFolder - Name of output folder string scalar | character vector Output Arguments writable - Write access status of converted model 1 | 0 Compatibility This function requires R2021b or newer.
  1 件のコメント
JUAN ANTONIO CABEZA LÓPEZ DE TAMAYO
JUAN ANTONIO CABEZA LÓPEZ DE TAMAYO 2025 年 11 月 8 日 8:07
Dear Walter, thank you very much for your kind response!
I have tried the spsConversionAssistant following your instructions. Unfortunately, most of the blocks in my model are in the SPS library. Thus, spsConversionAssistant has turned them all into subsystems therefore losing all their corresponding block funcionalities.
My concern is this apply to the very core of my grid-forming BESS model, I mean the inverter and the battery. My idea was to study the fundamentals of both models. Now that they are meaning less I do not honestly how to proceed.
You have already helped me a lot and I would not like you to stick to this matter and lose your time. I will open a separate question to ask for help.
Thanks again, best for you and your family!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConverters (High Power) についてさらに検索

製品


リリース

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by