Variable orifice
1 回表示 (過去 30 日間)
古いコメントを表示
I use a Simscape block called Variable Orifice.
But when I run the model there is an error. The error text is "Cannot find error message associated with 'sh:orifice_variable:VectorSize'.
What does it mean?
1 件のコメント
Arnaud Miege
2011 年 7 月 20 日
What parameters have you entered in the block? I suspect you have used a vector rather than a scalar for at least on of the parameters. Also, which release of MATLAB are you using?
回答 (3 件)
Francesca Fanfoni
2011 年 7 月 20 日
1 件のコメント
Arnaud Miege
2011 年 7 月 20 日
That seems to work just fine for me in R2011a. Which release of MATLAB are you using?
Arnaud Miege
2011 年 7 月 21 日
Yes, I see the same error in R2009b. The problem is with the pressure differential values, you only provide two values and the documentation (in R2009b) for the block states that you need to provide at least 3 values:
"Specify the vector of input values for pressure differentials as a tabulated 1-by-n array. The input values vector must be strictly monotonically increasing. The values can be nonuniformly spaced. You must provide at least three values."
I agree that the error message could be more helpful. This restriction seems to have been lifted in subsequent versions. Here's what the documentation says in R2011a:
"The minimum number of values depends on the interpolation method: you must provide at least two values for linear interpolation, at least three values for cubic or spline interpolation."
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Two-Phase Fluid Library についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!