Multiple electrical references in Simulink/Simscape

2 次查看(过去 30 天)
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