Rank running units by risk from their condition readings
Before you start: A Pro plan to fit a model. One dataset holding failure and running ages for a set of units, with the condition readings taken on them over time as its measurements.
A non-repairable model treats every unit of a type alike: two pumps of the same age carry the same risk. But you know they don't. One pump's vibration has crept up for months; the other's is as steady as the day it went in. Condition monitoring in Reliafy uses those readings. It learns from your fleet how the reading drifts and how much a higher reading raises the chance of failing, then gives every unit still running its own risk, from its own readings.
It answers the questions a maintenance planner asks on Monday morning: which units are most likely to fail in the next month, and how long has each one got?
It differs from degradation modelling, which needs a threshold that counts as failure ("replace at 3 mm of pad"). Here the failures are real failures, and the model works out how the reading relates to them. No threshold is needed.
Your dataset: life data and measurements
A model is fitted to one dataset that holds both parts.
Life data: one row per unit. Its id, its age when it failed (or its age now, if it is still running), whether it failed, and any facts about it that might matter, as numbers:
pump,age,running,load
P0,69.5,0,0
P1,63.3,0,1
P6,120,1,0
Measurements: one row per reading. The unit's id, its age when it was read, and the value read:
pump,age,vibration
P0,0,1.96
P0,10,2.10
P0,20,2.36
Three rules keep the two parts in step:
- Ages are since new, in the same time unit in both parts. A reading at age 20 and a failure at age 69.5 are on one clock.
- The censoring flag is 0 = failed, 1 = still running. If your sheet uses 1 for failed, tick My flag is 1 = failed, 0 = still running rather than editing the data.
- The ids match. Every reading belongs to a unit in the life data.
To make the dataset, go to Data → New dataset, give it the life data, and open Add measurements for these units to give it the readings in the same step (a file, or pasted). A dataset you already have takes readings later: open it and choose Add measurements from its ⋯ menu. Its page then shows the two parts as tabs, Life data and Measurements. If your readings came first, the dataset's page offers Add life data instead.
If everything is in one long table — a reading per row, with each unit's flag on its last row — upload it as it is: its page notices and offers to split it into the two parts.
If failures were found at inspections, so you only know a unit failed between two ages, leave x empty and map the range xl to xr under it. Units that were already in service when your records began can take a tl (late entry).
Fit the model
Go to Modelling → Models → Condition and life and press New model. Under 1. Your dataset, pick the dataset from the list (those holding life data with its measurements come first; a dataset with life data alone says to add its measurements on its page). Its two parts show beside the list. Or press Upload or paste a new dataset… to add one with its measurements. Under 2. How the data is read, each part's reading shows in one line, with Change (the same selectors as the other fits, labelled with SurPyval's names); a reading Reliafy guessed says guessed — check it:
- Life data: i (which item each row is), x (the value when it failed, or now if still running) with its unit, or a range xl to xr, c (0 = failed, 1 = still running; tick my column uses 1 = failed if yours is the other way round) and tl.
- Measurements: i (which item each reading belongs to), x (when the reading was taken, in the same unit) and m (the measured value) with its unit. These are readings, not covariates.

