use s-function in the SimPowerSystems

1 view (last 30 days)
Cheng
Cheng on 19 Nov 2012
Commented: marreg on 22 Nov 2018
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.

Answers (1)

Kaustubha Govind
Kaustubha Govind on 19 Nov 2012
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.

Community Treasure Hunt

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

Start Hunting!