Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to qudt 2.1.37 #98

Merged
merged 3 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump QUDT version to [2.1.37](https://github.com/qudt/qudt-public-repo/releases/tag/v2.1.37)

## [6.5.0] - 2024-03-17

### Added
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<qudt.release.version>v2.1.35</qudt.release.version>
<qudt.release.version>v2.1.37</qudt.release.version>
<spotless.format.version>1.9</spotless.format.version>
</properties>

Expand Down
25 changes: 0 additions & 25 deletions qudtlib-data-gen/src/main/resources/add-to-quantitykinds.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,3 @@
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .


quantitykind:WaterVaporDiffusionCoefficient a qudt:QuantityKind;
rdfs:isDefinedBy <http://qudt.org/2.1/vocab/quantitykind>;
qudt:hasDimensionVector <http://qudt.org/vocab/dimensionvector/A0E0L0I0M0H0T1D0>;
rdfs:label "Wasserdampfdiffusionsleitkoeffizient"@de, "Water vapour diffusion coefficient"@en;
qudt:informativeReference "https://www.wufi-wiki.com/mediawiki/index.php/Details:WaterVaporDiffusion"^^<http://www.w3.org/2001/XMLSchema#anyURI>;
qudt:plainTextDescription "The Water vapour diffusion coefficient describes how easy vapor diffusion happens in a given material." ;
qudt:applicableUnit unit:KiloGM-PER-PA-SEC-M .

quantitykind:ThermalInsulance qudt:applicableUnit unit:M2-K-PER-W .

quantitykind:Area qudt:applicableUnit unit:KiloM2 .

quantitykind:SecondMomentOfArea qudt:applicableUnit unit:CentiM4 .

quantitykind:SecondPolarMomentOfArea qudt:applicableUnit unit:CentiM4 .

quantitykind:SecondAxialMomentOfArea qudt:applicableUnit unit:CentiM4 .

quantitykind:Viscosity qudt:applicableUnit unit:DecaPOISE .

quantitykind:DynamicViscosity qudt:applicableUnit unit:DecaPOISE .

quantitykind:SpecificHeatCapacity qudt:applicableUnit unit:KiloJ-PER-KiloGM-K .
70 changes: 0 additions & 70 deletions qudtlib-data-gen/src/main/resources/add-to-units.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,73 +4,3 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix quantitykind: <http://qudt.org/vocab/quantitykind/> .
@prefix prefix: <http://qudt.org/vocab/prefix/> .


unit:KiloGM-PER-PA-SEC-M a qudt:Unit;
rdfs:isDefinedBy <http://qudt.org/2.1/vocab/unit>;
qudt:applicableSystem sou:SI;
qudt:hasQuantityKind quantitykind:WaterVaporDiffusionCoefficient;
qudt:conversionMultiplier 1.0;
qudt:hasDimensionVector <http://qudt.org/vocab/dimensionvector/A0E0L0I0M0H0T1D0>;
qudt:symbol "kg/(Pa⋅s⋅m)";
qudt:ucumCode "kg.Pa-1.s-1.m-1"^^qudt:UCUMcs;
rdfs:label "kilogramo porpascal segundo metro"@es, "chilogrammo al pascal per secondo per metro"@it,
"килограмм на паскаль-секунда-метр"@ru, "kilogramme par pascal-seconde-mètre"@fr,
"quilograma por pascal segundo metro"@pt, "kilogram na paskalosekundaometr"@pl, "kilogram per pascal saat meter"@ms,
"Kilogramm je Pascal Sekunde Meter"@de, "kilogram na pascal sekunda meter"@sl, "kilogram pe pascal-secundă-metru"@ro,
"kilogram na pascal sekunda metr"@cs, "kilogram per pascal saniye metre"@tr, "kilogram per pascal second metre"@en;
qudt:plainTextDescription "Common unit for the Water vapour diffusion coefficient" .

unit:M2-K-PER-W a qudt:Unit;
rdfs:isDefinedBy <http://qudt.org/2.1/vocab/unit>;
qudt:applicableSystem sou:SI;
qudt:hasQuantityKind quantitykind:ThermalInsulance;
qudt:conversionMultiplier 1.0;
qudt:hasDimensionVector <http://qudt.org/vocab/dimensionvector/A0E0L0I0M-1H1T3D0>;
qudt:symbol "m²⋅K/W";
qudt:ucumCode "m2.K.W-1"^^qudt:UCUMcs;
rdfs:label "metro quadrato per kelvin al watt"@it, "čtvereční metr kelvin na watt"@cs,
"square metre kelvin per watt"@en, "metrekare kelvin per watt"@tr, "metro cuadrado kelvin porvatio"@es,
"metru pătrat-kelvin pe watt"@ro, "meter persegi kelvin per watt"@ms, "Quadratmeter Kelvin je Watt"@de,
"kvadratni meter kelvin na watt"@sl, "metro quadrado kelvin por watt"@pt, "mètre carré-kelvin par watt"@fr,
"метрквадратный -кельвин на ватт"@ru, " kwadratowymetrokelwin na wat"@pl;
qudt:informativeReference "https://en.wikipedia.org/wiki/R-value_(insulation)"^^<http://www.w3.org/2001/XMLSchema#anyURI>;
qudt:plainTextDescription "Common unit for the R-Value. In the context of construction, the R-value is a measure of how well a two-dimensional barrier, such as a layer of insulation, a window or a complete wall or ceiling, resists the conductive flow of heat." .


unit:KiloM2 a qudt:Unit;
rdfs:isDefinedBy <http://qudt.org/2.1/vocab/unit>;
qudt:applicableSystem sou:SI;
qudt:hasQuantityKind quantitykind:Area;
qudt:conversionMultiplier 1000000.0;
qudt:hasDimensionVector <http://qudt.org/vocab/dimensionvector/A0E0L2I0M0H0T0D0>;
qudt:symbol "km²";
qudt:ucumCode "km2"^^qudt:UCUMcs;
rdfs:label "square Kilometre"@en;
qudt:prefix prefix:Kilo;
qudt:plainTextDescription "A unit of area equal to that of a square of sides 1000 m." .

unit:CentiM4 a qudt:Unit;
rdfs:isDefinedBy <http://qudt.org/2.1/vocab/unit>;
qudt:applicableSystem sou:SI;
qudt:hasQuantityKind quantitykind:SecondMomentOfArea, quantitykind:SecondPolarMomentOfArea,
quantitykind:SecondAxialMomentOfArea;
qudt:conversionMultiplier 0.00000001;
qudt:hasDimensionVector <http://qudt.org/vocab/dimensionvector/A0E0L4I0M0H0T0D0>;
qudt:symbol "cm⁴";
qudt:ucumCode "cm4"^^qudt:UCUMcs;
rdfs:label "quartic Centimetre"@en;
qudt:prefix prefix:Centi;
qudt:plainTextDescription "0.01-fold of the SI base unit metre with the exponent 4" .

unit:DecaPOISE a qudt:Unit;
rdfs:isDefinedBy <http://qudt.org/2.1/vocab/unit>;
qudt:applicableSystem sou:CGS-GAUSS, sou:CGS;
qudt:hasQuantityKind quantitykind:Viscosity, quantitykind:DynamicViscosity;
qudt:conversionMultiplier 1.0;
qudt:hasDimensionVector <http://qudt.org/vocab/dimensionvector/A0E0L-1I0M1H0T-1D0>;
qudt:symbol "daP";
qudt:ucumCode "daP"^^qudt:UCUMcs;
rdfs:label "Decapoise"@en, "Dekapoise"@de;
qudt:prefix prefix:Deca;
qudt:plainTextDescription "10-fold of the CGS unit of the dynamic viscosity poise" .
2 changes: 1 addition & 1 deletion qudtlib-js
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ public Optional<String> getSymbol() {
if (fu.exponent > 0) {
String symbol = fu.unit.getSymbol().orElse(null);
if (symbol == null) return Optional.empty();
sb.append(symbol).append(getExponentString(fu.exponent)).append("");
sb.append(symbol).append(getExponentString(fu.exponent)).append("·");
} else {
hasDenominator = true;
}
Expand All @@ -527,7 +527,7 @@ public Optional<String> getSymbol() {
if (symbol == null) return Optional.empty();
sbDenom.append(symbol);
sbDenom.append(getExponentString(fu.exponent));
sbDenom.append("");
sbDenom.append("·");
cnt++;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ public Object aggregateArguments(ArgumentsAccessor accessor, ParameterContext co
public void testSymbol() {
Unit u = Qudt.Units.TONNE__PER__M3;
Assertions.assertEquals("t/m³", u.getSymbol().get());
Assertions.assertEquals("J/(kgK)", J__PER__KiloGM__K.getSymbol().get());
Assertions.assertEquals("J/(kg·K)", J__PER__KiloGM__K.getSymbol().get());
}

@Test
Expand Down
Loading