Each physical network must be connected to exactly one Solver Configuration block. There is no Solver Configuration block connected to Physical Network with the following blocks:MATLAB error
조회 수: 129 (최근 30일)
이전 댓글 표시
Hi all,
Ive had this error come up and was wondering if I could get some help on it. The error comes as i try generating my simulink model via matlab code as such:
Each physical network must be connected to exactly one Solver Configuration block.
There is no Solver Configuration block connected to Physical Network with the
following blocks: 'ballValveModel/HydRef1'
'ballValveModel/HydSource'
'ballValveModel/SPSConv'
As the error says, should i be adding a solver block for each of the added blocks? This dosent sound like the right solution. Any help would be great.
댓글 수: 0
답변 (1개)
Surya Talluri
2020년 9월 1일
I understand that you are getting the because you didn’t add the solver configuration block to your physical network.
Each physical network represented by a connected Simscape block diagram requires solver settings information for simulation. The Solver Configuration block specifies the solver parameters that your model needs before you can begin simulation.
add_block('nesl_utility/Solver Configuration', 'ballValveModel/solver');
You can refer to following documentation for further understanding on Simscape and Solver configuration:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Model Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!