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.
0 个评论
采纳的回答
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Sensors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!