add dual-simulation option in func discretize
add dual-simulation option in func discretize

tulip-control/tulip-control,tulip-control/tulip-control,tulip-control/tulip-control,tulip-control/tulip-control