Controlled resistor in simpowersystem?

4 次查看(过去 30 天)
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.

回答(2 个)

Sebastian Castro
Sebastian Castro 2017-6-6
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 2019-6-13
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

类别

Help CenterFile Exchange 中查找有关 Composite Components 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by