implementing arbitrary transfer function in Simscape Electrical
Hi, In my circuit, I have an element for which I don't have its equivalent circuit. What I have is a lookup table of its frequency response (magnitude and phase), which is complicated and cannot be represented by a lumped parameters equivalent circuit, and also some of its elements are frequency-dependent. Even if I do obtain somehow its transfer function Laplace representation (using e.g. "System identification" toolbox, and I want to add it to my circuit simulation (Simscape Electrical) as a block.
Does anyone have an idea how to do it? Thank you!
3 Comments
Time DescendingHello Yahav,
this response won't give you a step by step process, but at a high level, there are 2 options you could consider.
1. - use sys ID to get transfer functions, and implement the transfer functions manually in simscape. (see this post on how to do this: https://www.mathworks.com/matlabcentral/answers/224015-how-to-put-a-transfer-function-into-a-simscape-model ) You can link it to the circuit with controlled sources and measurement blocks.
2. - utilize the RF toolbox and RF blockset as they use frequency domain simulations.