Help with tire magic formula blocks error in simulink

8 ビュー (過去 30 日間)
Johnathan Simeroth
Johnathan Simeroth 2016 年 11 月 10 日
回答済み: Steve Miller 2022 年 12 月 7 日
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

カテゴリ

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!

Translated by