Azzera filtri
Azzera filtri

How to connect PMSM model electrical ports to PSPICE block ports for Co-Simulation

3 visualizzazioni (ultimi 30 giorni)
How to make the electrical connection between the PMSM models' electrical ports and a PSPICE block to enable co-simulation between Simulink and PSPICE? Since there can only be one PSPICE block and there are multiple inputs and outputs, a MUX and DEMUX symbol is used between the Simulink models and the PSPICE block.

Risposte (1)

Anshuman
Anshuman il 22 Feb 2024
Here's how you can make the electrical connection between the PMSM models' electrical ports and a PSPICE block to enable co-simulation between Simulink and PSPICE:
  1. Connect the outputs of the electrical ports from the PMSM models to the inputs of the MUX block.The single output of the MUX block will now carry all the combined signals.
  2. Connect the output of the MUX block to the input of the PSPICE block.
  3. Connect the output of the PSPICE block to the input of the DEMUX block. The DEMUX block will separate the combined signal back into the original signals.
  4. Connect the outputs of the DEMUX block to the respective inputs or loads in your model that require these signals.
  5. Open the configuration settings of PSPICE block. Specify simulation settings that define how the PSPICE block should simulate the connected electrical circuit.
Afterwards, run the Simulink model to ensure that the MUX and DEMUX blocks are correctly routing the signals to and from the PSPICE block.

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by