- 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.
- Connect the output of the MUX block to the input of the PSPICE block.
- 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.
- Connect the outputs of the DEMUX block to the respective inputs or loads in your model that require these signals.
- Open the configuration settings of PSPICE block. Specify simulation settings that define how the PSPICE block should simulate the connected electrical circuit.
How to connect PMSM model electrical ports to PSPICE block ports for Co-Simulation
8 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Anshuman
on 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:
Afterwards, run the Simulink model to ensure that the MUX and DEMUX blocks are correctly routing the signals to and from the PSPICE block.
0 Comments
See Also
Categories
Find more on Choose and Parameterize Blocks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!