Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Is there a possibility for an N-dimensional lookuptable in Simscape?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello everybody,
I am constructing an emperical model within simhydraulics for a project. For the emperical model I currently use a 2dimensional lookup table (PS lookup) as follows:
This works well for my model, however I now want to add an additional variable to the model to implement another influence. Unfortunately there is as far i can see no n-D lookuptable available in the Simscape library.
I tried using an 'ordinary' Simulink n-dimensional look up table and using convertion blocks (PS-Simulink block --> n-D lookup --> Simulink-PS block) to overcome my problem, however now my model becomes unstable, or at least the automatic stepsize becomes really (unworkable) small.
Does anybody have a solution for my problem?
thank you very much in advance,
Wouter
댓글 수: 0
답변 (1개)
noman shah
2015년 12월 8일
i am not understanding why you need an n-dimensional lookup table but the thing you can do is to proveide trend line for your data, eg
x=[1 3 4 5 6 8 9] y=[9 9 8 5 3 4 4]
this will convert your output value to according to input value in the lookup table but if the input value less than 1 or greater than 9 will always gives the result 9 and 4 respectivley.
also try it.
x=[0 1 3 4 5 6 8 9 10] y=[6 9 8 5 3 4 5 6 7]
with allowing interpolation and extrapolation and using saturation block with your desire max and min value,may be you get your required result you want to do
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!