Simulink simulation error. Conflict with 2 different dimensons
7 ビュー (過去 30 日間)
古いコメントを表示
I have created a battery system. The battery itself was created using the 'Battery Builder' app. I have now simulated the whole thing and I get the following error message.
The input signal to 'Input Port 2' of subsystem 'untitled/SOC Estimator (Adaptive Kalman Filter)' has a size of 360 for dimension 1. Given the partition width 1 and the partition offset 0 for this input, subsystem 'untitled/SOC Estimator (Adaptive Kalman Filter)' requires 360 iterations. This requirement conflicts with 1, the number of iterations expected by another input/output signal of this subsystem.
Error in port widths or dimensions. 'Output Port 1' of 'untitled/SOC Estimator (Adaptive Kalman Filter)/CellVoltage' is a [360x1] matrix.
Does anyone have an idea how I can solve the problem with the different dimensions without affecting the mathematical calculations?
0 件のコメント
回答 (1 件)
Fangjun Jiang
2023 年 11 月 22 日
Double click the "For Each" block and check the mark for partition for input "Current". All other inputs are partitioned but not the "Current" input. It looks it should be partitioned.
6 件のコメント
Rohan Chaudhari
2024 年 1 月 2 日
hii, can you help i have a similar problem with my model.
this is the error i got:
Error:The input signal to 'Input Port 1' of subsystem 'stone/SOC Estimator (Kalman Filter)' has a size of 160 for dimension 1. Given the partition width 1 and the partition offset 0 for this input, subsystem 'stone/SOC Estimator (Kalman Filter)' requires 160 iterations. This requirement conflicts with 1, the number of iterations expected by another input/output signal of this subsystem.
Error:Error in port widths or dimensions. 'Output Port 1' of 'stone/SOC Estimator (Kalman Filter)/Current' is a [160x1] matrix.
please contact me on my email if i am not able to get back: oceans.rohan@gmail.com
参考
カテゴリ
Help Center および File Exchange で Estimators についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!