Error in 'Qss_series_tr/Battery Controller/Geno-Group On/Clock': Failed to evaluate mask initialization commands.

3 次查看(过去 30 天)
Hello it is I am currently doing my final year project. My topic is "Design and simulation of hybrid electric mini tractor". For that i have to simulate three different powertrains In order to select configuration. I have made these three powertrains using QSS system Toolbox. But I am getting errors on running the simulation of series HEV Powertrain model. I have mentioned problem and model below.
Error in 'Qss_series_tr/Battery Controller/Geno-Group On/Clock': Failed to evaluate mask initialization commands.
Caused by:
  • Error: Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.
If anybody knows a solution to this please answer as early as possible.

回答(1 个)

Mike Sasena
Mike Sasena 2022-6-20
One thing I see in your model is that you've created 2 subsystems that don't have connected inputs. It looks like you're trying to create a single model that has different variants for the powertrain system in it. I'd highly recommend you look at Variant Subsystems as a way to manage the architecture.

类别

Help CenterFile Exchange 中查找有关 Powertrain Blockset 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by