Using clock for modelling a charge of batteries
조회 수: 1 (최근 30일)
이전 댓글 표시
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
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
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
추가 답변 (0개)
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Energy Storage에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!