Parameter optimization for enhanced modeling of dynamic systems