A respiratory gas delivery system monitors gas flow over the course of a breath in real time and uses this parameter to simulate, in whole or part, the function of a reference respiratory gas delivery system, in particular structural features, particularly structural components of parts of the reference system, to overcome a structural limitation of the reference system.