Azzera filtri
Azzera filtri

Controlled resistor in simpowersystem?

6 visualizzazioni (ultimi 30 giorni)
Frida Güereca Estrada
Frida Güereca Estrada il 5 Giu 2017
Risposto: octavio hernandez il 13 Giu 2019
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.

Risposte (2)

Sebastian Castro
Sebastian Castro il 6 Giu 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.
- Sebastian

octavio hernandez
octavio hernandez il 13 Giu 2019
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-ELECTRICALCaptura.JPG

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by