Multiple electrical references in Simulink/Simscape

조회 수: 3 (최근 30일)
Hendrik2k1
Hendrik2k1 2023년 1월 24일
댓글: Hendrik2k1 2023년 1월 26일
I want to use the same electrical reference in main model in some the implemented subsystems. But even naming the reference exactly like the one in the main model, I get error that my reference doenst have a solver configuration:
['Halbbruecke_PWM_v0_HA/Subsystem/Controlled PWM Voltage', 'Halbbruecke_PWM_v0_HA/Subsystem/ERef', 'Halbbruecke_PWM_v0_HA/Subsystem/Simulink-PS Converter2', 'Halbbruecke_PWM_v0_HA/Subsystem/Voltage sensor2']: 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: 'Halbbruecke_PWM_v0_HA/Subsystem'
Besides this there are Simulink Example Models (e.g. ee_solar_inverter) where same reference is used in gate drivers and the entire model only has one solver configuration for all references.
How can I tell Simulink, that my electrical reference is the same as in top module?
Thank you in advance.

채택된 답변

Sabin
Sabin 2023년 1월 26일
You need one Solver Configuration block per phyiscal network. If you have pure Simulink blocks used to connect different parts of the physical network without any direct physical connection you need a solver confiuration for each sub-network. It looks like the 'Halbbruecke_PWM_v0_HA/Subsystem' is isolated from and requires a solver configuration block.
In the ee_solar_inverter there is a single physical network. If you provide your model we can give more specific advice.
  댓글 수: 1
Hendrik2k1
Hendrik2k1 2023년 1월 26일
Yes, you are right. In ee_solar_inverter example there really is only one connected single physical network with one solver.
Thank you.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Electrical Sensors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by