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!