Battery switch to grid

3 visualizzazioni (ultimi 30 giorni)
Reinier
Reinier il 8 Lug 2024
Commentato: Reinier il 9 Lug 2024
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%.

Risposta accettata

Yeow Yu Leong
Yeow Yu Leong il 8 Lug 2024
Modificato: Yeow Yu Leong il 8 Lug 2024
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 Commento
Reinier
Reinier il 9 Lug 2024
Ah yes, you are right! I made it work without mosfet. Thank you for your help!

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by