Development of virtual patients for use in mechanical ventilation