![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1143165/image.png)
An error occurred while running the simulation and the simulation was terminated .
8 次查看(过去 30 天)
显示 更早的评论
An error occurred while running the simulation and the simulation was terminated
Caused by: The model may not give enough information to make it possible to solve for values of some of its variables. Specific advice is given below. all components and nodal across variables involvedTie variable 'DC_DC_Converter.p1.v' (Voltage) to a definite value, for example by connecting an appropriate domain reference block. all components and nodal across variables involvedTie variable 'Motor.x3.v' (Voltage) to a definite value, for example by connecting an appropriate domain reference block.
0 个评论
回答(1 个)
Geetla Sindhu
2022-10-3
Hello Aravind,
In order to solve the issue, you have to add “Electrical Reference” block from the Simscape Library. You can find the block at Simscape >> Electrical >> Connectors&References >> Electrical Reference. Connect the reference blocks as shown in the figure below.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1143165/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1143165/image.png)
You can refer to the documentation provided below for further information
Thank you.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Foundation and Custom Domains 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!