SIMULINK WHILE LOOP with Estimator

조회 수: 1 (최근 30일)
Yusuf Selim KARATAS
Yusuf Selim KARATAS 2020년 8월 10일
Dear All,
I am trying to build a while loop that tries to estimate future values.
Block diagram is as below.
Main Code operates at 1 Hz. and calculates SOC value. I need to precict future SOC value by iterating a process 1000 times before next 1 second.
Main Code calculates SOC and While loop
N. SECOND
{
Main Code operates
Calculates SOC_main
}
{
Takes SOC_main as initil value
Process it
Output SOC_Estimator that is the input for next interation in while loop
Takes SOC_estimater as input
Process it
Output SOC_Estimator that is the input for next interation in while loop
.......% This happens 999 times
% This process is done 1000 times at most
}
(N+1). SECOND
{
Main Code operates
Calculates SOC_main
}
I could not build the model.
Any help will be appreciated.

답변 (0개)

카테고리

Help CenterFile Exchange에서 System on Chip (SoC)에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by