Offline cache warming

MetaCAD Pocket — marine tools, offline

Voyage tools, calculations and sea service — on iPhone and Android.

Features and platform differences

Demurrage and detention: when free time runs out

In short

Charges start after free time: charge = max(total days − free days, 0)·daily rate.

MetaCAD Live Notebook

demurrage-detention-v1

Change duration, free time and rate. The plot exposes the threshold after which every day costs money.

Charge: 840 USD

Inputs
d

Model range: 0 — 60 d. Arrow-key step: 1 d

d

Model range: 0 — 30 d. Arrow-key step: 1 d

USD/day

Model range: 10 — 1,000 USD/day. Arrow-key step: 10 USD/day

Charge
840 USD

From the initial example: 0 USD

Chargeable days
7 d
Average per total day
60 USD/day

Single flat rate. Real tariffs can be tiered, use different calendars and exceptions, and separate demurrage from detention.

Charge (USD) / Total days (d)

Other inputs held fixed. Diamond = current example.

0 → 6,360 USD0 d60 d

Current: 14 d → 840 USD

Chart data
Total days / Charge
Total days (d)Charge (USD)
00
7.560
14 ◆840
15960
22.51,860
302,760
37.53,660
454,560
52.55,460
606,360
What the model shows

The charge is zero before the threshold and linear after it. The counting rules and dates usually matter more than the arithmetic.

Equation
charge = max(days − free days, 0) · rate

Check the contract definition of the first and last chargeable day.

Primary result substitution

max(14 − 7, 0) × 120 ≈ 840 USD
Total days
14 d
Free time
7 d
Daily rate
120 USD/day

Keep or share this example

One saved example per lesson, no account. The share link includes your inputs only when you choose “Copy link”.

Checkpoint

What happens before free time ends?

Model limits

Single flat rate. Real tariffs can be tiered, use different calendars and exceptions, and separate demurrage from detention.

Change duration, free time and rate. The plot exposes the threshold after which every day costs money.

What to notice

The charge is zero before the threshold and linear after it. The counting rules and dates usually matter more than the arithmetic.

Where the teaching model ends

Single flat rate. Real tariffs can be tiered, use different calendars and exceptions, and separate demurrage from detention.

Formulas

Page model
charge = max(days − free days, 0) · rate
Check the contract definition of the first and last chargeable day.

How to use the notebook

Start with the worked scenario, change one slider, and follow the metrics and plot. Then answer the checkpoint. A number without its stated model boundary is not treated as a conclusion.

Try it in a calculator

Questions

FAQ

Can this result be used for a shipboard operation?
No. Single flat rate. Real tariffs can be tiered, use different calendars and exceptions, and separate demurrage from detention. Use the vessel’s approved documentation and established procedure.
What stays fixed when a slider moves?
Every other input is held constant. That exposes the causal relationship, but it does not turn the model into a digital twin of a particular vessel.

Related lessons

Want the whole system, not single topics?

MetaCAD Academy — training with live calculators and worked examples on real ships.

Browse courses

Sources & method

  • — FMC, Demurrage and Detention Billing Requirements — terminology and billing context.
  • — MetaCAD deterministic educational model; equation and assumptions are displayed with the result.
  • — The vessel’s approved data and operating procedures remain the controlling source for operational decisions.

MetaCAD educational material. An independent professional review of this lesson has not yet been claimed.

By continuing to use this site, you accept essential cookies and anonymous analytics. Learn more