Help with tire magic formula blocks error in simulink

6 views (last 30 days)
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.

Answers (1)

Steve Miller
Steve Miller on 7 Dec 2022
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.


Find more on Tires and Vehicles in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!