Help in my model
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
Arnaud Miege
2011-7-5
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 个评论
Arnaud Miege
2011-7-5
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!