Hill Equation
MathThe HillEquation block implements the classic sigmoidal pharmacodynamic dose-response model. It describes the non-linear relationship between drug concentration at the active biological receptor site () and the resulting physiological effect (). Widely used in anesthesia automation, pharmacology, bio-engineering, and enzymatic saturation kinetics, the block features a live Dose-Response Curve Preview (HillEquationInsights) in the Property Editor that plots over along with quantitative badges for , , and .
Mathematical Model
The receptor fractional occupancy is modeled using the Hill formulation:
where is the effect-site drug concentration, (ec50) is the median effective concentration, and (gamma) is the Hill cooperativity exponent. If , occupancy evaluates cleanly to .
The resulting clinical or biological effect is evaluated relative to the uninhibited baseline (e0) and maximum achievable effect change (emax):
At zero concentration (), . At median concentration (), receptor occupancy is exactly regardless of , producing half-maximal effect . As , effect saturates at .
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in1 |
Ce | number | Required |
| ← Out | effect |
Effect | number | Output |
| ← Out | occupancy |
Occ. | number | Output |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
e0 |
Baseline (E0) | number | 93 |
Effect at zero concentration, for example an awake BIS of 93 |
emax |
Maximum Effect (Emax) | number | 93 |
Largest possible drop from the baseline |
ec50 |
EC50 | number | 3.4 |
Concentration giving half the maximum effect, in the unit of Ce |
gamma |
Hill Slope (γ) | number | 3 |
Steepness of the curve: 1 is hyperbolic (Michaelis-Menten), above 1 sigmoidal |
Usage Examples
Example 1: Propofol Effect-Site Concentration to Bispectral Index (BIS) Mapping
Modeling anesthetic depth during surgical induction. An effect-site concentration of propofol is delivered via a pharmacokinetic compartmental model. Setting e0 = 93.0, emax = 93.0, ec50 = 3.4 , and gamma = 3.0. When rises from to , the output BIS index drops from (fully awake) to (surgical anesthesia level), saturating safely near zero during high bolus infusions.
Example 2: Neuromuscular Blockade Muscle Relaxation Monitoring
Modeling rocuronium or vecuronium neuromuscular blocking agents with baseline twitch height and . Configuring ec50 = 1.2 and gamma = 4.5. The steep Hill exponent reproduces the sudden onset of profound muscle paralysis as concentration surpasses .
Remarks & Best Practices
- Live Dose-Response Curve Preview: The Property Editor plots in real time as you adjust
e0,emax,ec50, andgamma, displaying exact baseline , median , and saturation values. - Logarithmic Numerical Stability: In the WebAssembly engine, receptor occupancy is computed via logarithmic transformations to prevent floating-point numerical overflow when handling steep Hill exponents () or large concentrations.
- Varying Plant Gain for Controllers: Because the slope changes dramatically with concentration, closed-loop controllers (such as target-controlled infusion PIDs) experience high loop gain near and low loop gain in saturation regions.
- Non-Negative Concentration Clamping: Inputs with negative values () are clamped automatically to zero, preventing complex numbers or NaN states.
- Dual Outputs: Emits both the final physiological
effectand the normalized receptoroccupancy() for pharmacokinetic-pharmacodynamic (PK/PD) studies.
Frequently Asked Questions (FAQ)
Q: What is the physical meaning of the Hill coefficient n in cooperative binding?
In the Hill equation , is the Hill cooperativity coefficient and is the half-maximal effective concentration (). When , binding is non-cooperative (hyperbolic Michaelis-Menten kinetics). When , binding exhibits positive cooperativity (e.g. oxygen binding to hemoglobin with ), generating an ultra-sensitive sigmoidal switch-like activation curve.
Related Components
- TransferFunction: Models linear pharmacokinetic drug distribution compartments.
- LookupTable: General 1D empirical nonlinear lookup tables.
- Saturation: Clamps signals to physical boundaries.
- PIDController: Automates closed-loop physiological effect regulation.