Changing battery internal resistance/output during simulation
Mostrar comentarios más antiguos
Hi there!
Shown below is my battery parameters mid simulation. What I am trying to obtain is for the internal resistance to vary mid simulation at specific load requirement of my system. Thinking, it will be similar to a constant block where it's changable during the simulation.

Is there any way around to be able to switch on or off or varying the battery power at different system load requirements?
For the engine, a switch is used to switch the on/off properties at the varried load.
However, for the battery because it is a electrical line (blue line), I am unsure how to work with this instead and there's also the problem of it having a positive and negative input output.
Thank you to whoever may help me on this!
Respuesta aceptada
Más respuestas (1)
Jasvin
el 10 de Feb. de 2023
1 voto
Assuming that you can use a resistor component as part of the battery’s internal resistance, you can directly use the “Variable Resistor” block along with the “Simulink-PS Converter” block, so a generator signal like the “Pulse Generator” can be connected to the Simulink-PS Converter and then to a Variable Resistor as shown in the below diagram.

Categorías
Más información sobre Choose and Parameterize Blocks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!