Covariates: risk or reading?
Any other numeric columns in the life data appear under Covariates, each with two boxes, because a fact about a unit can matter in two different ways:
- Changes the risk: at the same reading, the unit fails sooner. A harsher site, say, where a vibration of 4 mm/s is more dangerous than it is elsewhere.
- Changes the path: the reading itself moves differently. A heavier load makes the vibration climb faster.
The boxes read load changes the risk and load changes the path. Tick either or both. Leave a box empty when you have no reason to think the column matters that way: every extra effect needs more data to pin down. Use numbers only, 0 and 1 for yes and no.
The reading's path
Under 3. Model, the Reading's path describes how the reading drifts with age on a typical unit. Linear (a steady rise) is the default and the right start for most readings. Exponential suits a reading that grows by a fixed proportion, Power one that grows as a power of age, Logarithmic one that rises quickly then levels off, and Quadratic one whose rate of change itself changes with age (slower to fit). Each unit gets its own version of the path: its own starting level and its own rate.
What the risk follows
Open Advanced under 3. Model to choose What the risk follows:
- Level (the default): the risk follows where the reading is now. Two pumps both at 4 mm/s today are at the same risk today.
- Rate of change: the risk follows how fast the reading is moving, whatever its level. At the same 4 mm/s, a pump that climbed 2 mm/s over the last year is at higher risk than one that has sat at 4 all year. It suits bearings that settle at different levels because of how they were mounted, where only a climbing reading is a sign of trouble.
- Level and rate of change: both, each with its own effect.
- Accumulated exposure: the risk follows the reading's total so far, the area under its path since new. Every day at a high reading adds to it, and it stays when the reading falls. Of two pumps both at 4 mm/s today, the one that has sat at 4 all year has had more exposure than one that climbed from 2, so it is at higher risk. It suits wear that builds with the dose: hours hot for insulation, particle counts for a hydraulic pump.
Rate of change needs a Linear, Exponential or Quadratic path, and units whose rates differ: its effect is learnt from how lives differ between units that rise at different rates. The Effects tab then says, for example, each 1 mm/s per day faster rise in vibration multiplies the failure rate by …, in the model's time unit; for days, weeks or months it adds the same per year.
With Accumulated exposure, the effect is per 1 reading unit × time unit: each extra 1 mm/s·day of accumulated vibration (one day at 1 mm/s higher) multiplies the failure rate by …. To count only the reading above a limit (hours above a rated temperature, say), fill in Count exposure above: that level is taken off every reading, at the fit and in every prediction, and the result says so. The charts still show the readings as entered.
To see which choice suits your data, fit it each way and compare their AIC on the Diagnostics tab: lower is better.
Name what is read (vibration, say), and press Check data. It counts the units, failures, running units and readings, and says if anything doesn't line up. Then press Fit model. A fleet takes from a few seconds to about a minute.
Read the risk table
The model opens on its answer, in the line under its name: how many units it learnt from, and the running unit at the highest risk now. Its tabs are Risk now, Calculator, Effects, Diagnostics and Data. Risk now is always there: it scores the running units in the data the model was fitted to.
On Risk now, Running units' risk lists every unit still in service, highest risk first, with its chance of failing in the next 30, 90 and 365 days (for a model in hours, days, weeks, months or years; other units get horizons in their own terms) and its Median life left: the time by which it has an even chance of having failed. The table ranks by the horizon that tells the units apart best (the line above it names it), and Rank by lets you pick another.

The colours are a quick read: red at 50% or more, amber from 10%. The demo fleet of 40 pumps in this guide has four still running, and pump P6, whose vibration has climbed fastest, has a 92% chance of failing in the next 30 days. That's the one to look at first.
The Effects tab charts each hazard ratio with its interval and puts the fitted effects in words: each 1 mm/s higher vibration multiplies the failure rate by 2.79. A hazard ratio of 2 doubles the failure rate at any moment; 0.5 halves it. When the interval includes 1, it says the data can't rule out no effect. The Data tab has every fitted value with its 90% interval and a line on what it means. Diagnostics draws the units' readings against the fitted path, says whether the fit settled, and gives its fit statistics.
One unit's view
Beside the table is the chosen unit's updating prediction (the riskiest unit first): press View on a row, or the row itself, for another. You get two charts:
- Survival from now: the chance it is still running at each age ahead. It starts at 1 at its age now, because it has survived that far.
- Its vibration: its readings, its own path through them, and where that path is heading, with a 90% band.

Each new reading moves the answer. To try one before it is in your data, use copy its readings: the Calculator tab opens with them under Enter a unit; add the new reading and press Predict. Enter a unit also works for a unit that wasn't in the fit at all: give its age now, its covariates and its readings so far. Until you predict, the Calculator shows a new unit's survival with typical covariates.
Use a unit in an RBD
A unit's risk can drive a block in a reliability block diagram, so the system's reliability reflects the condition of the actual units in it. In a non-repairable diagram, open a block, choose Condition-based as its life model, pick the model, and then A running unit (or Enter a unit).

The block's reliability runs from the unit's age now, given its readings, and the results say so: Pump P8 (runs from age 120 days). Two worn pumps in parallel are a weaker pair than two new ones, and the diagram now shows it. See build an RBD for the rest of the diagram.
Limits
- Fitting a model is part of Pro. Opening a saved one, reading its risk table and the unit view are free.
- RBD blocks need a non-repairable diagram. A repairable diagram replaces a failed unit with a new one, which has none of the old unit's readings.
- One reading per model. Vibration or oil debris, not both at once.
- A fit takes up to 2,000 units and 20,000 readings (600 units for the quadratic path).
- Download as Python, in the page's ⋯ menu, gives a script that refits the model with SurPyval from the same data.
- Over the API,
change dataset_add_measurementsputs the readings on a dataset andchange model_fit_jointtakes itsdataset_id; see the API.