Why SoC output is constant in virtual vehicle composer

조회 수: 9 (최근 30일)
Ayush
Ayush 2025년 2월 14일
댓글: Mike Sasena 2025년 2월 14일
I am using virtual vehicle composer, i am gettting the output of SoC as constant value i set, which must be gradually decreasing instead of remaining constant. I guess this is because of ideal voltage source. How can we overcome this.

답변 (1개)

Mike Sasena
Mike Sasena 2025년 2월 14일
Hi Ayush,
It depends on what powertrain option you've selected, but for many of them you can choose a different battery model from the "Powertrain / Energy Storage" node in the "Data and Calibration" tab. For example, if you select the HEV P4 powetrain option in the setup page, you get these choices for battery models:
The mapped battery option will show the current draw impacting the SoC.
On a related note, you might want to calibrate the controls and / or driver model for your application. The motor is oscillating wildly between max and min torque, so perhaps the driver gains are tuned too high.
  댓글 수: 2
Ayush
Ayush 2025년 2월 14일
Hello Mike,
Thanks for your solution, but i have some changes in it.
I am making use of Motorcycle as my vehicle class not passenger vehicle which your solution focuses on. All the options you have mentioned gets eliminated when you choose motor cycle as vehicle class.
It has only 2 further options as powertrain architechture - mechanical vehicle and electrical vehicle.
Also i have attached Snap of my data and caliberation. We here get only one option of Mapped Motor.
Have a look over it. Waiting eagerly for your reply onto this.
Thanks
Mike Sasena
Mike Sasena 2025년 2월 14일
Yes, the options available for your vehicle depend on the vehicle class and powertrain selection. If you want to capture the battery SoC behavior on a two-wheeler application, I recommend the following:
  1. Use VVC to configure and parameterize your baseline vehicle model
  2. Generate the model
  3. Modify the battery system to capture the effect you want
You'll see in the battery system that it's using a subsystem variant with just a single choice, the Ideal Voltage Source:
If you look inside that subsystem, you'll see that it just has a constant block for the source of the SoC signal:
What you need to do is either add a new variant that includes a proper battery model or modify the existing variant to capture the effects you want. Powertrain Blockset includes a few options if you want a simple lookup table or equivalent circuit battery model. If you're looking for more detail, I recommend Simscape Battery, which is a product dedicated to that purpose.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Energy Storage에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by