libcellml icon indicating copy to clipboard operation
libcellml copied to clipboard

Analyser: allow for strict or relaxed units checking

Open agarny opened this issue 4 years ago • 1 comments

We should support two levels of units checking:

  • strict: issues found with units are considered as errors; and
  • relaxed: issues found with units are considered as warnings.

By default, strict units checking would be used, this to encourage people to create "good" models.

agarny avatar Mar 25 '21 09:03 agarny

This model has various issues with units. Yet, libCellML is fine with it. Some of the issues include:

  • dV/dt = f_a - k_e * V with units of per_ms = per_s - dimensionless * dimensionless; and
  • sin(10 * t) with units of sin(dimensionless * second).

This model could be used to test things for this issue.

agarny avatar Jan 31 '24 22:01 agarny