What does the Following mean in Simulink
    4 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Varun Nair
 am 21 Jul. 2021
  
    
    
    
    
    Kommentiert: Walter Roberson
      
      
 am 22 Jul. 2021
            With Reference to calculate Id current, I found following algorithm. Can anyone tell me about the purpose of this

1 Kommentar
  Peter O
      
 am 22 Jul. 2021
				Check this link out:
https://www.mathworks.com/matlabcentral/discussions/power-electronics-control/134439-pmsm-in-motor-control-block
Akzeptierte Antwort
  Fangjun Jiang
      
      
 am 22 Jul. 2021
        "Ldq" is a vector. The above math is: Out1=In1*Ldq(2)/Ldq(1)
0 Kommentare
Weitere Antworten (1)
  Varun Nair
 am 22 Jul. 2021
        1 Kommentar
  Walter Roberson
      
      
 am 22 Jul. 2021
				- you can create a variable named Ldq in the base workspace (and hope that it stays existing)
 - you can create a function or script that creates Ldq in the base workspace, and then invokes sim() to start the model
 - you can, if I understand correctly, create a function that creates Ldq in the function workspace, and then invoke sim() to start the model
 - you can create a Simulink variable named Ldq; https://www.mathworks.com/matlabcentral/answers/351732-define-variable-value-in-simulink-model#answer_415063
 - you can create a Simulink global variable; see https://www.mathworks.com/help/simulink/ug/use-global-variables-in-system-objects.html
 - you can set up a model initialization function callback that assigns Ldq in the base workspace
 - you can use a From Workspace block
 - you can use a From File block
 
Siehe auch
Kategorien
				Mehr zu General Applications finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
