I am facing a huge problem with real-time analysis of a PCS simulation. I want to simulate a power converter system, which can be used as a power converter. I have to do an accelerated simulation with a Battery. discharged into a resistor for example, I can simulate multiple times for a while in seconds and see the behavior of loading and unloading it, but the same did not happen when switched converters. To simulate 1h (3600s) for example, it would take a long time, so I can not see the discharge dynamics (SoC variation) of the battery, because if the simulation time is 1s what the battery sees is a current request that lasted 1 second only. How do I make this simulation "more real"?
Update (Showing my model)
So my model consists in a bidirectional boost converter with a battery as a LVS. Into the subsystem "Controlador" within the "Controlador" block there are only 2 PI controllers and one PWM.
Then again describing my problem: If I just simulate the Battery pack with a controlled current source, I can simulate 21600 s (the equivalent of 6 hours) in just a few seconds in real life.
Take a look ate this simulation
12.8 V, 40 Ah, Lithium-Ion (LiFePO4) Battery Aging Model (1000 h Simulation)
This is a 1000h simulation that takes no more than a few seconds. So, what I'm trying to do is discharge this battery, and for that I need at least 3600s simulation, but in my model takes 3600s (more or a little bit less) in real life.
Ps.: The switching frequency is \$25kHz\$