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

## Discrete Blocks

WHEN (Sample) THEN J1 += coef * ((y_modelo[1] - y_real[1]) / media[1]) ** 2 J2 += coef * ((y_modelo[2] - y_real[2]) / media[2]) ** 2 J_costo = pesos[1] * J1 + pesos[2] * J2 Sample = FALSE Sample = TRUE AFTER tsamp END WHEN