Taking a Simulink Model Over to PSCAD

조회 수: 24 (최근 30일)
RemilBed
RemilBed 2024년 4월 16일
답변: Drishti 2024년 9월 17일
Hey guys,
For the last few weeks, I've been trying to figure out a way to take a model in Simulink, and just try to take it over to PSCAD. Ideally, the model being translated over to PSCAD.
I'm not sure if this is possible, but I have been working with the Code Generator and have managed to generate a Dynamic Link Library. I was wondering if anyone else has worked on something similar and/or had any ideas that could put me in the right direction for achieving this?
Thanks a lot.

답변 (1개)

Drishti
Drishti 2024년 9월 17일
Hi RemilBed,
PSCAD and MATLAB supports a co-simulation environment that you can utilize to import your Simulink model to PSCAD environment.
You can follow the below mentioned steps to setup the co-simulation environment:
  1. To setup the PSCAD/MATLAB co-simulation environment, Intel(R) Fortan compiler and Microsoft VS Code software are required.
  2. Test your Intel Fortan compiler setup. This can be done by launching PSCAD and selecting the FORTAN compiler. Next, load a case into PSCAD and run it. Successful run indicates that the compiler is working fine.
  3. Test your PSCAD-MATLAB Co-simulation, select your MATLAB version and try running a simple MATLAB example.
  4. If the example runs successfully, you are ready to use the co-simulation environment.
For more workarounds, you can refer to the following MATLAB Answers post:
I hope this helps.

카테고리

Help CenterFile Exchange에서 Unit Conversions에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by