Multiple electrical references in Simulink/Simscape

2 visualizaciones (últimos 30 días)
Hendrik2k1
Hendrik2k1 el 24 de En. de 2023
Comentada: Hendrik2k1 el 26 de En. de 2023
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.

Respuesta aceptada

Sabin
Sabin el 26 de En. de 2023
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 comentario
Hendrik2k1
Hendrik2k1 el 26 de En. de 2023
Yes, you are right. In ee_solar_inverter example there really is only one connected single physical network with one solver.
Thank you.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by