Why do I receive a data type mismatch error when using single phase asynchronos machine in simpower system?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to simulate a system with a synchronous generator, resistive load and single phase asynchronous motor in simpower systems, but when I run simulation these errors occur
Data type mismatch. Input port 1 of 'my model name/Single Phase Asynchronous Machine/Electrical model/disconnection system/Logical Operator' expects a signal of data type 'double'. However, it is driven by a signal of data type 'boolean'.
Data type mismatch. Output port 1 of ' my model name /Single Phase Asynchronous Machine/Electrical model/disconnection system/Compare To Zero' is a signal of data type 'boolean'. However, it is driving a signal of data type 'double'. I would be thankful for any help I can get!
댓글 수: 0
답변 (1개)
Joel Van Sickel
2021년 8월 18일
This is an issue of having the wrong data types on your simulink signals. Try using this block: https://www.mathworks.com/help/simulink/slref/datatypeconversion.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Specialized Power Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!