diff --git a/ParameterCatalogs.html b/ParameterCatalogs.html index a9db118023a7e592e70ff2b3724edc52d225dac8..e13e5883cb1860946f7567e2e4710ea8dc1cdb30 100644 --- a/ParameterCatalogs.html +++ b/ParameterCatalogs.html @@ -1237,7 +1237,7 @@ Instead of artificial example classes like Foo and Bar it show
As mentioned earlier, parameter catalogs should be able to represent quantities, not just bare numbers. -Java provides an extensive framework to deal with quantities and their units defined in Java Specification Request (JSR) 385. +See Unit of measurement libraries, their popularity and suitability for a systematic account of open source solutions in the this area.
+Java provides an extensive framework to deal with quantities and their units defined in Java Specification Request (JSR) 385. The reference implementation for this framework is Indriya. Demos of its usage can be found at https://unitsofmeasurement.github.io/uom-demos/.
The symbols for defining units follow SI and other standards, including decimal prefixes like m
for Milli or G
for Giga as well as derived units, that is: mV
, GV
or kW·h/m³
are all valid unit definitions. This is all documented well in the resources mentioned at the top of this section, but for convenience, a table with valid units, including some specific units for urban simulation, is compiled in UnitsExamples.md.
If a unit symbol cannot be interpreted, this error is not already detected while generating and compiling code from model, but not before runt time when the application tries to create the default value. In that case, you will see an error message like this:
+If a unit symbol cannot be interpreted, this error is not already detected while generating and compiling code from model, but not before run time when the application tries to create the default value. In that case, you will see an error message like this:
If no generator model is available for selection, press button Add…
to add it first (this only works if QuantityLong
or QuantityDouble
were used at least once in the Ecore model).
Window →