フィルターのクリア

Using clock for modelling a charge of batteries

1 回表示 (過去 30 日間)
Tony Castillo
Tony Castillo 2017 年 3 月 1 日
回答済み: Steve Miller 2018 年 1 月 31 日
Hi everybody, I'm here to ask you if anyone of you has needed to work with a control by time?, because I'm thinking in control the charge and discharge from a system of batteries and I'd like to set 6 hours to charge it and after that time proceed to feed up a load with all energy storage in my batteries bank, but for do it well I need to put in my modelling developed at Simulink/SimPowerSystem blocks a CLOCK, but I haven't found a block that could make me that kind of synchronization in my subsystem. I hope you can help me with this. Thanks in advance!...
  1 件のコメント
Prashant Arora
Prashant Arora 2017 年 3 月 8 日
Do you mean simulation time? If yes, there's a clock block in Simulink. https://www.mathworks.com/help/simulink/slref/clock.html

サインインしてコメントする。

採用された回答

Steve Miller
Steve Miller 2018 年 1 月 31 日
You can include time in your control system using the Clock block. You could save the start time of the charge using an enabled subsystem and just subtract that off of the current time to get the elapsed time.
https://www.mathworks.com/help/simulink/slref/clock.html
--Steve

その他の回答 (0 件)

コミュニティ

カテゴリ

Help Center および File ExchangeEnergy Storage についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by