Unable to connect "DRIVE CYCLE SOURCE" block with "CONTROLLED CURRENT SOURCE" block.

조회 수: 4 (최근 30일)
Hi,
i want to connect the drive cycle source block with controlled current source block so as to monitor the effect of drive cycle in battery temperature over a period of time. But as i connect it, it is showing red highlighted signal with warning "unit mismatch :m/s to 1". Although i have changed the simulink to PS converter properties to "A" as i think it is for current(ampere,A) but after running the simulation, i am still getting same error in diagnostic tab. Please guide me through this. i have also shared the image for reference. Thank you.

채택된 답변

Xiangchun
Xiangchun 2024년 1월 5일
Hi Sudeep,
The Drive Cycle Source block provides velocity profile for standard drive cycles. We would need a vehicle model to convert velocity profile to a current profile. Vehicle model determines how much discharge current or regen charge current the battery pack needs to provide or accept. Once the current (in Amps) profile is created, we can connect that to a Controlled Current Source block to cycle a battery pack like what you have in the diagram.
To create a vehicle model, an easy way is to use Virtual Vehicle Composer: Configure, build, and analyze a virtual automotive vehicle - MATLAB (mathworks.com).
Best wishes,
Xiangchun
  댓글 수: 3
Xiangchun
Xiangchun 2024년 1월 10일
Hi Sudeep,
The Battery block, along with Controlled Current Source, used in the "battery pack with udds.jpg" attached above is from Specialized Power Systems in Simscape Electrical. These are Simulink blocks instead of Simscape blocks. They do not necessarily perform checks for units when Drive Cycle Source is connected to Controlled Current Source in Specialized Power Systems. On the other hand, the generated battery block from Battery Builder App is Simscape, and it works only with Simscape version of the Controlled Current Source block. Simscape detects a unit mismatch because Drive Cycle Source outputs vehicle speed (velocity) in m/s, km/h, or mph whereas Simscape Controlled Current Source expects a physical signal of current in Amp.
As mentioned in my previous comment, we do need a vehicle model to convert velocity profile to a current profile. Vehicle model determines how much discharge current or regen charge current the battery pack needs to provide or accept. Once the current (in Amps) profile is created, we can connect that to a Controlled Current Source block to cycle a battery pack like what you have in the diagram. To create a vehicle model, an easy way is to use Virtual Vehicle Composer: Configure, build, and analyze a virtual automotive vehicle - MATLAB (mathworks.com).
Best wishes,
Xiangchun
SUDEEP SINGH RAWAT
SUDEEP SINGH RAWAT 2024년 1월 11일
Thank you for your valuable feedback sir.
Regards,

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by