Conversation
…e rel 2024-12 library packages for diff'ing
…ine_release-2024-12 for increased clarity
|
In my first attempt, it failed with: So I think we should explain that we need to install After that, I think it worked correctly. |
|
Just for your reference, these are the meaningful diffs after I executed: I think it comes from the order of |
|
BTW, is there any official or formal procedure to incorporate SI_snippet.sysml into SI.sysml? Maybe we can automate it by preparing SI.sysml template. |
|
Thanks @himi for your review. I agree with your comments and will address them tomorrow my morning. |
|
@himi Regarding your comment:
The reason that the order in which I have another refactoring prepared for the RTF to clean up the specification of the predefined SI units by moving them to the "Units" worksheet in the "iso_iec_80000_quantities_and_units.xlsx" Excel workbook. It does not change the content of the generated libraries but improved the tool's maintainability. |
…some additional minor corrections.
|
@himi Regarding your comment:
There is currently only an informal procedure to manually paste the whole |
|
@himi @seidewitz I have just added a commit with an updated |
seidewitz
left a comment
There was a problem hiding this comment.
It also runs successfully in my Mac environment, after the installation of openpyxl.
This PR provides a new
quantities_lib_generatortool undertool-support.This tool is able to reproduce the SysML release 2024-12 ISQ library packages with a few differences that are all due to minor naming mistakes in the published release 2024-12 libraries and also three editorial issues.
In particular the naming of coordinate frames in release 2024-12 was inconsistent:
Cartesian3dXxxVectorinstead ofCartesianXxx3dVector, The latter is the correct naming convention that naturally fits with the quantity taxonomy. More specialized concepts prepend qualifiers to the name, e.g., a specialization chain fromVectorQuantityValueto'3dVectorQuantityValue'toPosition3dVectortoCartesianPosition3dVectororCylindricalPosition3dVector.VectorQuantityValuewas used in many places instead of the correct'3dVectorQuantityValue'. Same forVectorMeasurementReferenceinstead of'3dCoordinateFrame'.Also, the following editorial issues were found and fixed:
ISQCondensedMatter.sysmlItem 12-19 Hall coefficient: replaced erroneous unit m^3/Cm^3s^-1A^-1 with correct m^3/C, m^3s^-1*A^-1 (in the Excel workbookdata/iso-iec-80000/iso_iec_80000_quantities_and_units.xlsx). As a consequence, the declaration ofattribute def HallCoefficientUnitwas changed.private import ScalarValues::String;. It was not generated, which is in line with all other ISQ libraries.doccontent of the libraries.A detailed review of all differences between the ISQ library packages in folder
libs_baseline_release-2024-12and the auto-generated library packages in folderlibs_generatedhas been performed. No other differences than those documented above have been found.There are currently no changes to the generation of
SIandUSCustomaryUnits.