Reconstructing asynchrony for mechanical ventilation using a hysteresis loop virtual patient model