Simulating a battery power level
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
I'm using a patch to simulate a vehicle moving around a 2D environment and I would like to give it a battery.
Is there a way to create a counter that counts down from 100(%) when the patch is moving (battery is draining) and counts up (charging) when the patch is at the specified charging point?
It would be great if the timer could count up/down at variable rates.
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
커뮤니티
더 많은 답변 보기: Power Electronics Community
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!