Hi, I have a rather simple model with a battery, an dynamical load and a source representing the grid. Now I want the battery to shut off at 20%. I am using two ideal switches for it but I just cannot seem to get it to work. The battery is discharging but it does not stop at 20%.

 採用された回答

Yeow Yu Leong
Yeow Yu Leong 2024 年 7 月 8 日
編集済み: Yeow Yu Leong 2024 年 7 月 8 日

1 投票

I think your connection of the gate is wrong. You are providing additional path between the battery and voltage controller ( i guess). You suppose to connect the gate within the positive line of battery and voltage controller. Besides, I would prefer mosfet to as the switch for the battery (suggestion). Hope you can try it, thanks and good luck.

1 件のコメント

Reinier
Reinier 2024 年 7 月 9 日
Ah yes, you are right! I made it work without mosfet. Thank you for your help!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2024 年 7 月 8 日

コメント済み:

2024 年 7 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by