Simscape Model In Triggered Subsystem
古いコメントを表示
I'm trying to put a Simscape model inside of a triggered susbsytem, but I look to be getting some error related to sample time conflicts.
"The referenced model is sample time independent. An explicit sample time need to be set in the parent model to drive the referenced model. Add a periodic port in the parent model with specified sample time, or specify a sample time on a block driven by the output of the parent model, for example, the output port 1 of port-based 'MCP_MotorInverter_Baseline_WIP/MCP MotorInverter/Inverter Model/FEM Model/Solver Configuration1'."
The block the error points to is the SolverConfiguration block, which is set to use a Local Solver set at the the same time step as the parent model (which is set to fixed step)
If the subsytem containing the model is not triggered, it works fine.
I've tried explicitly specifying the sample times of all the input/output ports, but get the same error. I'm not really sure what this error is telling me. Any help would be appreciated.
回答 (1 件)
Hi Daniel
I understand that you are facing issues with the triggered subsystem block in Simulink. Based on the information provided, it appears that the problem may be related to the sampling time of the subsystem model, as the model functions correctly when the subsystem is not triggered. To better understand and address the issue you are facing, it would be helpful if you could share the .slx files of the model.
カテゴリ
ヘルプ センター および File Exchange で Troubleshooting についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!