modelPartialExposureResponseSweep

static exposure-response curve in which TIME IS THE SWEEP AXIS, not time

Information

PartialExposureResponseSweep

Base for a standalone exposure-response CURVE: the drug's effect plotted against exposure when no PK model is available to generate that exposure over time. Sweep the driver and read the response off the resulting curve.

Why this exists next to PartialConcEffect

PartialConcEffect carries the same Emax algebra, but its conc is an input, so it is usable only as a driven SUB-COMPONENT. A top-level simulated model cannot bind an input: OMC reports "conc = ... has size 1 but 0 variables", and a modification in the extends clause is ignored outright — the model then compiles, runs, and returns the drug-free baseline at every point. This class owns its driver instead of receiving one, which is what makes a standalone, directly simulable curve possible.

Extending it

Supply one equation for response in terms of E0, Emax and frac. See SigmoidEmaxSweep (added) and IndirectTurnoverSweep (reciprocal). A concrete drug example then extends one of those and sets parameter values only.

For a time course instead of a curve

Response over time after a dose, still with no PK, is a different question and needs PartialKPD.

Parameters

TypeNameDefaultDescription
RealE00response with no drug
RealEmax1maximal effect term — how it enters the response is set by the extending class
RealEC501exposure at half of the maximal EFFECT TERM (D50, for a dose sweep)
Realgamma1Hill coefficient
Realexposure_per_s1.0exposure units per second of simulated time — the sweep rate

Components

TypeNameDefaultDescription
Realexposurethe driver being swept: a concentration, or a dose
RealfracHill fraction, 0..1 — the shared part of every exposure-response shape
Realresponsemodelled response at that exposure