SI core engine bus selector error

3 ビュー (過去 30 日間)
teun hinkamp
teun hinkamp 2022 年 5 月 18 日
回答済み: Abhishek Chakram 2024 年 1 月 25 日
Using the Simulink powertrain blockset with, SI core engine, Flow boundery (to SI core engine) and Flow boundery (from SI core engine) works fine. Adding a throttle valve give the following error:
Selected signal 'Prs' in the Bus Selector block 'untitled/SI Core Engine/Flow Ports/Bus Selector1' cannot be found in the input bus signal. This may also happen if there is an always false variant block feeding 'untitled/SI Core Engine/Flow Ports/Bus Selector1'. Change the variant conditions or set the Variant activation time of the variant blocks to 'Update Diagram Analyze All Choices'.
Replacing the throttle valve with a control volume systems gives a simular error only in this case, the error occures inside the control volume system
Selected signal 'MassFlwRate' in the Bus Selector block 'untitled/Control Volume System/Inlet Ports/Inlet Port 1/Bus Selector1' cannot be found in the input bus signal. This may also happen if there is an always false variant block feeding 'untitled/Control Volume System/Inlet Ports/Inlet Port 1/Bus Selector1'. Change the variant conditions or set the Variant activation time of the variant blocks to 'Update Diagram Analyze All Choices'.
Where can I find these variant conditions? And is it possible to modifie the variant blocks? So far, Simulink says it can`t modifie these blocks since their locked.

回答 (1 件)

Abhishek Chakram
Abhishek Chakram 2024 年 1 月 25 日
Hi teun hinkamp,
It seems that you are facing error in SI core engine bus selector. The error messages you are encountering suggest that there is a mismatch between the expected bus signals and the actual signals being provided to the Bus Selector blocks. This can occur when the structure of the input bus does not contain the signals that the Bus Selector block is configured to select.
In Simulink, variant blocks and variant conditions are used to switch between different implementations of a system component under different conditions or configurations. The variant conditions determine which variant is active during simulation. Here is how you can address the issue:
  • Locate Variant Conditions: Variant conditions are typically defined in the model workspace, MATLAB base workspace, or a data dictionary. To locate them, you can search for the variant control variables in these workspaces. You can also look for Variant Source or Variant Subsystem blocks in your model, which may contain variant control variables. By double-clicking on these blocks, you can inspect their variant control properties.
  • Modify Variant Conditions: If you find the variant control variables, you can modify their values to activate the correct variant that contains the expected bus signals. If the variant control variables are locked or part of a protected model, you may need permission to change them or request changes from the model author or administrator.
  • Check Bus Definitions: Ensure that the bus definitions (e.g., Bus Creator blocks) upstream of the Bus Selector blocks include all the signals that the Bus Selector is trying to access.
I hope this helps!
Best Regards,
Abhishek Chakram

カテゴリ

Help Center および File ExchangePropulsion についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by