Simscape powersystems change library block

2 ビュー (過去 30 日間)
Noheli a
Noheli a 2016 年 10 月 16 日
回答済み: Swarooph 2016 年 10 月 19 日
I have a problem.
I am trying to simulate the P, I, V (RMS) from a certain powersystem. I am using simscape powersystem blocks. The problem is that one of the input parameters of the certains blocks only allow a constant. I want to use an array (1D of 2D if possible) as an input.
How can I change the library-block or how can i use an array from the workspace directly into the simulink environment?
*included picture of my intent*

回答 (1 件)

Swarooph
Swarooph 2016 年 10 月 19 日
I don't think it is possible to change the RLC Series load block. You might want to alternatively think about running your model multiple times through a MATLAB script to do a parameter sweep. Here is an example.

カテゴリ

Help Center および File ExchangeNonlinear Operators についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by