modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
472 stars 169 forks source link

SI units: slope vs. rate #4215

Closed tobolar closed 10 months ago

tobolar commented 11 months ago

There are defined units indicating change of the unit over time. They have a suffix "slope" or "rate".

The question is:

  1. Shouldn't this be unified?
  2. Shall such units even be a part of Units.SI at all? See https://github.com/modelica/ModelicaStandardLibrary/pull/4103/files#r1152856158

Slope:

Rate:

HansOlsson commented 11 months ago

To me the first answer is 'No', and they are different even if the units are similar:

With that line of thinking Current (not CurrentSlope) is a ChargeFlowRate. So derivatives have slopes and connectors may contain flow-rates.