Azzera filtri
Azzera filtri

How can I filter out transient parts

4 visualizzazioni (ultimi 30 giorni)
Johannes Liebrich
Johannes Liebrich il 13 Nov 2018
Risposto: Joel Van Sickel il 2 Set 2020
Hello,
I made a Simulink (Simscape) Model for elctrical charging stations. Now everything is running good, but I have one problem and can't solve it.
As you can see I added one picture if my current.
At the beginning i have some transient parts. I would like to filter them out. I want to explain in with more details. My model should know during simulation when the current is constant, so the model has so simulate maybe one more millisecound. So if you take a look at the picture: At the time of 1ms it has so simulate for one more ms. After that my model should stop simulating.
This is very important for me, because i am doing an Frequency sweep. So the time until all currents are constant is not always the same.
In order to improve the simulation time, i would like to add this feature.
Thanks a lot for your solutions.

Risposte (1)

Joel Van Sickel
Joel Van Sickel il 2 Set 2020
Hello Johannes,
There are a few paths forward. You can use simulation states to start the model in steady state: https://www.mathworks.com/help/simulink/ug/saving-and-restoring-simulation-operating-point.html
Alternatively, if you do your frequency sweep in post processing, you can just delete the first ms without modifying your simulation.
You can also use the frequency sweep tool in the controls sytem toolbox, and specify how many cycles you want to give the system to reach steady state before doing the frequency analysis: https://www.mathworks.com/videos/frequency-response-estimation-68884.html?s_tid=srchtitle
Regards,
Joel

Categorie

Scopri di più su Electrical Sensors in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by