Controlled resistor in simpowersystem?
3 views (last 30 days)
I can not connect the variable resistor (as you can see in the image), using current as an input signal
Is there any other block that has the same compatibility with simpowersystem?
I need to control the resistor in function of the current.
Sebastian Castro on 6 Jun 2017
The block you dragged in is from a different library which doesn't connect directly to Simscape Power Systems Specialized Technology. Looks like you're using an older release of MATLAB, but in newer versions they've tried to make this clearer.
What you'll have to do is create a custom resistor using a current sensor and a voltage source, so that you yourself implement the law V = I*R(t), where R(t) can be a time-varying input signal.
Note that you'll need to break the algebraic loop with some low-pass filter as shown below.
Refer to this documentation page for more details: https://www.mathworks.com/help/physmod/sps/powersys/ug/building-and-customizing-nonlinear-models.html
octavio hernandez on 13 Jun 2019
Hello Frida Güereca Estrada:
I had the same problem and I could solve it add a block name it SIMSCAPE INTERFACE ELEMENT and SIMULINK-PS CONVERTER to convert the signal physical to a signal and use sensors of corrent-voltage. These blocks you can found in SIMSCAPE library-FOUNDATION LINRARY-ELECTRICAL