How to simulate in function of duty cycle instead of time?
3 ビュー (過去 30 日間)
表示 古いコメント
Pedro José Servián García
2022 年 9 月 27 日
コメント済み: Pedro José Servián García
2022 年 11 月 20 日
Dear colleagues,
I'm doing the bachelor thesis about using dc-dc converters with PV Panels. See 1st photo
When I run the model it run in function of time, but I would like to do a simulation with the duty cycle in the Scopes. I mean, to show the output values when the converter works with different duty cycle (I don't care about time).
I don't know how to do it and I would be very grateful if you could give me a clue or a help with that.
Thank you in advance.
0 件のコメント
採用された回答
Joel Van Sickel
2022 年 9 月 28 日
Hello Pedro,
To do this live, you can use the x/y graph: https://www.mathworks.com/help/simulink/ug/plot-circle-with-xy-graph.html
It might be a bit noisy, if you want to post process the data to remove noise, please see below.
To do this with clean data, you'll only want the steady state solution. I would model the system in time, and step it through a few discrete duty cycles, for instance, 0.1, 0.2, 0.3, 0.4, 0.5, etc. Then you can take the steady state operating point for each duty cycle and plot that vs duty cycle. This will require creating a matlab script to post process the data and plot it after the simulation has run.
Regards,
Joel
その他の回答 (0 件)
コミュニティ
その他の回答 パワー エレクトロニクス コミュニティ
参考
カテゴリ
Find more on Electrical Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!