Time dependent resistance using SimScape Electrical foundation library

8 vues (au cours des 30 derniers jours)
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.

Réponses (1)

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

Catégories

En savoir plus sur Simscape Electrical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by