# Maximum inspiration pressure when using Mechanical Ventilator Volume Control

**URL:** https://discourse.kitware.com/t/maximum-inspiration-pressure-when-using-mechanical-ventilator-volume-control/1073
**Category:** Pulse Physiology Engine
**Created:** [July 29, 2023, 10:37am UTC](https://discourse.kitware.com/t/maximum-inspiration-pressure-when-using-mechanical-ventilator-volume-control/1073 "2023-07-29T10:37:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DerChb](https://discourse.kitware.com/user_avatar/discourse.kitware.com/derchb/32/743_2.png) [@DerChb](https://discourse.kitware.com/u/DerChb)
#### Post date: [July 29, 2023, 10:37am UTC](https://discourse.kitware.com/t/maximum-inspiration-pressure-when-using-mechanical-ventilator-volume-control/1073/1 "2023-07-29T10:37:54Z")

</div>

Hi there,

first I would like to really appreciate your amazing work and your support you’re doing here! That’s really awesome. 🙂

I’m currently doing my first steps with Pulse and it’s Python bindings. At the moment I try to implement a VC-CMV ventilation to mimic a specific ventilator, but: that device has a setting for maximum inspiration pressure. So basically you set the respiration rate, the tidal volume, the I:E ratio and the maximum inspiration pressure, just in case your combination was too high and thus protecting the lungs.

As I saw you can create a manual MechanicalVentilator configuration; but then I have difficulties setting the tidal volume (as there is no property for setting that and I don’t have a clue on how to set that “by hand”) - on the other hand I’m super happy with SEMechanicalVentilatorVolumeControl and eMechanicalVentilator\_VolumeControlMode.ContinuousMandatoryVentilation - but then I would need to set a maximum p\_insp and the I:E ratio.

Do you have any hints for me on how to combine VentilatorVolumeControl and more specific settings?

Thanks a lot for your support!

Best regards,

Chris

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 31, 2023, 1:46pm UTC](https://discourse.kitware.com/t/maximum-inspiration-pressure-when-using-mechanical-ventilator-volume-control/1073/2 "2023-07-31T13:46:13Z")

</div>

All of our ventilator mode actions translate to a ventilator configuration, then our model just processes that configuration.

You can see how this is done in each of the C++ actions, [for example](https://gitlab.kitware.com/physiology/engine/-/blob/stable/src/cpp/cdm/system/equipment/mechanical_ventilator/actions/SEMechanicalVentilatorVolumeControl.cpp#L64)

You can also supply both a mode action and a configuration action together.  
You can create a VC-CMV mode action to get the ventilator where you want it  
Then create a configuration action setting the specific properties you want to modify, and the engine will bascially combine these configurations together.

I believe you want to change the `InspirationLimitPressure` in the configuration action
