Transform a Discrete Regulatory Network Model into a Semicontinuous one