Help with tire magic formula blocks error in simulink

4 次查看(过去 30 天)
Hello, I am trying to use Simulink's Full Car model, altered with the tire magic formula blocks so that, in the end, I can input a throttle curve, and get out acceleration, velocity, and tire slip ratios. However, I get the following error when I try to run: "Unexpected or invalid block connection. This can arise when a library block changes its underlying implementation to use a new domain that is incompatible with the original implementation. Check and reconfigure block connections to use a consistent domain."
Please find the attached file. The changes I've made have been primarily in the "Vehicle Load - Wheels - Road - Power Scope" block.

回答(1 个)

Steve Miller
Steve Miller 2022-12-7
In your model, you have attempted to connect Simscape Driveline 1G blocks and Simscape Driveline 2G blocks using a physical connection. That can only be done using Simulink signals. The best thing to do would be to start with shipping demonstration sdl_car, which is implemented completely in Simscape Driveline 2G technology.
Type sdl_car at the MATLAB command prompt to open it.
--Steve

类别

Help CenterFile Exchange 中查找有关 Tires and Vehicles 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by