Multiple electrical references in Simulink/Simscape
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Sabin
le 26 Jan 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Electrical Sensors dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!