¿Can I use a 'goto' block for parameterizing electrical sources?

I am using an 'AC current source' block but as my angle and magnitude may vary with time, they should be variables that can be defined previously on workspace. However, I need them to come from another section of simulink (while running the simulation). I tried using the 'goto' block to assign the variables from that other section but is not working in the 'AC current source' block, even if I turn the 'goto' block to global variable. ¿Any ideas?¿How can I parameterize a block with the output from another block?

Réponses (1)

Sabin
Sabin le 13 Déc 2024
You can use a Controlled Current Source instead and input the current waveform that would be time variable.

Catégories

En savoir plus sur Simscape Electrical dans Centre d'aide et File Exchange

Question posée :

le 15 Mai 2018

Réponse apportée :

le 13 Déc 2024

Community Treasure Hunt

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

Start Hunting!

Translated by