Help in my model

2 visualizaciones (últimos 30 días)
Nuno
Nuno el 4 de Jul. de 2011
In my model i need that Switch charged or not charged the battery... Model: http://img64.imageshack.us/img64/9082/modelt.png
If SOC < 0.85 charged else not charged. My model make this, because in "m" out the scope is: http://img830.imageshack.us/img830/1569/switchu.png
Therefore, at the time ~3,75 switch closed. But SOC continues to charge, like in the image: http://img706.imageshack.us/img706/9263/socl.png
What's happened? Will the Series RLC Branch charged battery?

Respuesta aceptada

Arnaud Miege
Arnaud Miege el 5 de Jul. de 2011
What is the value of your resistance and what's the amplitude of your current source? I suspect current's still flowing through the resistor when the switch is closed, charging the battery. If you think about it, with the switch closed, that's the only path left for the current to take.
Arnaud
  6 comentarios
Arnaud Miege
Arnaud Miege el 5 de Jul. de 2011
Really? The following model runs just fine on my machine:
https://picasaweb.google.com/lh/photo/3dn-Mqxq7HzkXe6h4T10BA?feat=directlink
The ideal switch has a snubber resistor and capacitor built-in that is connected in parallel to the ideal switch, so when the switch is closed, the current flows through the snubber circuit.
If in the PowerGUI, I disable snubbers in switching devices, I get an error telling me that when the switch opens at t = xxx, the current source is in open-circuit, which is right. The current needs to go somewhere when the switch is closed, so you need to provide it a path if you don't want it to go the the battery. In your circuit, it's probably going through the Series RLC branch, and/or the snubber circuit, depending on what settings you have in your PowerGUI. Either way, this would results in the battery being charged. If you don't want that to happen, you need to think of another path for the current to take and modify your model accordingly.
Nuno
Nuno el 5 de Jul. de 2011
Thanks Arnaud...
I put the resistor Shunt when the ideal switch are closed and resolvs the problem...

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Electrical Systems en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by