Home▸Articles▸Medicine & Biophysics

Code Blue Physiology Engine: Simulating Life-Saving Interventions

A dynamic simulation that brings the complexities of cardiac arrest to life in real-time.

mysimulator teamUpdated June 2026≈ 4 min read▶ Open the simulation

Understanding Closed-Loop Hemodynamics

The simulation is based on fundamental principles of cardiovascular physiology. Cardiac output (CO) is the product of heart rate (HR) and stroke volume (SV), represented by CO = HR x SV. Mean arterial pressure (MAP) is then calculated as MAP = CO x systemic vascular resistance (SVR). These equations form the basis for understanding how blood flow, cardiac function, and overall circulatory status are interrelated.

By adjusting these parameters in real-time, the simulation allows users to observe how interventions such as chest compressions, epinephrine administration, and defibrillation affect hemodynamics. This provides a deeper insight into the physiological responses during cardiac arrest.

Physiological Indicators and Their Significance

The simulation tracks several key indicators: heart rate (HR), mean arterial pressure (MAP), oxygen saturation (SpO2), and end-tidal carbon dioxide (EtCO2). HR reflects the strength of cardiac contractions, MAP indicates overall perfusion, SpO2 measures tissue oxygenation, and EtCO2 is a marker for alveolar ventilation. These parameters are crucial in assessing the effectiveness of interventions during resuscitation.

Real-world applications include training healthcare professionals to make informed decisions based on these indicators, improving patient outcomes by optimizing resuscitation strategies.

live demo · related simulation● LIVE

Interventions and Their Impact

CPR is a critical intervention that maintains blood flow through chest compressions. The simulation models the effects of compression depth, rate, and quality on cardiac output and perfusion. Epinephrine is used to enhance myocardial contractility and vascular tone, while defibrillation aims to restore normal sinus rhythm by delivering an electrical shock. Each intervention has a specific mechanism that can be observed in real-time through changes in the physiological indicators.

Understanding these interventions helps healthcare providers tailor their approach based on the patient’s response, potentially saving lives.

Why It Matters

The simulation is invaluable for medical education and training. By providing a realistic environment where users can practice and observe the effects of interventions, it enhances learning outcomes and prepares healthcare professionals to handle real-life emergencies more effectively.

Moreover, the ability to see immediate results from different strategies aids in decision-making during actual resuscitation scenarios.

Frequently asked questions

How does the simulation model the effects of CPR?

The simulation models CPR by adjusting cardiac output based on compression depth, rate, and quality. It reflects how effective chest compressions maintain blood flow to vital organs during cardiac arrest.

What is the significance of SpO2 in this context?

SpO2 measures tissue oxygenation and is crucial for assessing the effectiveness of resuscitation efforts. High SpO2 levels indicate adequate perfusion, while low levels suggest ongoing hypoxemia.

How does epinephrine affect hemodynamics in the simulation?

Epinephrine increases myocardial contractility and vascular tone, as shown by increased heart rate and blood pressure in the simulation. It helps to restore normal circulation during cardiac arrest.

Can the simulation be used for training purposes outside of CPR interventions?

Yes, while the primary focus is on CPR, the simulation can also demonstrate other aspects of resuscitation such as fluid management and pharmacological interventions, providing a comprehensive understanding of emergency care.

Try it live

Everything above runs in your browser — open Code Blue Physiology Engine and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Code Blue Physiology Engine simulation

What did you find?

Add reproduction steps (optional)