simulating passive Hybrid Energy Storage System but getting weird values in scope
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello, I was simulating a passive Hybrid Electric Storage System in Simulink but by Scope for battery and Supercapacitor shows weird graphs, like shown in attachments.The current of battery starts from a 400 and then drops to zero and the supercapacitor starts from -400 and then drops to zero.
What am I doing wrong here? Is it related to battery and SC parameters or do I need to make some changes to the simulation model?
댓글 수: 0
답변 (2개)
Joel Van Sickel
2024년 3월 11일
One of the primary problems is that your step size isn't small enough for what you are modelling. Since you are modelling the switching behavior of your boost converter, and using a fixed step simulaiton, you need to set your step size to at least 100 times smaller than your switching period. Or you could try a solver like ode23tb which is variable step and not worry about it. You can also set up your boost convert to use an average approach (feed in the duty cycle instead of the pwm signals) to have a faster simulation. (there is a boost converter model that you can use and set to use average mode)
Joel Van Sickel
2024년 3월 14일
Yes, there could be problems with the model. I highly recommend that you get each piece working individually. First get a solar panel discharging into a resistive load, and make sure that does what you expect. THen make a dc/dc converter that is powered by a fixed voltage source, and goes into a resistive load. Get that working too. Once you can build both individually, then you can try bringing them together.
참고 항목
카테고리
Help Center 및 File Exchange에서 View and Analyze Simulation Results에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!