Worked Examples
Understand dimensional analysis — Sustainable Catalyst Workbench
Understand dimensional analysis — Sustainable Catalyst Workbench Availability: The physical-quantity implementation and the local examples below were inspected/tested at the pinned source revision. Full application startup, browse
Understand dimensional analysis — Sustainable Catalyst Workbench
Availability: The physical-quantity implementation and the local examples below were inspected/tested at the pinned source revision. Full application startup, browser controls, authentication, WordPress integration and deployed behavior remain UNVERIFIED. These are internal drafts, not approved public instructions. A local router test is not a production acceptance test.
The source module’s historical label is v11.7.0, but backend/app/release.py currently reports 14.0.0 and the README reports v10.4.0. Use the commit to identify this behavior; do not infer installed-version compatibility from those conflicting labels.
Purpose and terminology
Dimensional analysis checks the kinds of physical quantities involved in a calculation. A dimension describes a physical kind, such as mass, length or time; a unit is a scale used to express it, such as kilogram, meter or second. A magnitude is its numerical value. Meter and centimeter have the same dimension but different scales. Meter and second have different dimensions.
Workbench’s inspected implementation uses Pint quantities. It can parse quantities, convert units, report dimension exponents, compare dimensional compatibility, perform arithmetic, normalize to base units and form derived quantities. This is more specific than the original draft’s proposed generic equation validator: consistency-check compares a list of operand dimensions. It does not parse an arbitrary equation and certify both sides or automatically repair a model.
Worked physical example
Consider synthetic inputs mass 2 kg and acceleration 3 m/s². Under the constant-mass, classical relation F = ma, the expected force is 6 kg·m/s² = 6 N. The implementation’s multiplication result has base magnitude 6.0 and dimensions:
{"[mass]": 1.0, "[length]": 1.0, "[time]": -2.0}
It may initially display the compound unit kilogram * meter / second ** 2; that is equivalent to newton, not a unit failure. Convert explicitly if a named output unit is needed. As a separate scale check, 36 km/h = 10 m/s, using 1 km = 1,000 m and 1 h = 3,600 s. The how-to supplies tested requests and local instructions.
What the checks mean
compatible returns a boolean comparing dimension maps; it does not compare magnitudes. Likewise, consistency-check can return true for 1 meter and 2 meters even though their physical values differ. Conversely, an attempted addition of length and time fails. Unit conversion and addition of compatible quantities are computational checks, not measurement validation.
Dimensional agreement is necessary for many physical equations, but not sufficient. For example, F = 2ma has the same dimensions as F = ma; dimensions alone cannot choose the correct coefficient. Energy and torque also share dimensions while having different physical meanings. Preserve the physical definition and coordinate/sign conventions alongside the units.
Limits and next step
No uncertainty propagation, automatic significant-figure policy, calibration check or general dimensional-homogeneity proof is established by this module audit. Quantities are serialized as floating-point magnitudes; a displayed decimal is not a claim of measurement precision. The example is synthetic and deterministic, not experimental evidence. Start with the how-to, then use the research protocol to specify assumptions, tolerances and independent checks before applying the method to measurements.
Evidence and related reading
Physical-quantity request models, operations, result serialization and routes; Existing quantity tests; Canonical source release identity.
Verification on 2026-11-10: 23 focused local assertions passed against the actual quantity router in a minimal FastAPI application. Six existing upstream test functions passed in that isolated router context; the status test failed because it expects 11.7.0 rather than the returned 14.0.0. The normal upstream suite could not collect because full app.main imports missing app.v10110. Static tests: three passed, two failed on old release/image expectations. These failures were recorded, not patched away. No deployed endpoint, UI, permission or scientific peer-review acceptance was performed.
Related: overview, worked how-to, research protocol, developer reference, troubleshooting. Technical/scientific review owner remains unassigned; publication remains blocked.
