
how to connect sum block in Simulink to both ideal switches
    6 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Emad Alhani
 el 30 de Jul. de 2020
  
    
    
    
    
    Respondida: Mohsen Aleenejad
    
 el 30 de Jul. de 2020
            how to connect sum block in Simulink to both ideal switches as shown in figure
2 comentarios
  Mohsen Aleenejad
    
 el 30 de Jul. de 2020
				Hello Emad,
This ideal switch belongs to the Specialized Power Systems library. Terminals 1 and 2 cannot be connected to the signal ports. You should find power components/parts for those terminals like this:

  Mohsen Aleenejad
    
 el 30 de Jul. de 2020
				For your model, probably this is what you need to do:

Good Luck
Mohsen
Respuesta aceptada
  Mohsen Aleenejad
    
 el 30 de Jul. de 2020
        This ideal switch belongs to the Specialized Power Systems library. Terminals 1 and 2 cannot be connected to the signal ports. You should find power components/parts for those terminals like this:

For your model, probably this is what you need to do:

Good Luck
Mohsen
0 comentarios
Más respuestas (1)
  Joel Van Sickel
    
 el 30 de Jul. de 2020
        Hello Emad,
the issue here is that there are two types of wires that you are using.  One is a standard simulink wire, which has the arrows indiciating flow of data.  however, the other connections you are trying to use are actual electrical connections.  These were designed so that you could build an actual circuit, that interacts with the more logical and math based simulink models.  If you want to bring a signal from simulink into your circuit with a sum block, I would recommend using a controlled voltage source. https://www.mathworks.com/help/physmod/sps/powersys/ref/controlledvoltagesource.html
In the matlab control panel, you could type this: power_controlvolt
in order to open an example of how to use this type of block.
Regards,
Joel
0 comentarios
Comunidades de usuarios
Más respuestas en Power Electronics Control
Ver también
Categorías
				Más información sobre Switches and Breakers en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!