use s-function in the SimPowerSystems

I have to use s-function to define a component in the circuit, such as an inductor. How can I do to make the s-function work in a circuit? That is to say, the s-function part, which has input and output ports with electrical attribute such as voltage or current, can be connected with another resistor or a ac source?
Because I think usually the s-function behaves as a control part, it is impossible to put it in the circuit directly.

1 件のコメント

marreg
marreg 2018 年 11 月 22 日
Did you find a solution for this?

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

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 11 月 19 日

0 投票

I don't know a lot about the physical modeling domain on Simulink, but if you're trying to create your own SimScape-based component, I believe there is a different methodology to follow (and not S-functions): Creating Custom Components and Domains.

カテゴリ

質問済み:

2012 年 11 月 19 日

コメント済み:

2018 年 11 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by