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.

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 19 Nov. 2012

0 Stimmen

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.

Gefragt:

am 19 Nov. 2012

Kommentiert:

am 22 Nov. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by