aquakin.check_model_units#

aquakin.check_model_units(model, *, check_root=True)[source]#

Run check_rate_units() over every reaction in a compiled model.

Parameters:
  • model (CompiledModel) – The compiled model to check.

  • check_root (bool, default True) – Whether to also assert each rate resolves to currency/volume/time.

Returns:

Every dimensional-consistency finding across all reactions, in reaction order. An empty list means no inconsistency was found among the declared, parseable units (it is not a proof of correctness, since unknown units are skipped).

Return type:

list of UnitWarning