Error using Simscape Eletrical - Boost Converter component

2 ビュー (過去 30 日間)
Eduardo Alves da Silva
Eduardo Alves da Silva 2019 年 8 月 11 日
This is my first time using Simscape. While trying to simulate a model which has two Boost converter blocks, the following error appears on the diagnostic viewer:
"Error compiling Simscape network for model Tentativa1.
Caused by:
'D.p' is not defined in this scope. In ee.semiconductors.converters.dcdc_converters.boost.elec"
The model is the one below:
Simscape.PNG
I wanted to know why is this error occurring, and what do I have to do in order for me to be able to simulate. Any help on this is very much appreciated.
  1 件のコメント
Janosch Marquart
Janosch Marquart 2019 年 8 月 12 日
Hi Eduardo
Is D.P. a variable you are using? Then it could be that this variable is not declared properly or it is only accessible in a subcircuit. Hard to tell without the model.
Could you share the model?
In general, it is a good approach as Boris mentions in his answer, to break down the model to one converter to simplify it. Then figure the problem out there and add the second model again.
Cheers,
Janosch

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

採用された回答

Sabin
Sabin 2019 年 8 月 12 日
I was able to reproduce the problem. It seems that for the Boost Converter block there was a build issue. If you change the default value for any parameter in both Boost Converters and press apply the error will dissapear. Moreover, I've noticed that you need an Electrical Reference connected to the ref- terminal of the Controlled PWM Voltage.
Hope that helps.
  1 件のコメント
Eduardo Alves da Silva
Eduardo Alves da Silva 2019 年 8 月 13 日
That surely helped!
Thank you very much!

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

その他の回答 (1 件)

boris vuleta
boris vuleta 2019 年 8 月 11 日
Hi! If go to matlab site and look for some docum about simscape and generally simulink, you'll find an instruction to start in steps. Remove one converter find some info about elements you are using and how to configure the simulation www.mathworks.cn › simscape_ug Simscape User's Guide - MathWorks You don't need to read it all just some inf about physical networks... Good luck ?
  1 件のコメント
Eduardo Alves da Silva
Eduardo Alves da Silva 2019 年 8 月 13 日
I'll certainly do that, thank you!

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

コミュニティ

カテゴリ

Help Center および File ExchangeElectrical Sensors についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by