Transform a discrete regulatory netwrk model into a semicontinuous one