Euclid preparation. XLVIII. the pre-launch Science Ground Segment simulation framework