Skip to content

Commit 9b7abbf

Browse files
committed
Merge pull request #641 from Systems-Modeling/ST6RI-834
ST6RI-834 Library model KPAR files
2 parents 3661b25 + 58f8a0e commit 9b7abbf

45 files changed

Lines changed: 2161 additions & 2469 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

org.omg.sysml.xpect.tests/library.domain/Quantities and Units/ISQAcoustics.sysml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ standard library package ISQAcoustics {
22
doc
33
/*
44
* International System of Quantities and Units
5-
* Generated on 2022-08-07T14:44:27Z from standard ISO-80000-8:2020 "Acoustics"
6-
* see also https://www.iso.org/obp/ui/#iso:std:iso:80000:-8:ed-2:v1:en
7-
*
5+
* Generated on 2025-03-13T15:00:05Z from standard ISO-80000-8:2020 "Acoustics"
6+
* see also https://www.iso.org/standard/64978.html
7+
*
88
* Note 1: In documentation comments, AsciiMath notation (see http://asciimath.org/) is used for mathematical concepts,
99
* with Greek letters in Unicode encoding. In running text, AsciiMath is placed between backticks.
10-
* Note 2: For vector and tensor quantities currently the unit and quantity value type for their (scalar) magnitude is
11-
* defined, as well as their typical Cartesian 3d VectorMeasurementReference (i.e. coordinate system)
10+
* Note 2: For vector and tensor quantities currently the unit and quantity value type for their (scalar) magnitude is
11+
* defined, as well as their typical Cartesian 3d VectorMeasurementReference (i.e. coordinate system)
1212
* or TensorMeasurementReference.
1313
*/
1414

@@ -83,7 +83,7 @@ standard library package ISQAcoustics {
8383
}
8484

8585
/* ISO-80000-8 item 8-3 sound particle displacement */
86-
attribute def Cartesian3dSoundParticleDisplacementVector :> VectorQuantityValue {
86+
attribute def CartesianSoundParticleDisplacement3dVector :> '3dVectorQuantityValue' {
8787
doc
8888
/*
8989
* source: item 8-3 sound particle displacement
@@ -97,14 +97,13 @@ standard library package ISQAcoustics {
9797
* remarks: None.
9898
*/
9999
attribute :>> isBound = false;
100-
attribute :>> num: Real[3];
101100
attribute :>> mRef: CartesianSpatial3dCoordinateFrame[1];
102101
}
103102

104-
attribute soundParticleDisplacementVector: Cartesian3dSoundParticleDisplacementVector :> vectorQuantities;
103+
attribute cartesianSoundParticleDisplacement3dVector: CartesianSoundParticleDisplacement3dVector :> vectorQuantities;
105104

106105
/* ISO-80000-8 item 8-4 sound particle velocity */
107-
attribute def Cartesian3dSoundParticleVelocityVector :> VectorQuantityValue {
106+
attribute def CartesianSoundParticleVelocity3dVector :> '3dVectorQuantityValue' {
108107
doc
109108
/*
110109
* source: item 8-4 sound particle velocity
@@ -118,14 +117,13 @@ standard library package ISQAcoustics {
118117
* remarks: The definition is limited to small-amplitude acoustic disturbances such that the magnitude of `vec(u)` is small relative to the phase speed (ISO 80000-3) of sound.
119118
*/
120119
attribute :>> isBound = false;
121-
attribute :>> num: Real[3];
122120
attribute :>> mRef: CartesianVelocity3dCoordinateFrame[1];
123121
}
124122

125-
attribute soundParticleVelocityVector: Cartesian3dSoundParticleVelocityVector :> vectorQuantities;
123+
attribute cartesianSoundParticleVelocity3dVector: CartesianSoundParticleVelocity3dVector :> vectorQuantities;
126124

127125
/* ISO-80000-8 item 8-5 sound particle acceleration */
128-
attribute def Cartesian3dSoundParticleAccelerationVector :> VectorQuantityValue {
126+
attribute def CartesianSoundParticleAcceleration3dVector :> '3dVectorQuantityValue' {
129127
doc
130128
/*
131129
* source: item 8-5 sound particle acceleration
@@ -139,11 +137,10 @@ standard library package ISQAcoustics {
139137
* remarks: The definition is limited to small-amplitude acoustic disturbances such that the magnitude of `vec(u)` is small relative to the phase speed (ISO 80000-3) of sound.
140138
*/
141139
attribute :>> isBound = false;
142-
attribute :>> num: Real[3];
143140
attribute :>> mRef: CartesianAcceleration3dCoordinateFrame[1];
144141
}
145142

146-
attribute soundParticleAccelerationVector: Cartesian3dSoundParticleAccelerationVector :> vectorQuantities;
143+
attribute cartesianSoundParticleAcceleration3dVector: CartesianSoundParticleAcceleration3dVector :> vectorQuantities;
147144

148145
/* ISO-80000-8 item 8-6 volume velocity, volume flow rate */
149146
attribute volumeVelocity: SpeedValue :> scalarQuantities {
@@ -248,7 +245,7 @@ standard library package ISQAcoustics {
248245
attribute :>> quantityDimension { :>> quantityPowerFactors = (massPF, durationPF); }
249246
}
250247

251-
attribute def Cartesian3dSoundIntensityVector :> VectorQuantityValue {
248+
attribute def CartesianSoundIntensity3dVector :> '3dVectorQuantityValue' {
252249
doc
253250
/*
254251
* source: item 8-10 sound intensity (vector)
@@ -262,14 +259,12 @@ standard library package ISQAcoustics {
262259
* remarks: This definition can become inapplicable in situations with a high mean fluid flow.
263260
*/
264261
attribute :>> isBound = false;
265-
attribute :>> num: Real[3];
266-
attribute :>> mRef: Cartesian3dSoundIntensityCoordinateFrame[1];
262+
attribute :>> mRef: CartesianSoundIntensity3dCoordinateFrame[1];
267263
}
268264

269-
attribute soundIntensityVector: Cartesian3dSoundIntensityVector :> vectorQuantities;
265+
attribute cartesianSoundIntensity3dVector: CartesianSoundIntensity3dVector :> vectorQuantities;
270266

271-
attribute def Cartesian3dSoundIntensityCoordinateFrame :> VectorMeasurementReference {
272-
attribute :>> dimensions = 3;
267+
attribute def CartesianSoundIntensity3dCoordinateFrame :> '3dCoordinateFrame' {
273268
attribute :>> isBound = false;
274269
attribute :>> isOrthogonal = true;
275270
attribute :>> mRefs: SoundIntensityUnit[3];

org.omg.sysml.xpect.tests/library.domain/Quantities and Units/ISQAtomicNuclear.sysml

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ standard library package ISQAtomicNuclear {
22
doc
33
/*
44
* International System of Quantities and Units
5-
* Generated on 2022-08-07T14:44:27Z from standard ISO-80000-10:2019 "Atomic and nuclear physics"
6-
* see also https://www.iso.org/obp/ui/#iso:std:iso:80000:-10:ed-2:v1:en
5+
* Generated on 2025-03-13T15:00:05Z from standard ISO-80000-10:2019 "Atomic and nuclear physics"
6+
* see also https://www.iso.org/standard/64980.html
77
*
88
* Note 1: In documentation comments, AsciiMath notation (see http://asciimath.org/) is used for mathematical concepts,
99
* with Greek letters in Unicode encoding. In running text, AsciiMath is placed between backticks.
@@ -289,7 +289,7 @@ standard library package ISQAtomicNuclear {
289289
attribute :>> quantityDimension { :>> quantityPowerFactors = (lengthPF, electricCurrentPF); }
290290
}
291291

292-
attribute def Cartesian3dMagneticDipoleMomentVector :> VectorQuantityValue {
292+
attribute def CartesianMagneticDipoleMoment3dVector :> '3dVectorQuantityValue' {
293293
doc
294294
/*
295295
* source: item 10-9.1 magnetic dipole moment (vector)
@@ -303,14 +303,12 @@ standard library package ISQAtomicNuclear {
303303
* remarks: For an atom or nucleus, this energy is quantized and can be written as: `W` = `g μ_x M B` where `g` is the appropriate `g` factor (item 10-14.1 or item 10-14.2), `μ_x` is mostly the Bohr magneton or nuclear magneton (item 10-9.2 or item 10-9.3), `M` is magnetic quantum number (item 10-13.4), and `B` is magnitude of the magnetic flux density. See also IEC 80000-6.
304304
*/
305305
attribute :>> isBound = false;
306-
attribute :>> num: Real[3];
307-
attribute :>> mRef: Cartesian3dMagneticDipoleMomentCoordinateFrame[1];
306+
attribute :>> mRef: CartesianMagneticDipoleMoment3dCoordinateFrame[1];
308307
}
309308

310-
attribute magneticDipoleMomentVector: Cartesian3dMagneticDipoleMomentVector :> vectorQuantities;
309+
attribute cartesianMagneticDipoleMoment3dVector: CartesianMagneticDipoleMoment3dVector :> vectorQuantities;
311310

312-
attribute def Cartesian3dMagneticDipoleMomentCoordinateFrame :> VectorMeasurementReference {
313-
attribute :>> dimensions = 3;
311+
attribute def CartesianMagneticDipoleMoment3dCoordinateFrame :> '3dCoordinateFrame' {
314312
attribute :>> isBound = false;
315313
attribute :>> isOrthogonal = true;
316314
attribute :>> mRefs: MagneticDipoleMomentUnit[3];
@@ -375,7 +373,7 @@ standard library package ISQAtomicNuclear {
375373
attribute :>> quantityDimension { :>> quantityPowerFactors = (lengthPF, massPF, durationPF); }
376374
}
377375

378-
attribute def Cartesian3dSpinVector :> VectorQuantityValue {
376+
attribute def CartesianSpin3dVector :> '3dVectorQuantityValue' {
379377
doc
380378
/*
381379
* source: item 10-10 spin (vector)
@@ -389,14 +387,12 @@ standard library package ISQAtomicNuclear {
389387
* remarks: Spin is an additive vector quantity.
390388
*/
391389
attribute :>> isBound = false;
392-
attribute :>> num: Real[3];
393-
attribute :>> mRef: Cartesian3dSpinCoordinateFrame[1];
390+
attribute :>> mRef: CartesianSpin3dCoordinateFrame[1];
394391
}
395392

396-
attribute spinVector: Cartesian3dSpinVector :> vectorQuantities;
393+
attribute cartesianSpin3dVector: CartesianSpin3dVector :> vectorQuantities;
397394

398-
attribute def Cartesian3dSpinCoordinateFrame :> VectorMeasurementReference {
399-
attribute :>> dimensions = 3;
395+
attribute def CartesianSpin3dCoordinateFrame :> '3dCoordinateFrame' {
400396
attribute :>> isBound = false;
401397
attribute :>> isOrthogonal = true;
402398
attribute :>> mRefs: SpinUnit[3];
@@ -429,7 +425,7 @@ standard library package ISQAtomicNuclear {
429425
attribute :>> quantityDimension { :>> quantityPowerFactors = (lengthPF, massPF, durationPF); }
430426
}
431427

432-
attribute def Cartesian3dTotalAngularMomentumVector :> VectorQuantityValue {
428+
attribute def CartesianTotalAngularMomentum3dVector :> '3dVectorQuantityValue' {
433429
doc
434430
/*
435431
* source: item 10-11 total angular momentum (vector)
@@ -443,14 +439,12 @@ standard library package ISQAtomicNuclear {
443439
* remarks: In atomic and nuclear physics, orbital angular momentum is usually denoted by `vec(l)` or `vec(L)`. The magnitude of `vec(J)` is quantized so that: `J^2 = ℏ^2 j (j+1)` where `j` is the total angular momentum quantum number (item 10-13.6). Total angular momentum and magnetic dipole moment have the same direction. `j` is not the magnitude of the total angular momentum `vec(J)` but its projection onto the quantization axis, divided by `ℏ`.
444440
*/
445441
attribute :>> isBound = false;
446-
attribute :>> num: Real[3];
447-
attribute :>> mRef: Cartesian3dTotalAngularMomentumCoordinateFrame[1];
442+
attribute :>> mRef: CartesianTotalAngularMomentum3dCoordinateFrame[1];
448443
}
449444

450-
attribute totalAngularMomentumVector: Cartesian3dTotalAngularMomentumVector :> vectorQuantities;
445+
attribute cartesianTotalAngularMomentum3dVector: CartesianTotalAngularMomentum3dVector :> vectorQuantities;
451446

452-
attribute def Cartesian3dTotalAngularMomentumCoordinateFrame :> VectorMeasurementReference {
453-
attribute :>> dimensions = 3;
447+
attribute def CartesianTotalAngularMomentum3dCoordinateFrame :> '3dCoordinateFrame' {
454448
attribute :>> isBound = false;
455449
attribute :>> isOrthogonal = true;
456450
attribute :>> mRefs: TotalAngularMomentumUnit[3];
@@ -1583,7 +1577,7 @@ standard library package ISQAtomicNuclear {
15831577
attribute :>> quantityDimension { :>> quantityPowerFactors = (lengthPF, durationPF); }
15841578
}
15851579

1586-
attribute def Cartesian3dParticleCurrentDensityVector :> VectorQuantityValue {
1580+
attribute def CartesianParticleCurrentDensity3dVector :> '3dVectorQuantityValue' {
15871581
doc
15881582
/*
15891583
* source: item 10-48 particle current density (vector)
@@ -1597,14 +1591,12 @@ standard library package ISQAtomicNuclear {
15971591
* remarks: Usually the word "particle" is replaced by the name of a specific particle, for example proton current. Symbol `vec(S)` is recommended when there is a possibility of confusion with the symbol `vec(J)` for electric current density. For neutron current, the symbol `vec(J)` is generally used. The distribution functions expressed in terms of speed and energy, `vec(J_v)` and `vec(J_E)`, are related to `vec(J)` by: `vec(J) = int vec(J_v) dv = int vec(J_E) dE`. The directional distribution of the particle fluence rate is also denoted as particle radiance.
15981592
*/
15991593
attribute :>> isBound = false;
1600-
attribute :>> num: Real[3];
1601-
attribute :>> mRef: Cartesian3dParticleCurrentDensityCoordinateFrame[1];
1594+
attribute :>> mRef: CartesianParticleCurrentDensity3dCoordinateFrame[1];
16021595
}
16031596

1604-
attribute particleCurrentDensityVector: Cartesian3dParticleCurrentDensityVector :> vectorQuantities;
1597+
attribute cartesianParticleCurrentDensity3dVector: CartesianParticleCurrentDensity3dVector :> vectorQuantities;
16051598

1606-
attribute def Cartesian3dParticleCurrentDensityCoordinateFrame :> VectorMeasurementReference {
1607-
attribute :>> dimensions = 3;
1599+
attribute def CartesianParticleCurrentDensity3dCoordinateFrame :> '3dCoordinateFrame' {
16081600
attribute :>> isBound = false;
16091601
attribute :>> isOrthogonal = true;
16101602
attribute :>> mRefs: ParticleCurrentDensityUnit[3];

org.omg.sysml.xpect.tests/library.domain/Quantities and Units/ISQBase.sysml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ standard library package ISQBase {
22
doc
33
/*
44
* International System of Quantities and Units
5-
* Generated on 2022-08-07T14:44:27Z from standard ISO/IEC 80000
5+
* Generated on 2025-03-13T15:00:05Z from standard ISO/IEC 80000
66
*
77
* Note 1: In documentation comments, AsciiMath notation (see http://asciimath.org/) is used for mathematical concepts,
88
* with Greek letters in Unicode encoding. In running text, AsciiMath is placed between backticks.

org.omg.sysml.xpect.tests/library.domain/Quantities and Units/ISQCharacteristicNumbers.sysml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ standard library package ISQCharacteristicNumbers {
22
doc
33
/*
44
* International System of Quantities and Units
5-
* Generated on 2022-08-07T19:40:39Z from standard ISO-80000-11:2019 "Characteristic numbers"
6-
* see also https://www.iso.org/obp/ui/#iso:std:iso:80000:-11:ed-2:v1:en
5+
* Generated on 2025-03-13T15:00:05Z from standard ISO-80000-11:2019 "Characteristic numbers"
6+
* see also https://www.iso.org/standard/64982.html
77
*
88
* Note 1: In documentation comments, AsciiMath notation (see http://asciimath.org/) is used for mathematical concepts,
99
* with Greek letters in Unicode encoding. In running text, AsciiMath is placed between backticks.

org.omg.sysml.xpect.tests/library.domain/Quantities and Units/ISQChemistryMolecular.sysml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ standard library package ISQChemistryMolecular {
22
doc
33
/*
44
* International System of Quantities and Units
5-
* Generated on 2022-08-07T14:44:27Z from standard ISO-80000-9:2019 "Physical chemistry and molecular physics"
6-
* see also https://www.iso.org/obp/ui/#iso:std:iso:80000:-9:ed-2:v1:en
5+
* Generated on 2025-03-13T15:00:05Z from standard ISO-80000-9:2019 "Physical chemistry and molecular physics"
6+
* see also https://www.iso.org/standard/64979.html
77
*
88
* Note 1: In documentation comments, AsciiMath notation (see http://asciimath.org/) is used for mathematical concepts,
99
* with Greek letters in Unicode encoding. In running text, AsciiMath is placed between backticks.
@@ -1333,7 +1333,7 @@ standard library package ISQChemistryMolecular {
13331333
* application domain: generic
13341334
* name: SpecificOpticalRotatoryPower
13351335
* quantity dimension: L^2*M^-1
1336-
* measurement unit(s): rad*m^2/kg^1, kg^-1*m^2
1336+
* measurement unit(s): rad*m^2/kg, kg^-1*m^2
13371337
* tensor order: 0
13381338
* definition: angle `α` of optical rotation (item 9-47), multiplied by the quotient of cross-sectional area `A` (ISO 80000-3) of a linearly polarized light beam and the mass `m` (ISO 80000-4) of the optically active component in the path of the beam: `α_m = (α A)/m`
13391339
* remarks: None.

0 commit comments

Comments
 (0)