Time dependent resistance using SimScape Electrical foundation library

8 visualizzazioni (ultimi 30 giorni)
I'm trying to model a large electrical network of resistors and capacitors in SimScape using Electrical foundation library blocks. One of the resistors needs to change its resistance as a function of time, say like this:
R=R0*(1-delR*(1-exp(-t))
where R is resistance, R0 is the initial resistance, delR is the factor by which I want the resistance to decrease and t is time. I can't figure out how to incorporate time variance at all in to the simscape model(as I can't seem to access a time variable). There is a variable resistance block available, but I'm facing the same problem there as well, as it seems to be built to vary with respect to voltage. I'm using Matlab 2016a.

Risposte (1)

Nicolas Schmit
Nicolas Schmit il 10 Ott 2017
Implement the calculation routine in Simulink, then connect it to a Variable Resistor block trough a Simulink - PS block.

Categorie

Scopri di più su Simscape Electrical in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by