Iterpolation shows wrong results
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello
I have a major problem with my results that I can't seem to find its reason
My model beginns with an electrical loads which is supplied by a synchronous generator. the generator gets its power via an asynchronous motor (galvanic isolation of an island grid)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1590606/image.png)
and this is the electrical load, connected to the generator, which was interpolated using the interp1 spline method and goes to a 1D lookup table
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1590611/image.png)
the values of the 1D table are measurment points each 30s and where interpolated to points each 10s (1 sample point in matlab=10s --> total of 90 sample point) and working with a finer interpolation would last so long
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1590616/image.png)
ah shown the plot looks smooth and the torque od the induction motor looks fine so far
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1590621/image.png)
the problem is the speed which has these semi-intervall between each two points (like between 18 and 19)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1590626/image.png)
what I would like to achieve is what I've drawn with a blue line
I guess it's a problem related to the interpolation right? I don't know why I have these semi-Intervall, and the moving average block didn't help
the lookup table has the following setting
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1590631/image.png)
I have the following questions:
- is it a solver problem? I used fixed step discrete size 1e-5
- is it an interpolation problem?
- if fixing the model isn't possible, is there any other war?
I'd be gratfull for any suggestions or ideas
regards,
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Motor Drives에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!