Mathematical Model View
Summary | Variables | Equivalents | Boundary | Jacobian | Equations | Init | Discrete | Design | High Index | Equation Matrix | Validation Differences

## Init Blocks

Note 1: Variables called "__aux_int_..." are internal integer variables, used to iterate
Note 2: FOR statements are converted to WHILE statements
-- init(estim_param_deposito,0)
J_costo = 0
J1 = 0
J2 = 0
readTableCols1D("datos_potencia.txt", 1, 2, tab1)
u_real[1] = linearInterp1D(tab1, TIME)
V = u_real[1]
readTableCols1D("datos_caudal_entrada.txt", 1, 2, tab2)
u_real[2] = linearInterp1D(tab2, TIME)
qe = u_real[2]
readTableCols1D("datos_nivel.txt", 1, 2, tab3)
y_real[1] = linearInterp1D(tab3, TIME)
h = y_real[1]
y_modelo[1] = y_real[1]
readTableCols1D("datos_temperatura.txt", 1, 2, tab4)
y_real[2] = linearInterp1D(tab4, TIME)
T = y_real[2]
y_modelo[2] = y_real[2]
coef = 1
hmin = h
hmax = h
Tmin = T
Tmax = T