sysmledgraph 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -0
- package/dist/bin/cli.d.ts +6 -0
- package/dist/bin/cli.d.ts.map +1 -0
- package/dist/bin/cli.js +61 -0
- package/dist/bin/cli.js.map +1 -0
- package/dist/mcp/index.d.ts +3 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +8 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/src/cli/commands.d.ts +22 -0
- package/dist/src/cli/commands.d.ts.map +1 -0
- package/dist/src/cli/commands.js +87 -0
- package/dist/src/cli/commands.js.map +1 -0
- package/dist/src/discovery/find-sysml.d.ts +16 -0
- package/dist/src/discovery/find-sysml.d.ts.map +1 -0
- package/dist/src/discovery/find-sysml.js +30 -0
- package/dist/src/discovery/find-sysml.js.map +1 -0
- package/dist/src/discovery/load-order.d.ts +11 -0
- package/dist/src/discovery/load-order.d.ts.map +1 -0
- package/dist/src/discovery/load-order.js +85 -0
- package/dist/src/discovery/load-order.js.map +1 -0
- package/dist/src/graph/connection.d.ts +6 -0
- package/dist/src/graph/connection.d.ts.map +1 -0
- package/dist/src/graph/connection.js +7 -0
- package/dist/src/graph/connection.js.map +1 -0
- package/dist/src/graph/graph-store.d.ts +37 -0
- package/dist/src/graph/graph-store.d.ts.map +1 -0
- package/dist/src/graph/graph-store.js +108 -0
- package/dist/src/graph/graph-store.js.map +1 -0
- package/dist/src/graph/schema.d.ts +13 -0
- package/dist/src/graph/schema.d.ts.map +1 -0
- package/dist/src/graph/schema.js +21 -0
- package/dist/src/graph/schema.js.map +1 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +14 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/indexer/indexer.d.ts +20 -0
- package/dist/src/indexer/indexer.d.ts.map +1 -0
- package/dist/src/indexer/indexer.js +56 -0
- package/dist/src/indexer/indexer.js.map +1 -0
- package/dist/src/indexer/pipeline-phases.d.ts +8 -0
- package/dist/src/indexer/pipeline-phases.d.ts.map +1 -0
- package/dist/src/indexer/pipeline-phases.js +14 -0
- package/dist/src/indexer/pipeline-phases.js.map +1 -0
- package/dist/src/mcp/resources/context.d.ts +6 -0
- package/dist/src/mcp/resources/context.d.ts.map +1 -0
- package/dist/src/mcp/resources/context.js +45 -0
- package/dist/src/mcp/resources/context.js.map +1 -0
- package/dist/src/mcp/resources/schema.d.ts +6 -0
- package/dist/src/mcp/resources/schema.d.ts.map +1 -0
- package/dist/src/mcp/resources/schema.js +14 -0
- package/dist/src/mcp/resources/schema.js.map +1 -0
- package/dist/src/mcp/server.d.ts +8 -0
- package/dist/src/mcp/server.d.ts.map +1 -0
- package/dist/src/mcp/server.js +175 -0
- package/dist/src/mcp/server.js.map +1 -0
- package/dist/src/mcp/tools/clean-index.d.ts +12 -0
- package/dist/src/mcp/tools/clean-index.d.ts.map +1 -0
- package/dist/src/mcp/tools/clean-index.js +22 -0
- package/dist/src/mcp/tools/clean-index.js.map +1 -0
- package/dist/src/mcp/tools/context.d.ts +14 -0
- package/dist/src/mcp/tools/context.d.ts.map +1 -0
- package/dist/src/mcp/tools/context.js +51 -0
- package/dist/src/mcp/tools/context.js.map +1 -0
- package/dist/src/mcp/tools/cypher.d.ts +13 -0
- package/dist/src/mcp/tools/cypher.d.ts.map +1 -0
- package/dist/src/mcp/tools/cypher.js +25 -0
- package/dist/src/mcp/tools/cypher.js.map +1 -0
- package/dist/src/mcp/tools/generate-map.d.ts +13 -0
- package/dist/src/mcp/tools/generate-map.d.ts.map +1 -0
- package/dist/src/mcp/tools/generate-map.js +96 -0
- package/dist/src/mcp/tools/generate-map.js.map +1 -0
- package/dist/src/mcp/tools/impact.d.ts +14 -0
- package/dist/src/mcp/tools/impact.d.ts.map +1 -0
- package/dist/src/mcp/tools/impact.js +47 -0
- package/dist/src/mcp/tools/impact.js.map +1 -0
- package/dist/src/mcp/tools/index-db-graph.d.ts +14 -0
- package/dist/src/mcp/tools/index-db-graph.d.ts.map +1 -0
- package/dist/src/mcp/tools/index-db-graph.js +32 -0
- package/dist/src/mcp/tools/index-db-graph.js.map +1 -0
- package/dist/src/mcp/tools/list-indexed.d.ts +9 -0
- package/dist/src/mcp/tools/list-indexed.d.ts.map +1 -0
- package/dist/src/mcp/tools/list-indexed.js +14 -0
- package/dist/src/mcp/tools/list-indexed.js.map +1 -0
- package/dist/src/mcp/tools/query.d.ts +14 -0
- package/dist/src/mcp/tools/query.d.ts.map +1 -0
- package/dist/src/mcp/tools/query.js +47 -0
- package/dist/src/mcp/tools/query.js.map +1 -0
- package/dist/src/mcp/tools/rename.d.ts +19 -0
- package/dist/src/mcp/tools/rename.d.ts.map +1 -0
- package/dist/src/mcp/tools/rename.js +46 -0
- package/dist/src/mcp/tools/rename.js.map +1 -0
- package/dist/src/parser/lsp-client.d.ts +52 -0
- package/dist/src/parser/lsp-client.d.ts.map +1 -0
- package/dist/src/parser/lsp-client.js +230 -0
- package/dist/src/parser/lsp-client.js.map +1 -0
- package/dist/src/parser/lsp-server-path.d.ts +10 -0
- package/dist/src/parser/lsp-server-path.d.ts.map +1 -0
- package/dist/src/parser/lsp-server-path.js +29 -0
- package/dist/src/parser/lsp-server-path.js.map +1 -0
- package/dist/src/parser/symbols.d.ts +13 -0
- package/dist/src/parser/symbols.d.ts.map +1 -0
- package/dist/src/parser/symbols.js +150 -0
- package/dist/src/parser/symbols.js.map +1 -0
- package/dist/src/parser/sysml-mcp-client.d.ts +109 -0
- package/dist/src/parser/sysml-mcp-client.d.ts.map +1 -0
- package/dist/src/parser/sysml-mcp-client.js +185 -0
- package/dist/src/parser/sysml-mcp-client.js.map +1 -0
- package/dist/src/storage/clean.d.ts +15 -0
- package/dist/src/storage/clean.d.ts.map +1 -0
- package/dist/src/storage/clean.js +44 -0
- package/dist/src/storage/clean.js.map +1 -0
- package/dist/src/storage/list.d.ts +9 -0
- package/dist/src/storage/list.d.ts.map +1 -0
- package/dist/src/storage/list.js +12 -0
- package/dist/src/storage/list.js.map +1 -0
- package/dist/src/storage/location.d.ts +22 -0
- package/dist/src/storage/location.d.ts.map +1 -0
- package/dist/src/storage/location.js +36 -0
- package/dist/src/storage/location.js.map +1 -0
- package/dist/src/storage/registry.d.ts +14 -0
- package/dist/src/storage/registry.d.ts.map +1 -0
- package/dist/src/storage/registry.js +59 -0
- package/dist/src/storage/registry.js.map +1 -0
- package/dist/src/symbol-to-graph/mapping.d.ts +17 -0
- package/dist/src/symbol-to-graph/mapping.d.ts.map +1 -0
- package/dist/src/symbol-to-graph/mapping.js +102 -0
- package/dist/src/symbol-to-graph/mapping.js.map +1 -0
- package/dist/src/types.d.ts +40 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +35 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/worker/client.d.ts +21 -0
- package/dist/src/worker/client.d.ts.map +1 -0
- package/dist/src/worker/client.js +126 -0
- package/dist/src/worker/client.js.map +1 -0
- package/dist/src/worker/gateway.d.ts +79 -0
- package/dist/src/worker/gateway.d.ts.map +1 -0
- package/dist/src/worker/gateway.js +93 -0
- package/dist/src/worker/gateway.js.map +1 -0
- package/dist/src/worker/graph-worker.d.ts +7 -0
- package/dist/src/worker/graph-worker.d.ts.map +1 -0
- package/dist/src/worker/graph-worker.js +91 -0
- package/dist/src/worker/graph-worker.js.map +1 -0
- package/dist/src/worker/protocol.d.ts +21 -0
- package/dist/src/worker/protocol.d.ts.map +1 -0
- package/dist/src/worker/protocol.js +9 -0
- package/dist/src/worker/protocol.js.map +1 -0
- package/docs/INSTALL.md +16 -0
- package/docs/MCP_CLIENT_TEMPLATE_ANALYSIS.md +196 -0
- package/docs/MCP_INTERACTION_GUIDE.md +201 -0
- package/docs/MCP_SERVER_FOR_CURSOR.md +124 -0
- package/docs/PLAN.md +58 -0
- package/docs/PLAN_INDEPENDENT_LSP.md +145 -0
- package/docs/SKILL_DESIGN_PATTERNS.md +305 -0
- package/docs/TOOLS.md +317 -0
- package/lsp/README.md +41 -0
- package/lsp/node_modules/.bin/sysml-mcp +12 -0
- package/lsp/node_modules/.bin/sysml-mcp.cmd +9 -0
- package/lsp/node_modules/.bin/sysml-mcp.ps1 +16 -0
- package/lsp/node_modules/.package-lock.json +22 -0
- package/lsp/node_modules/sysml-v2-lsp/CHANGELOG.md +188 -0
- package/lsp/node_modules/sysml-v2-lsp/LICENSE +21 -0
- package/lsp/node_modules/sysml-v2-lsp/README.md +172 -0
- package/lsp/node_modules/sysml-v2-lsp/dist/server/mcpServer.js +167 -0
- package/lsp/node_modules/sysml-v2-lsp/dist/server/server.js +142 -0
- package/lsp/node_modules/sysml-v2-lsp/index.cjs +23 -0
- package/lsp/node_modules/sysml-v2-lsp/package.json +131 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/.project +17 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/.settings/org.eclipse.jdt.core.prefs +11 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/.meta.json +10 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/.project.json +27 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/AnalysisTooling.sysml +34 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/SampledFunctions.sysml +119 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/StateSpaceRepresentation.sysml +143 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/TradeStudies.sysml +171 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Cause and Effect/.meta.json +8 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Cause and Effect/.project.json +23 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Cause and Effect/CausationConnections.sysml +83 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Cause and Effect/CauseAndEffect.sysml +81 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Geometry/.meta.json +8 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Geometry/.project.json +27 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Geometry/ShapeItems.sysml +899 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Geometry/SpatialItems.sysml +168 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/.meta.json +10 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/.project.json +19 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/ImageMetadata.sysml +78 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/ModelingMetadata.sysml +143 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/ParametersOfInterestMetadata.sysml +39 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/RiskMetadata.sysml +100 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/.meta.json +29 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/.project.json +23 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQ.sysml +42 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQAcoustics.sysml +439 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQAtomicNuclear.sysml +2726 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQBase.sysml +206 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQCharacteristicNumbers.sysml +1991 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQChemistryMolecular.sysml +1353 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQCondensedMatter.sysml +1223 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQElectromagnetism.sysml +2333 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQInformation.sysml +958 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQLight.sysml +1537 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQMechanics.sysml +1564 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQSpaceTime.sysml +1169 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQThermodynamics.sysml +1256 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/MeasurementRefCalculations.sysml +30 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/MeasurementReferences.sysml +526 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/Quantities.sysml +107 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/QuantityCalculations.sysml +70 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/SI.sysml +378 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/SIPrefixes.sysml +48 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/TensorCalculations.sysml +50 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/Time.sysml +274 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/USCustomaryUnits.sysml +260 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/VectorCalculations.sysml +62 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Requirement Derivation/.meta.json +8 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Requirement Derivation/.project.json +19 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Requirement Derivation/DerivationConnections.sysml +63 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Requirement Derivation/RequirementDerivation.sysml +39 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/.meta.json +9 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/.project.json +11 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/Collections.kerml +147 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/ScalarValues.kerml +23 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/VectorValues.kerml +64 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/.meta.json +23 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/.project.json +15 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/BaseFunctions.kerml +80 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/BooleanFunctions.kerml +22 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/CollectionFunctions.kerml +68 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/ComplexFunctions.kerml +47 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/ControlFunctions.kerml +117 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/DataFunctions.kerml +43 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/IntegerFunctions.kerml +43 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/NaturalFunctions.kerml +27 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/NumericalFunctions.kerml +43 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/OccurrenceFunctions.kerml +154 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/RationalFunctions.kerml +49 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/RealFunctions.kerml +56 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/ScalarFunctions.kerml +33 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/SequenceFunctions.kerml +111 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/StringFunctions.kerml +25 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/TrigFunctions.kerml +35 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/VectorFunctions.kerml +273 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/.meta.json +22 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/.project.json +15 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Base.kerml +95 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Clocks.kerml +156 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/ControlPerformances.kerml +135 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/FeatureReferencingPerformances.kerml +190 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/KerML.kerml +483 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Links.kerml +67 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Metaobjects.kerml +58 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Objects.kerml +212 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Observation.kerml +161 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Occurrences.kerml +992 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Performances.kerml +293 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/SpatialFrames.kerml +197 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/StatePerformances.kerml +145 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Transfers.kerml +281 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/TransitionPerformances.kerml +66 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Triggers.kerml +188 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/.meta.json +27 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/.project.json +19 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Actions.sysml +552 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Allocations.sysml +29 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/AnalysisCases.sysml +38 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Attributes.sysml +25 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Calculations.sysml +37 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Cases.sysml +71 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Connections.sysml +60 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Constraints.sysml +44 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Flows.sysml +126 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Interfaces.sysml +89 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Items.sysml +153 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Metadata.sysml +32 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Parts.sysml +81 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Ports.sysml +54 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Requirements.sysml +194 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/StandardViewDefinitions.sysml +123 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/States.sysml +103 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/SysML.sysml +539 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/UseCases.sysml +57 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/VerificationCases.sysml +103 -0
- package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Views.sysml +164 -0
- package/lsp/package-lock.json +30 -0
- package/lsp/package.json +15 -0
- package/lsp/test-server.mjs +120 -0
- package/package.json +61 -0
- package/scripts/access-sysml-mcp.mjs +45 -0
- package/scripts/check-sysml-v2-lsp-version.mjs +39 -0
- package/scripts/clean.mjs +14 -0
- package/scripts/compare-mcp-vs-lsp-symbols.mjs +76 -0
- package/scripts/debug-index.mjs +23 -0
- package/scripts/debug-lsp-symbols.mjs +62 -0
- package/scripts/deploy-skills.mjs +43 -0
- package/scripts/example-sysml-mcp.mjs +27 -0
- package/scripts/export-graph.mjs +80 -0
- package/scripts/generate-map.mjs +110 -0
- package/scripts/index-and-map.mjs +43 -0
- package/scripts/index-and-query.mjs +39 -0
- package/scripts/query-one.mjs +34 -0
- package/scripts/setup-lsp.mjs +36 -0
- package/scripts/test-lsp.mjs +55 -0
- package/scripts/test-mcp-debug.mjs +32 -0
- package/scripts/test-mcp-sysml.mjs +75 -0
- package/scripts/test-mcp-tools.mjs +185 -0
- package/scripts/test-sysml-mcp-from-node_modules.mjs +56 -0
- package/scripts/validate-sysml-file.mjs +69 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
standard library package QuantityCalculations {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package package defines calculations for the construction of and computations on ScalarQuantityValues.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
private import ScalarValues::*;
|
|
8
|
+
private import Quantities::ScalarQuantityValue;
|
|
9
|
+
private import MeasurementReferences::ScalarMeasurementReference;
|
|
10
|
+
private import MeasurementReferences::DimensionOneValue;
|
|
11
|
+
|
|
12
|
+
calc def '[' specializes BaseFunctions::'[' {
|
|
13
|
+
in num: Number[1];
|
|
14
|
+
in mRef: ScalarMeasurementReference[1];
|
|
15
|
+
return quantity : ScalarQuantityValue[1];
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
calc def isZero specializes NumericalFunctions::isZero {
|
|
19
|
+
in x: ScalarQuantityValue[1];
|
|
20
|
+
return : Boolean[1] = NumericalFunctions::isZero(x.num);
|
|
21
|
+
}
|
|
22
|
+
calc def isUnit specializes NumericalFunctions::isUnit {
|
|
23
|
+
in x: ScalarQuantityValue[1];
|
|
24
|
+
return : Boolean[1] = NumericalFunctions::isUnit(x.num);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
calc def abs specializes NumericalFunctions::abs { in x: ScalarQuantityValue[1]; return : ScalarQuantityValue[1]; }
|
|
28
|
+
|
|
29
|
+
calc def '+' specializes NumericalFunctions::'+' { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[0..1]; return : ScalarQuantityValue; }
|
|
30
|
+
calc def '-' specializes NumericalFunctions::'-' { in x: ScalarQuantityValue; in y: ScalarQuantityValue[0..1]; return : ScalarQuantityValue[1]; }
|
|
31
|
+
calc def '*' specializes NumericalFunctions::'*' { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : ScalarQuantityValue[1]; }
|
|
32
|
+
calc def '/' specializes NumericalFunctions::'/' { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : ScalarQuantityValue[1]; }
|
|
33
|
+
calc def '**' specializes NumericalFunctions::'**' { in x: ScalarQuantityValue[1]; in y: Real[1]; return : ScalarQuantityValue[1]; }
|
|
34
|
+
calc def '^' specializes NumericalFunctions::'^' { in x: ScalarQuantityValue[1]; in y: Real[1]; return : ScalarQuantityValue[1]; }
|
|
35
|
+
|
|
36
|
+
calc def '<' specializes NumericalFunctions::'<' { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : Boolean[1]; }
|
|
37
|
+
calc def '>' specializes NumericalFunctions::'>' { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : Boolean[1]; }
|
|
38
|
+
calc def '<=' specializes NumericalFunctions::'<=' { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : Boolean[1]; }
|
|
39
|
+
calc def '>=' specializes NumericalFunctions::'>=' { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : Boolean[1]; }
|
|
40
|
+
|
|
41
|
+
calc def max specializes NumericalFunctions::max { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : ScalarQuantityValue[1]; }
|
|
42
|
+
calc def min specializes NumericalFunctions::min { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : ScalarQuantityValue[1]; }
|
|
43
|
+
|
|
44
|
+
calc def '==' specializes DataFunctions::'==' { in x: ScalarQuantityValue[1]; in y: ScalarQuantityValue[1]; return : Boolean[1]; }
|
|
45
|
+
|
|
46
|
+
calc def sqrt{ in x: ScalarQuantityValue[1]; return : ScalarQuantityValue[1]; }
|
|
47
|
+
|
|
48
|
+
calc def floor { in x: ScalarQuantityValue[1]; return : ScalarQuantityValue[1]; }
|
|
49
|
+
calc def round { in x: ScalarQuantityValue[1]; return : ScalarQuantityValue[1]; }
|
|
50
|
+
|
|
51
|
+
calc def ToString specializes BaseFunctions::ToString { in x: ScalarQuantityValue[1]; return : String; }
|
|
52
|
+
calc def ToInteger { in x: ScalarQuantityValue[1]; return : Integer[1]; }
|
|
53
|
+
calc def ToRational { in x: ScalarQuantityValue[1]; return : Rational[1]; }
|
|
54
|
+
calc def ToReal { in x: ScalarQuantityValue[1]; return : Real[1]; }
|
|
55
|
+
calc def ToDimensionOneValue { in x: Real[1]; return : DimensionOneValue[1]; }
|
|
56
|
+
|
|
57
|
+
calc def sum specializes NumericalFunctions::sum { in collection: ScalarQuantityValue[0..*];
|
|
58
|
+
private attribute zero : ScalarQuantityValue[1];
|
|
59
|
+
assert constraint { isZero(zero) }
|
|
60
|
+
return : ScalarQuantityValue = NumericalFunctions::sum0(collection, zero);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
calc def product specializes NumericalFunctions::product { in collection: ScalarQuantityValue[0..*];
|
|
64
|
+
private attribute one : ScalarQuantityValue[1];
|
|
65
|
+
assert constraint { isUnit(one) }
|
|
66
|
+
return : ScalarQuantityValue = NumericalFunctions::product1(collection, one);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
calc def ConvertQuantity{ in x: ScalarQuantityValue[1]; in targetMRef: ScalarMeasurementReference[1]; return : ScalarQuantityValue[1]; }
|
|
70
|
+
}
|
package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/SI.sysml
ADDED
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
standard library package SI {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* International System of (Measurement) Units -- Système International d'Unités (SI), as defined in ISO/IEC 80000
|
|
5
|
+
*
|
|
6
|
+
* Note 1: In accordance with ISO/IEC 80000 en-GB spelling is used for the names and definitions of the units.
|
|
7
|
+
* Note 2: This is a representative but not yet complete list of measurement units.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
private import MeasurementReferences::*;
|
|
11
|
+
public import ISQ::*;
|
|
12
|
+
public import SIPrefixes::*;
|
|
13
|
+
|
|
14
|
+
/*
|
|
15
|
+
* SI simple unit needed in support of creation of the base units
|
|
16
|
+
*/
|
|
17
|
+
attribute <g> gram : MassUnit;
|
|
18
|
+
|
|
19
|
+
/*
|
|
20
|
+
* SI base units
|
|
21
|
+
*/
|
|
22
|
+
attribute <m> metre : LengthUnit;
|
|
23
|
+
attribute <kg> kilogram : MassUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = g; } }
|
|
24
|
+
attribute <s> second : DurationUnit;
|
|
25
|
+
attribute <A> ampere : ElectricCurrentUnit;
|
|
26
|
+
attribute <K> kelvin : ThermodynamicTemperatureUnit, TemperatureDifferenceUnit {
|
|
27
|
+
attribute temperatureOfWaterAtTriplePointInK: DefinitionalQuantityValue {
|
|
28
|
+
:>> num = 27316/100;
|
|
29
|
+
:>> definition = "temperature in kelvin of pure water at the triple point";
|
|
30
|
+
}
|
|
31
|
+
attribute :>> definitionalQuantityValues = temperatureOfWaterAtTriplePointInK;
|
|
32
|
+
attribute :>> ThermodynamicTemperatureUnit::quantityDimension, TemperatureDifferenceUnit::quantityDimension {
|
|
33
|
+
:>> ThermodynamicTemperatureUnit::quantityDimension::quantityPowerFactors, TemperatureDifferenceUnit::quantityDimension::quantityPowerFactors;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
attribute <mol> mole : AmountOfSubstanceUnit;
|
|
37
|
+
attribute <cd> candela : LuminousIntensityUnit;
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
* Declare the SI system of units with its explicit base units
|
|
41
|
+
* and its associated system of quantities, the ISQ.
|
|
42
|
+
*/
|
|
43
|
+
attribute <si> 'ISO/IEC 80000 International System of Units' : SystemOfUnits {
|
|
44
|
+
:>> systemOfQuantities = isq;
|
|
45
|
+
:>> baseUnits = (m, kg, s, A, K, mol, cd);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/*
|
|
49
|
+
* Units with special names
|
|
50
|
+
*/
|
|
51
|
+
attribute <B> byte : StorageCapacityUnit = one;
|
|
52
|
+
attribute <Bd> baud : ModulationRateUnit = s^-1;
|
|
53
|
+
attribute <bit> bit : StorageCapacityUnit = one;
|
|
54
|
+
attribute <Bq> becquerel : NuclearActivityUnit = s^-1;
|
|
55
|
+
attribute <C> coulomb : ElectricChargeUnit = A*s;
|
|
56
|
+
attribute <dB> decibel : SoundPressureLevelUnit = one;
|
|
57
|
+
attribute <dec> decade : LogarithmicFrequencyRangeUnit = one;
|
|
58
|
+
attribute <E> erlang : TrafficIntensityUnit = one;
|
|
59
|
+
attribute <F> farad : CapacitanceUnit = C/V;
|
|
60
|
+
attribute <Gy> gray : AbsorbedDoseUnit = J/kg;
|
|
61
|
+
attribute <H> henry : PermeanceUnit, InductanceUnit = Wb/A {
|
|
62
|
+
attribute :>> PermeanceUnit::quantityDimension, InductanceUnit::quantityDimension {
|
|
63
|
+
:>> PermeanceUnit::quantityDimension::quantityPowerFactors, InductanceUnit::quantityDimension::quantityPowerFactors;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
attribute <Hart> hartley : InformationContentUnit = one;
|
|
67
|
+
attribute <Hz> hertz : FrequencyUnit = s^-1;
|
|
68
|
+
attribute <J> joule : EnergyUnit = N*m;
|
|
69
|
+
//attribute <kat> katal : CatalyticActivityUnit = mol/s;
|
|
70
|
+
attribute <lm> lumen : LuminousFluxUnit = cd*sr;
|
|
71
|
+
attribute <lx> lux : IlluminanceUnit = lm/m^2;
|
|
72
|
+
attribute <N> newton : ForceUnit = kg*m/s^2;
|
|
73
|
+
attribute <nat> 'natural unit of information' : InformationContentUnit = one;
|
|
74
|
+
attribute <o> octet : StorageCapacityUnit = one;
|
|
75
|
+
attribute <oct> octave : LogarithmicFrequencyRangeUnit = one;
|
|
76
|
+
attribute <Pa> pascal : PressureUnit = N/m^2;
|
|
77
|
+
attribute <rad> radian : AngularMeasureUnit = m/m;
|
|
78
|
+
attribute <S> siemens : ConductanceUnit = 'Ω'^-1;
|
|
79
|
+
attribute <Sh> shannon : InformationContentUnit = one;
|
|
80
|
+
attribute <sr> steradian : SolidAngularMeasureUnit = m^2/m^2;
|
|
81
|
+
attribute <Sv> sievert : DoseEquivalentUnit = J/kg;
|
|
82
|
+
attribute <T> tesla : MagneticFluxDensityUnit = Wb/m^2;
|
|
83
|
+
attribute <V> volt : ElectricPotentialUnit = W/A;
|
|
84
|
+
attribute <W> watt : PowerUnit = J/s;
|
|
85
|
+
attribute <Wb> weber : MagneticFluxUnit = V*s;
|
|
86
|
+
attribute <'Ω'> ohm : ResistanceUnit = V/A;
|
|
87
|
+
|
|
88
|
+
/*
|
|
89
|
+
* Units recognized in SI as specified in ISO 80000-1:2009
|
|
90
|
+
*/
|
|
91
|
+
attribute <'Å'> 'ångström' : LengthUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = m; :>> conversionFactor = 1.0e-10; } }
|
|
92
|
+
attribute <b> barn : AreaUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = 'm²'; :>> conversionFactor = 1.0e-28; } }
|
|
93
|
+
attribute <d> day: DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = hour; :>> conversionFactor = 24; } }
|
|
94
|
+
attribute <Da> dalton : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = kg; :>> conversionFactor = 1.66053906660e-27; :>> isExact = false; } }
|
|
95
|
+
attribute <eV> electronvolt : EnergyUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = J; :>> conversionFactor = 1.602176487e-19; :>> isExact = false; } }
|
|
96
|
+
attribute <h> hour: DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = min; :>> conversionFactor = 60; } }
|
|
97
|
+
attribute <min> minute : DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = s; :>> conversionFactor = 60; } }
|
|
98
|
+
attribute <L> litre : VolumeUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = 'm³'; :>> conversionFactor = 1.0e-3; } }
|
|
99
|
+
attribute tonne : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = kg; :>> conversionFactor = 1.0e-3; } }
|
|
100
|
+
alias 'metric ton' for tonne;
|
|
101
|
+
attribute <u> 'atomic mass unit' : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = Da; :>> conversionFactor = 1.0; } }
|
|
102
|
+
attribute <ua> 'astronomical unit' : LengthUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = m; :>> conversionFactor = 149597870691e11; :>> isExact = false; } }
|
|
103
|
+
attribute <var> 'volt ampere reactive' : PowerUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = V*A; :>> conversionFactor = 1.0; } }
|
|
104
|
+
attribute <'°'> degree : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 1.745329E-02; :>> isExact = false; } } // conversionFactor should become pi/180
|
|
105
|
+
attribute <'′'> 'minute (angle)' : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 2.908882E-04; :>> isExact = false; } }
|
|
106
|
+
alias arcmin for '′';
|
|
107
|
+
attribute <'″'> 'second (angle)' : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 4.848137E-06; :>> isExact = false; } }
|
|
108
|
+
alias arcsec for '″';
|
|
109
|
+
|
|
110
|
+
/*
|
|
111
|
+
* Derived units used in parts 3 to 12 of ISO/IEC 80000
|
|
112
|
+
*/
|
|
113
|
+
attribute <'A⋅m⁻²⋅K⁻²'> 'ampere metre to the power minus 2 kelvin to the power minus 2' : RichardsonConstantUnit = A*m^-2*K^-2;
|
|
114
|
+
attribute <'A⋅m²'> 'ampere metre squared' : MagneticMomentUnit = A*m^2;
|
|
115
|
+
attribute <'A⋅m²⋅J⁻¹⋅s⁻¹'> 'ampere metre squared joule to the power minus 1 second to the power minus 1' : GyromagneticRatioUnit = A*m^2*J^-1*s^-1;
|
|
116
|
+
attribute <'A⋅s/kg'> 'ampere second per kilogram' : GyromagneticRatioUnit = A*s/kg;
|
|
117
|
+
attribute <'A/m'> 'ampere per metre' : LinearElectricCurrentDensityUnit = A/m;
|
|
118
|
+
attribute <'A/m²'> 'ampere per square metre' : ElectricCurrentDensityUnit = A/m^2;
|
|
119
|
+
attribute <'B/s'> 'byte per second' : TransferRateUnit = B/s;
|
|
120
|
+
attribute <'bit/s'> 'bit per second' : BinaryDigitRateUnit = bit/s;
|
|
121
|
+
attribute <'Bq/kg'> 'becquerel per kilogram' : SpecificActivityUnit = Bq/kg;
|
|
122
|
+
attribute <'Bq/m²'> 'becquerel per square metre' : SurfaceActivityDensityUnit = Bq/m^2;
|
|
123
|
+
attribute <'Bq/m³'> 'becquerel per cubic metre' : ActivityDensityUnit = Bq/m^3;
|
|
124
|
+
attribute <'C⋅m'> 'coulomb metre' : ElectricDipoleMomentUnit = C*m;
|
|
125
|
+
attribute <'C/(kg⋅s)'> 'coulomb per kilogram second' : ExposureRateUnit = C/(kg*s);
|
|
126
|
+
attribute <'C/kg'> 'coulomb per kilogram' : ExposureUnit = C/kg;
|
|
127
|
+
attribute <'C/m'> 'coulomb per metre' : LinearDensityOfElectricChargeUnit = C/m;
|
|
128
|
+
attribute <'C/m²'> 'coulomb per square metre' : SurfaceDensityOfElectricChargeUnit = C/m^2;
|
|
129
|
+
attribute <'C/m³'> 'coulomb per cubic metre' : ElectricChargeDensityUnit = C/m^3;
|
|
130
|
+
attribute <'cd⋅m⁻²'> 'candela metre to the power minus 2' : LuminanceUnit = cd*m^-2;
|
|
131
|
+
attribute <'cd⋅sr'> 'candela steradian' : LuminousFluxUnit = cd*sr;
|
|
132
|
+
attribute <'cd⋅sr⋅kg⁻¹⋅m⁻²⋅s³'> 'candela steradian kilogram to the power minus 1 metre to the power minus 2 second to the power 3' : LuminousEfficacyOfRadiationUnit = cd*sr*kg^-1*m^-2*s^3;
|
|
133
|
+
attribute <'cd⋅sr⋅m⁻²'> 'candela steradian metre to the power minus 2' : IlluminanceUnit = cd*sr*m^-2;
|
|
134
|
+
attribute <'cd⋅sr⋅m⁻²⋅s'> 'candela steradian metre to the power minus 2 second' : LuminousExposureUnit = cd*sr*m^-2*s;
|
|
135
|
+
attribute <'cd⋅sr⋅s'> 'candela steradian second' : LuminousEnergyUnit = cd*sr*s;
|
|
136
|
+
attribute <'eV⋅J⋅kg⋅m²⋅s⁻²'> 'electronvolt joule kilogram metre squared second to the power minus 2' : HartreeEnergyUnit = eV*J*kg*m^2*s^-2;
|
|
137
|
+
attribute <'eV⋅m⁻²/kg'> 'electronvolt metre to the power minus 2 per kilogram' : TotalMassStoppingPowerUnit = eV*m^-2/kg;
|
|
138
|
+
attribute <'eV/m'> 'electronvolt per metre' : TotalLinearStoppingPowerUnit = eV/m;
|
|
139
|
+
attribute <'eV/m²'> 'electronvolt per square metre' : EnergyFluenceUnit = eV/m^2;
|
|
140
|
+
attribute <'F/m'> 'farad per metre' : ElectricConstantUnit = F/m;
|
|
141
|
+
attribute <'g/L'> 'g per l' : MassConcentrationUnit = g/L;
|
|
142
|
+
attribute <'g/mol'> 'g per mole' : MolarMassUnit = g/mol;
|
|
143
|
+
attribute <'Gy/s'> 'gray per second' : AbsorbedDoseRateUnit = Gy/s;
|
|
144
|
+
attribute <'H/m'> 'henry per metre' : MagneticConstantUnit = H/m;
|
|
145
|
+
attribute <'H⁻¹'> 'henry to the power minus 1' : ReluctanceUnit = H^-1;
|
|
146
|
+
attribute <'Hart/s'> 'hartley per second' : AverageInformationRateUnit = Hart/s;
|
|
147
|
+
attribute <'J⋅m²/kg'> 'joule metre squared per kilogram' : TotalMassStoppingPowerUnit = J*m^2/kg;
|
|
148
|
+
attribute <'J⋅s'> 'joule second' : ActionQuantityUnit = J*s;
|
|
149
|
+
attribute <'J⋅s⋅eV⋅s'> 'joule second electronvolt second' : TotalAngularMomentumUnit = J*s*eV*s;
|
|
150
|
+
attribute <'J⋅s⁻¹'> 'joule second to the power minus 1' : PowerUnit = J*s^-1;
|
|
151
|
+
attribute <'J/(kg⋅K)'> 'joule per kilogram kelvin' : SpecificHeatCapacityUnit = J/(kg*K);
|
|
152
|
+
attribute <'J/(m²⋅nm)'> 'joule per square metre nm' : SpectralRadiantExposureUnit = J/(m^2*nm);
|
|
153
|
+
attribute <'J/(m³⋅nm)'> 'joule per cubic metre nm' : SpectralRadiantEnergyDensityInTermsOfWavelengthUnit = J/(m^3*nm);
|
|
154
|
+
attribute <'J/(mol⋅K)'> 'joule per mole kelvin' : MolarHeatCapacityUnit = J/(mol*K);
|
|
155
|
+
attribute <'J/K'> 'joule per kelvin' : HeatCapacityUnit = J/K;
|
|
156
|
+
attribute <'J/kg'> 'joule per kilogram' : SpecificEnergyUnit = J/kg;
|
|
157
|
+
attribute <'J/m'> 'joule per metre' : TotalLinearStoppingPowerUnit = J/m;
|
|
158
|
+
attribute <'J/m²'> 'joule per square metre' : SpectralRadiantEnergyDensityInTermsOfWavenumberUnit = J/m^2;
|
|
159
|
+
attribute <'J/m³'> 'joule per cubic metre' : ElectromagneticEnergyDensityUnit = J/m^3;
|
|
160
|
+
attribute <'J/mol'> 'joule per mole' : MolarInternalEnergyUnit = J/mol;
|
|
161
|
+
attribute <'J/nm'> 'joule per nm' : SpectralRadiantEnergyUnit = J/nm;
|
|
162
|
+
attribute <'J/s'> 'joule per second' : HeatFlowRateUnit = J/s;
|
|
163
|
+
attribute <'J⁻¹⋅m⁻³⋅eV⁻¹⋅m⁻³'> 'joule to the power minus 1 metre to the power minus 3 electronvolt to the power minus 1 metre to the power minus 3' : EnergyDensityOfStatesUnit = J^-1*m^-3*eV^-1*m^-3;
|
|
164
|
+
attribute <'K/Pa'> 'kelvin per pascal' : JouleThomsonCoefficientUnit = K/Pa;
|
|
165
|
+
attribute <'K/W'> 'kelvin per watt' : ThermalResistanceUnit = K/W;
|
|
166
|
+
attribute <'K⁻¹'> 'kelvin to the power minus 1' : LinearExpansionCoefficientUnit = K^-1;
|
|
167
|
+
attribute <'kg⋅m⋅s⁻¹'> 'kilogram metre second to the power minus 1' : MomentumUnit = kg*m*s^-1;
|
|
168
|
+
attribute <'kg⋅m⋅s⁻²'> 'kilogram metre second to the power minus 2' : ForceUnit = kg*m*s^-2;
|
|
169
|
+
attribute <'kg⋅m⋅s⁻³'> 'kilogram metre second to the power minus 3' : SpectralRadiantFluxUnit = kg*m*s^-3;
|
|
170
|
+
attribute <'kg⋅m⋅s⁻³⋅K⁻¹'> 'kilogram metre second to the power minus 3 kelvin to the power minus 1' : ThermalConductivityUnit = kg*m*s^-3*K^-1;
|
|
171
|
+
attribute <'kg⋅m⋅s⁻³⋅sr⁻¹'> 'kilogram metre second to the power minus 3 steradian to the power minus 1' : SpectralRadiantIntensityUnit = kg*m*s^-3*sr^-1;
|
|
172
|
+
attribute <'kg⋅m⁻¹'> 'kilogram metre to the power minus 1' : LinearMassDensityUnit = kg*m^-1;
|
|
173
|
+
attribute <'kg⋅m⁻¹⋅s⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 1' : DynamicViscosityUnit = kg*m^-1*s^-1;
|
|
174
|
+
attribute <'kg⋅m⁻¹⋅s⁻²'> 'kilogram metre to the power minus 1 second to the power minus 2' : PressureUnit = kg*m^-1*s^-2;
|
|
175
|
+
attribute <'kg⋅m⁻¹⋅s⁻²⋅K⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 2 kelvin to the power minus 1' : PressureCoefficientUnit = kg*m^-1*s^-2*K^-1;
|
|
176
|
+
attribute <'kg⋅m⁻¹⋅s⁻³'> 'kilogram metre to the power minus 1 second to the power minus 3' : SpectralIrradianceUnit = kg*m^-1*s^-3;
|
|
177
|
+
attribute <'kg⋅m⁻¹⋅s⁻³⋅sr⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 3 steradian to the power minus 1' : SpectralRadianceUnit = kg*m^-1*s^-3*sr^-1;
|
|
178
|
+
attribute <'kg⋅m⁻²'> 'kilogram metre to the power minus 2' : SurfaceMassDensityUnit = kg*m^-2;
|
|
179
|
+
attribute <'kg⋅m⁻²⋅s⁻¹'> 'kilogram metre to the power minus 2 second to the power minus 1' : MassFlowUnit = kg*m^-2*s^-1;
|
|
180
|
+
attribute <'kg⋅m⁻²⋅s⁻²'> 'kilogram metre to the power minus 2 second to the power minus 2' : SpectralRadiantEnergyDensityInTermsOfWavelengthUnit = kg*m^-2*s^-2;
|
|
181
|
+
attribute <'kg⋅m⁻³'> 'kilogram metre to the power minus 3' : MassDensityUnit = kg*m^-3;
|
|
182
|
+
attribute <'kg⋅m⁻⁴⋅s⁻¹'> 'kilogram metre to the power minus 4 second to the power minus 1' : AcousticImpedanceUnit = kg*m^-4*s^-1;
|
|
183
|
+
attribute <'kg⋅m²'> 'kilogram metre squared' : MomentOfInertiaUnit = kg*m^2;
|
|
184
|
+
attribute <'kg⋅m²⋅s⁻¹'> 'kilogram metre squared second to the power minus 1' : AngularMomentumUnit = kg*m^2*s^-1;
|
|
185
|
+
attribute <'kg⋅m²⋅s⁻²'> 'kilogram metre squared second to the power minus 2' : MomentOfForceUnit = kg*m^2*s^-2;
|
|
186
|
+
attribute <'kg⋅m²⋅s⁻²⋅K⁻¹'> 'kilogram metre squared second to the power minus 2 kelvin to the power minus 1' : HeatCapacityUnit = kg*m^2*s^-2*K^-1;
|
|
187
|
+
attribute <'kg⋅m²⋅s⁻²⋅K⁻¹⋅mol⁻¹'> 'kilogram metre squared second to the power minus 2 kelvin to the power minus 1 mole to the power minus 1' : MolarHeatCapacityUnit = kg*m^2*s^-2*K^-1*mol^-1;
|
|
188
|
+
attribute <'kg⋅m²⋅s⁻²⋅mol⁻¹'> 'kilogram metre squared second to the power minus 2 mole to the power minus 1' : MolarInternalEnergyUnit = kg*m^2*s^-2*mol^-1;
|
|
189
|
+
attribute <'kg⋅m²⋅s⁻³'> 'kilogram metre squared second to the power minus 3' : PowerUnit = kg*m^2*s^-3;
|
|
190
|
+
attribute <'kg⋅m²⋅s⁻³⋅A⁻¹'> 'kilogram metre squared second to the power minus 3 ampere to the power minus 1' : ElectricPotentialDifferenceUnit = kg*m^2*s^-3*A^-1;
|
|
191
|
+
attribute <'kg⋅m²⋅s⁻³⋅A⁻¹⋅K⁻¹'> 'kilogram metre squared second to the power minus 3 ampere to the power minus 1 kelvin to the power minus 1' : SeebeckCoefficientForSubstancesAAndBUnit = kg*m^2*s^-3*A^-1*K^-1;
|
|
192
|
+
attribute <'kg⋅m²⋅s⁻³⋅K⁻¹'> 'kilogram metre squared second to the power minus 3 kelvin to the power minus 1' : ThermalConductanceUnit = kg*m^2*s^-3*K^-1;
|
|
193
|
+
attribute <'kg⋅m²⋅s⁻³⋅sr⁻¹'> 'kilogram metre squared second to the power minus 3 steradian to the power minus 1' : RadiantIntensityUnit = kg*m^2*s^-3*sr^-1;
|
|
194
|
+
attribute <'kg⋅m³⋅s⁻³⋅A⁻²'> 'kilogram metre cubed second to the power minus 3 ampere to the power minus 2' : ResistivityUnit = kg*m^3*s^-3*A^-2;
|
|
195
|
+
attribute <'kg⋅mol⁻¹'> 'kilogram mole to the power minus 1' : MolarMassUnit = kg*mol^-1;
|
|
196
|
+
attribute <'kg⋅s⁻¹'> 'kilogram second to the power minus 1' : MassFlowRateUnit = kg*s^-1;
|
|
197
|
+
attribute <'kg⋅s⁻²'> 'kilogram second to the power minus 2' : SurfaceTensionUnit = kg*s^-2;
|
|
198
|
+
attribute <'kg⋅s⁻²⋅A⁻¹'> 'kilogram second to the power minus 2 ampere to the power minus 1' : MagneticFluxDensityUnit = kg*s^-2*A^-1;
|
|
199
|
+
attribute <'kg⋅s⁻³'> 'kilogram second to the power minus 3' : DensityOfHeatFlowRateUnit = kg*s^-3;
|
|
200
|
+
attribute <'kg⋅s⁻³⋅K⁻¹'> 'kilogram second to the power minus 3 kelvin to the power minus 1' : CoefficientOfHeatTransferUnit = kg*s^-3*K^-1;
|
|
201
|
+
attribute <'kg⋅s⁻³⋅sr⁻¹'> 'kilogram second to the power minus 3 steradian to the power minus 1' : RadianceUnit = kg*s^-3*sr^-1;
|
|
202
|
+
attribute <'kg⁻¹⋅A'> 'kilogram to the power minus 1 ampere' : ExposureRateUnit = kg^-1*A;
|
|
203
|
+
attribute <'kg⁻¹⋅m⋅s²'> 'kilogram to the power minus 1 metre second to the power 2' : CompressibilityUnit = kg^-1*m*s^2;
|
|
204
|
+
attribute <'kg⁻¹⋅m⋅s²⋅K'> 'kilogram to the power minus 1 metre second to the power 2 kelvin' : JouleThomsonCoefficientUnit = kg^-1*m*s^2*K;
|
|
205
|
+
attribute <'kg⁻¹⋅m⁻²⋅s³⋅K'> 'kilogram to the power minus 1 metre to the power minus 2 second to the power 3 kelvin' : ThermalResistanceUnit = kg^-1*m^-2*s^3*K;
|
|
206
|
+
attribute <'kg⁻¹⋅m⁻³⋅s³⋅A²'> 'kilogram to the power minus 1 metre to the power minus 3 second to the power 3 ampere to the power 2' : ElectrolyticConductivityUnit = kg^-1*m^-3*s^3*A^2;
|
|
207
|
+
attribute <'kg⁻¹⋅m⁻⁵⋅s²'> 'kilogram to the power minus 1 metre to the power minus 5 second to the power 2' : EnergyDensityOfStatesUnit = kg^-1*m^-5*s^2;
|
|
208
|
+
attribute <'kg⁻¹⋅m²'> 'kilogram to the power minus 1 metre squared' : MassAttenuationCoefficientUnit = kg^-1*m^2;
|
|
209
|
+
attribute <'kg⁻¹⋅m³'> 'kilogram to the power minus 1 metre cubed' : SpecificVolumeUnit = kg^-1*m^3;
|
|
210
|
+
attribute <'kg⁻¹⋅s⋅A'> 'kilogram to the power minus 1 second ampere' : GyromagneticRatioUnit = kg^-1*s*A;
|
|
211
|
+
attribute <'kg⁻¹⋅s⁻¹'> 'kilogram to the power minus 1 second to the power minus 1' : SpecificActivityUnit = kg^-1*s^-1;
|
|
212
|
+
attribute <'kg⁻¹⋅s²'> 'kilogram to the power minus 1 second to the power 2' : EnergyDistributionOfCrossSectionUnit = kg^-1*s^2;
|
|
213
|
+
attribute <'kg⁻¹⋅s²⋅A'> 'kilogram to the power minus 1 second to the power 2 ampere' : MobilityUnit = kg^-1*s^2*A;
|
|
214
|
+
attribute <'kg⁻¹⋅s³⋅A²⋅mol⁻¹'> 'kilogram to the power minus 1 second to the power 3 ampere to the power 2 mole to the power minus 1' : MolarConductivityUnit = kg^-1*s^3*A^2*mol^-1;
|
|
215
|
+
attribute <'kg⁻¹⋅s³⋅K'> 'kilogram to the power minus 1 second to the power 3 kelvin' : ThermalInsulanceUnit = kg^-1*s^3*K;
|
|
216
|
+
attribute <'kg²⋅m⁻²⋅s⁻³'> 'kilogram to the power 2 metre to the power minus 2 second to the power minus 3' : SoundExposureUnit = kg^2*m^-2*s^-3;
|
|
217
|
+
attribute <'kg²⋅m⁴⋅s⁻⁶⋅A⁻²⋅K⁻²'> 'kilogram to the power 2 metre to the power 4 second to the power minus 6 ampere to the power minus 2 kelvin to the power minus 2' : LorenzCoefficientUnit = kg^2*m^4*s^-6*A^-2*K^-2;
|
|
218
|
+
attribute <'lm⋅s'> 'lumen second' : LuminousEnergyUnit = lm*s;
|
|
219
|
+
attribute <'lm/m²'> 'lumen per square metre' : LuminousExitanceUnit = lm/m^2;
|
|
220
|
+
attribute <'lm/W'> 'lumen per watt' : LuminousEfficacyOfRadiationUnit = lm/W;
|
|
221
|
+
attribute <'lx⋅s'> 'lux second' : LuminousExposureUnit = lx*s;
|
|
222
|
+
attribute <'m⋅s⁻¹'> 'metre second to the power minus 1' : SpeedUnit = m*s^-1;
|
|
223
|
+
attribute <'m⋅s⁻²'> 'metre second to the power minus 2' : AccelerationUnit = m*s^-2;
|
|
224
|
+
attribute <'m/s'> 'metre per second' : SpeedUnit = m/s;
|
|
225
|
+
attribute <'m⁻¹'> 'metre to the power minus 1' : CurvatureUnit = m^-1;
|
|
226
|
+
attribute <'m⁻²'> 'metre to the power minus 2' : PhotonExposureUnit = m^-2;
|
|
227
|
+
attribute <'m⁻²⋅s⁻¹'> 'metre to the power minus 2 second to the power minus 1' : PhotonIrradianceUnit = m^-2*s^-1;
|
|
228
|
+
attribute <'m⁻²⋅s⁻¹⋅sr⁻¹'> 'metre to the power minus 2 second to the power minus 1 steradian to the power minus 1' : PhotonRadianceUnit = m^-2*s^-1*sr^-1;
|
|
229
|
+
attribute <'m⁻³'> 'metre to the power minus 3' : ParticleConcentrationUnit = m^-3;
|
|
230
|
+
attribute <'m⁻³⋅s'> 'metre to the power minus 3 second' : DensityOfVibrationalStatesUnit = m^-3*s;
|
|
231
|
+
attribute <'m⁻³⋅s⁻¹'> 'metre to the power minus 3 second to the power minus 1' : ActivityDensityUnit = m^-3*s^-1;
|
|
232
|
+
attribute <'m²'> 'metre squared' : AreaUnit = m^2;
|
|
233
|
+
attribute <'m²⋅A'> 'metre squared ampere' : MagneticDipoleMomentUnit = m^2*A;
|
|
234
|
+
attribute <'m²⋅K/W'> 'metre squared kelvin per watt' : ThermalInsulanceUnit = m^2*K/W;
|
|
235
|
+
attribute <'m²⋅mol⁻¹'> 'metre squared mole to the power minus 1' : MolarAbsorptionCoefficientUnit = m^2*mol^-1;
|
|
236
|
+
attribute <'m²⋅s⁻¹'> 'metre squared second to the power minus 1' : KinematicViscosityUnit = m^2*s^-1;
|
|
237
|
+
attribute <'m²⋅s⁻²'> 'metre squared second to the power minus 2' : SpecificEnergyUnit = m^2*s^-2;
|
|
238
|
+
attribute <'m²⋅s⁻²⋅K⁻¹'> 'metre squared second to the power minus 2 kelvin to the power minus 1' : SpecificHeatCapacityUnit = m^2*s^-2*K^-1;
|
|
239
|
+
attribute <'m²⋅s⁻³'> 'metre squared second to the power minus 3' : DoseEquivalentUnit = m^2*s^-3;
|
|
240
|
+
attribute <'m²⋅sr⁻¹'> 'metre squared steradian to the power minus 1' : DirectionDistributionOfCrossSectionUnit = m^2*sr^-1;
|
|
241
|
+
attribute <'m²/(J⋅sr)'> 'metre squared per joule steradian' : DirectionAndEnergyDistributionOfCrossSectionUnit = m^2/(J*sr);
|
|
242
|
+
attribute <'m²/(V⋅s)'> 'metre squared per volt second' : MobilityUnit = m^2/(V*s);
|
|
243
|
+
attribute <'m²/J'> 'metre squared per joule' : EnergyDistributionOfCrossSectionUnit = m^2/J;
|
|
244
|
+
attribute <'m³'> 'metre cubed' : VolumeUnit = m^3;
|
|
245
|
+
attribute <'m³⋅mol⁻¹'> 'metre cubed mole to the power minus 1' : MolarVolumeUnit = m^3*mol^-1;
|
|
246
|
+
attribute <'m³⋅s⁻¹'> 'metre cubed second to the power minus 1' : VolumeFlowRateUnit = m^3*s^-1;
|
|
247
|
+
attribute <'m³/C⋅m³⋅s⁻¹⋅A⁻¹'> 'metre cubed per coulomb cubic metre second to the power minus 1 ampere to the power minus 1' : HallCoefficientUnit = m^3/C*m^3*s^-1*A^-1;
|
|
248
|
+
attribute <'m⁴'> 'metre to the power 4' : SecondAxialMomentOfAreaUnit = m^4;
|
|
249
|
+
attribute <'m⁴⋅s⁻²'> 'metre to the power 4 second to the power minus 2' : TotalMassStoppingPowerUnit = m^4*s^-2;
|
|
250
|
+
attribute <'mL/L '> 'ml per l' : VolumeFractionUnit = mL/L;
|
|
251
|
+
attribute <'mol⋅kg⁻¹'> 'mole kilogram to the power minus 1' : IonicStrengthUnit = mol*kg^-1;
|
|
252
|
+
attribute <'mol⋅m⁻³'> 'mole metre to the power minus 3' : AmountOfSubstanceConcentrationUnit = mol*m^-3;
|
|
253
|
+
attribute <'mol/kg'> 'mole per kilogram' : MolalityUnit = mol/kg;
|
|
254
|
+
attribute <'mol/L'> 'mole per l' : AmountOfSubstanceConcentrationUnit = mol/L;
|
|
255
|
+
attribute <'mol/m³'> 'mole per cubic metre' : EquilibriumConstantOnConcentrationBasisUnit = mol/m^3;
|
|
256
|
+
attribute <'N⋅m'> 'newton metre' : MomentOfForceUnit, TorqueUnit = N*m {
|
|
257
|
+
attribute :>> MomentOfForceUnit::quantityDimension, TorqueUnit::quantityDimension {
|
|
258
|
+
:>> MomentOfForceUnit::quantityDimension::quantityPowerFactors, TorqueUnit::quantityDimension::quantityPowerFactors;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
attribute <'N⋅m⋅s'> 'newton metre second' : AngularImpulseUnit = N*m*s;
|
|
262
|
+
attribute <'N⋅m⋅s⁻¹'> 'newton metre second to the power minus 1' : PowerUnit = N*m*s^-1;
|
|
263
|
+
attribute <'N⋅m⁻¹'> 'newton metre to the power minus 1' : SurfaceTensionUnit = N*m^-1;
|
|
264
|
+
attribute <'N⋅m⁻²'> 'newton metre to the power minus 2' : PressureUnit = N*m^-2;
|
|
265
|
+
attribute <'N⋅s'> 'newton second' : ImpulseUnit = N*s;
|
|
266
|
+
attribute <'nat/s'> 'natural unit of information per second' : AverageInformationRateUnit = nat/s;
|
|
267
|
+
attribute <'o/s'> 'octet per second' : TransferRateUnit = o/s;
|
|
268
|
+
attribute <'Pa⋅s'> 'pascal second' : DynamicViscosityUnit = Pa*s;
|
|
269
|
+
attribute <'Pa⋅s/m'> 'pascal second per metre' : CharacteristicImpedanceOfAMediumForLongitudinalWavesUnit = Pa*s/m;
|
|
270
|
+
attribute <'Pa⋅s/m³'> 'pascal second per cubic metre' : AcousticImpedanceUnit = Pa*s/m^3;
|
|
271
|
+
attribute <'Pa/K'> 'pascal per kelvin' : PressureCoefficientUnit = Pa/K;
|
|
272
|
+
attribute <'Pa⁻¹'> 'pascal to the power minus 1' : CompressibilityUnit = Pa^-1;
|
|
273
|
+
attribute <'Pa²⋅s'> 'pascal to the power 2 second' : SoundExposureUnit = Pa^2*s;
|
|
274
|
+
attribute <'rad⋅m²/kg¹'> 'radian metre squared per kilogram to the power 1' : SpecificOpticalRotatoryPowerUnit = rad*m^2/kg^1;
|
|
275
|
+
attribute <'rad⋅m²/mol'> 'radian metre squared per mole' : MolarOpticalRotatoryPowerUnit = rad*m^2/mol;
|
|
276
|
+
attribute <'rad⋅s⁻¹'> 'radian second to the power minus 1' : AngularVelocityUnit = rad*s^-1;
|
|
277
|
+
attribute <'rad⋅s⁻²'> 'radian second to the power minus 2' : AngularAccelerationUnit = rad*s^-2;
|
|
278
|
+
attribute <'rad/m'> 'radian per metre' : PhaseCoefficientUnit = rad/m;
|
|
279
|
+
attribute <'s⋅A'> 'second ampere' : ElectricChargeUnit = s*A;
|
|
280
|
+
attribute <'S⋅m²/mol'> 'siemens metre squared per mole' : MolarConductivityUnit = S*m^2/mol;
|
|
281
|
+
attribute <'S/m'> 'siemens per metre' : ConductivityUnit = S/m;
|
|
282
|
+
attribute <'s⁻¹'> 'second to the power minus 1' : AngularVelocityUnit = s^-1;
|
|
283
|
+
attribute <'s⁻¹⋅sr⁻¹'> 'second to the power minus 1 steradian to the power minus 1' : PhotonIntensityUnit = s^-1*sr^-1;
|
|
284
|
+
attribute <'s⁻²'> 'second to the power minus 2' : AngularAccelerationUnit = s^-2;
|
|
285
|
+
attribute <'Sh/s'> 'shannon per second' : AverageInformationRateUnit = Sh/s;
|
|
286
|
+
attribute <'Sv/s'> 'sievert per second' : DoseEquivalentUnit = Sv/s;
|
|
287
|
+
attribute <'V⋅A'> 'volt ampere' : PowerUnit = V*A;
|
|
288
|
+
attribute <'V/K'> 'volt per kelvin' : SeebeckCoefficientForSubstancesAAndBUnit = V/K;
|
|
289
|
+
attribute <'V/m'> 'volt per metre' : ElectricFieldStrengthUnit = V/m;
|
|
290
|
+
attribute <'V²/K²'> 'volt to the power 2 per kelvin to the power 2' : LorenzCoefficientUnit = V^2/K^2;
|
|
291
|
+
attribute <'W⋅h'> 'watt hour' : EnergyUnit = W*h;
|
|
292
|
+
attribute <'W/(m⋅K)'> 'watt per metre kelvin' : ThermalConductivityUnit = W/(m*K);
|
|
293
|
+
attribute <'W/(m²⋅K)'> 'watt per square metre kelvin' : CoefficientOfHeatTransferUnit = W/(m^2*K);
|
|
294
|
+
attribute <'W/(m²⋅nm)'> 'watt per square metre nm' : SpectralIrradianceUnit = W/(m^2*nm);
|
|
295
|
+
attribute <'W/(sr⋅m²)'> 'watt per steradian square metre' : RadianceUnit = W/(sr*m^2);
|
|
296
|
+
attribute <'W/(sr⋅m²⋅nm)'> 'watt per steradian square metre nm' : SpectralRadianceUnit = W/(sr*m^2*nm);
|
|
297
|
+
attribute <'W/(sr⋅nm)'> 'watt per steradian nm' : SpectralRadiantIntensityUnit = W/(sr*nm);
|
|
298
|
+
attribute <'W/K'> 'watt per kelvin' : ThermalConductanceUnit = W/K;
|
|
299
|
+
attribute <'W/kg'> 'watt per kilogram' : DoseEquivalentUnit = W/kg;
|
|
300
|
+
attribute <'W/m²'> 'watt per square metre' : DensityOfHeatFlowRateUnit = W/m^2;
|
|
301
|
+
attribute <'W/nm'> 'watt per nm' : SpectralRadiantFluxUnit = W/nm;
|
|
302
|
+
attribute <'W/sr'> 'watt per steradian' : RadiantIntensityUnit = W/sr;
|
|
303
|
+
attribute <'Wb⋅m'> 'weber metre' : MagneticDipoleMomentUnit = Wb*m;
|
|
304
|
+
attribute <'Wb/m'> 'weber per metre' : MagneticVectorPotentialUnit = Wb/m;
|
|
305
|
+
attribute <'Ω⋅m'> 'ohm metre' : ResistivityUnit = 'Ω'*m;
|
|
306
|
+
|
|
307
|
+
alias 'm/s²' for 'm⋅s⁻²';
|
|
308
|
+
|
|
309
|
+
/*
|
|
310
|
+
* Prefixed units
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
/* Length */
|
|
314
|
+
attribute <nm> nanometre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = nano; :>> referenceUnit = m; } }
|
|
315
|
+
attribute <mm> millimetre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = m; } }
|
|
316
|
+
attribute <cm> centimetre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = centi; :>> referenceUnit = m; } }
|
|
317
|
+
attribute <km> kilometre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = m; } }
|
|
318
|
+
|
|
319
|
+
/* Volume */
|
|
320
|
+
attribute <mL> millilitre : VolumeUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = L; } }
|
|
321
|
+
|
|
322
|
+
/* Force */
|
|
323
|
+
attribute <mN> millinewton : ForceUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = N; } }
|
|
324
|
+
|
|
325
|
+
/* Energy */
|
|
326
|
+
attribute <kJ> kilojoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = J; } }
|
|
327
|
+
attribute <MJ> megajoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = mega; :>> referenceUnit = J; } }
|
|
328
|
+
attribute <GJ> gigajoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = giga; :>> referenceUnit = J; } }
|
|
329
|
+
|
|
330
|
+
/* Power */
|
|
331
|
+
attribute <kW> kilowatt : PowerUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = W; } }
|
|
332
|
+
|
|
333
|
+
/* Speed */
|
|
334
|
+
attribute <'km/h'> 'kilometre per hour': SpeedUnit = km/h;
|
|
335
|
+
|
|
336
|
+
/*
|
|
337
|
+
* Celsius units
|
|
338
|
+
*/
|
|
339
|
+
|
|
340
|
+
attribute <'°C'> 'degree celsius (temperature difference)' : TemperatureDifferenceUnit {
|
|
341
|
+
doc
|
|
342
|
+
/*
|
|
343
|
+
* degree Celsius unit for temperature interval (i.e. temperature difference) quantities
|
|
344
|
+
*/
|
|
345
|
+
|
|
346
|
+
attribute :>> unitConversion: ConversionByConvention { :>> referenceUnit = K; :>> conversionFactor = 1; }
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
attribute <'°C_abs'> 'degree celsius (absolute temperature scale)' : IntervalScale {
|
|
350
|
+
doc
|
|
351
|
+
/*
|
|
352
|
+
* degree Celsius interval scale for absolute (thermodynamic) temperature quantities
|
|
353
|
+
*
|
|
354
|
+
* The interval scale is defined with an explicit transformation with respect to
|
|
355
|
+
* the kelvin thermodynamic temperature scale that specifies the zero shift.
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
attribute :>> unit = '°C';
|
|
359
|
+
attribute temperatureWaterAtFreezingPointInC: DefinitionalQuantityValue {
|
|
360
|
+
:>> num = 0; :>> definition = "temperature in degree Celsius of pure water at freezing point";
|
|
361
|
+
}
|
|
362
|
+
private attribute temperatureWaterAtTriplePointInC: DefinitionalQuantityValue {
|
|
363
|
+
:>> num = 1/100; :>> definition = "temperature in degree Celsius of pure water at the triple point";
|
|
364
|
+
}
|
|
365
|
+
private attribute celsiusToKelvinScaleMapping: QuantityValueMapping {
|
|
366
|
+
:>> mappedQuantityValue = temperatureWaterAtTriplePointInC;
|
|
367
|
+
:>> referenceQuantityValue = K.temperatureOfWaterAtTriplePointInK;
|
|
368
|
+
}
|
|
369
|
+
attribute :>> definitionalQuantityValues = (temperatureWaterAtTriplePointInC, temperatureWaterAtFreezingPointInC);
|
|
370
|
+
attribute :>> quantityValueMapping = celsiusToKelvinScaleMapping;
|
|
371
|
+
|
|
372
|
+
/* CoordinateFramePlacement (zero shift) w.r.t. the kelvin thermodynamic temperature scale */
|
|
373
|
+
private attribute zeroDegreeCelsiusInKelvin: ThermodynamicTemperatureValue = 273.15 [K];
|
|
374
|
+
attribute zeroDegreeCelsiusToKelvinShift : CoordinateFramePlacement :>> transformation {
|
|
375
|
+
:>> source = K; :>> origin = zeroDegreeCelsiusInKelvin;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
standard library package SIPrefixes {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* Definition of SI unit prefixes as specified in ISO/IEC 80000-1
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
private import MeasurementReferences::*;
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
* ISO/IEC 80000-1 prefixes for decimal multiples and sub-multiples
|
|
11
|
+
*
|
|
12
|
+
* See also https://en.wikipedia.org/wiki/Unit_prefix
|
|
13
|
+
*/
|
|
14
|
+
attribute yocto: UnitPrefix { :>> longName = "yocto"; :>> symbol = "y"; :>> conversionFactor = 1E-24; }
|
|
15
|
+
attribute zepto: UnitPrefix { :>> longName = "zepto"; :>> symbol = "z"; :>> conversionFactor = 1E-21; }
|
|
16
|
+
attribute atto: UnitPrefix { :>> longName = "atto"; :>> symbol = "a"; :>> conversionFactor = 1E-18; }
|
|
17
|
+
attribute femto: UnitPrefix { :>> longName = "femto"; :>> symbol = "f"; :>> conversionFactor = 1E-15; }
|
|
18
|
+
attribute pico: UnitPrefix { :>> longName = "pico"; :>> symbol = "p"; :>> conversionFactor = 1E-12; }
|
|
19
|
+
attribute nano: UnitPrefix { :>> longName = "nano"; :>> symbol = "n"; :>> conversionFactor = 1E-9; }
|
|
20
|
+
attribute micro: UnitPrefix { :>> longName = "micro"; :>> symbol = "μ"; :>> conversionFactor = 1E-6; }
|
|
21
|
+
attribute milli: UnitPrefix { :>> longName = "milli"; :>> symbol = "m"; :>> conversionFactor = 1E-3; }
|
|
22
|
+
attribute centi: UnitPrefix { :>> longName = "centi"; :>> symbol = "c"; :>> conversionFactor = 1E-2; }
|
|
23
|
+
attribute deci: UnitPrefix { :>> longName = "deci"; :>> symbol = "d"; :>> conversionFactor = 1E-1; }
|
|
24
|
+
attribute deca: UnitPrefix { :>> longName = "deca"; :>> symbol = "da"; :>> conversionFactor = 1E1; }
|
|
25
|
+
attribute hecto: UnitPrefix { :>> longName = "hecto"; :>> symbol = "h"; :>> conversionFactor = 1E2; }
|
|
26
|
+
attribute kilo: UnitPrefix { :>> longName = "kilo"; :>> symbol = "k"; :>> conversionFactor = 1E3; }
|
|
27
|
+
attribute mega: UnitPrefix { :>> longName = "mega"; :>> symbol = "M"; :>> conversionFactor = 1E6; }
|
|
28
|
+
attribute giga: UnitPrefix { :>> longName = "giga"; :>> symbol = "G"; :>> conversionFactor = 1E9; }
|
|
29
|
+
attribute tera: UnitPrefix { :>> longName = "tera"; :>> symbol = "T"; :>> conversionFactor = 1E12; }
|
|
30
|
+
attribute peta: UnitPrefix { :>> longName = "peta"; :>> symbol = "P"; :>> conversionFactor = 1E15; }
|
|
31
|
+
attribute exa: UnitPrefix { :>> longName = "exa"; :>> symbol = "E"; :>> conversionFactor = 1E18; }
|
|
32
|
+
attribute zetta: UnitPrefix { :>> longName = "zetta"; :>> symbol = "Z"; :>> conversionFactor = 1E21; }
|
|
33
|
+
attribute yotta: UnitPrefix { :>> longName = "yotta"; :>> symbol = "Y"; :>> conversionFactor = 1E24; }
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
* ISO/IEC 80000-1 prefixes for binary multiples, i.e. multiples of 1024 (= 2^10)
|
|
37
|
+
*
|
|
38
|
+
* See also https://en.wikipedia.org/wiki/Binary_prefix
|
|
39
|
+
*/
|
|
40
|
+
attribute kibi: UnitPrefix { :>> longName = "kibi"; :>> symbol = "Ki"; :>> conversionFactor = 1024; }
|
|
41
|
+
attribute mebi: UnitPrefix { :>> longName = "mebi"; :>> symbol = "Mi"; :>> conversionFactor = 1024^2; }
|
|
42
|
+
attribute gibi: UnitPrefix { :>> longName = "gibi"; :>> symbol = "Gi"; :>> conversionFactor = 1024^3; }
|
|
43
|
+
attribute tebi: UnitPrefix { :>> longName = "tebi"; :>> symbol = "Ti"; :>> conversionFactor = 1024^4; }
|
|
44
|
+
attribute pebi: UnitPrefix { :>> longName = "pebi"; :>> symbol = "Pi"; :>> conversionFactor = 1024^5; }
|
|
45
|
+
attribute exbi: UnitPrefix { :>> longName = "exbi"; :>> symbol = "Ei"; :>> conversionFactor = 1024^6; }
|
|
46
|
+
attribute zebi: UnitPrefix { :>> longName = "zebi"; :>> symbol = "Zi"; :>> conversionFactor = 1024^7; }
|
|
47
|
+
attribute yobi: UnitPrefix { :>> longName = "yobi"; :>> symbol = "Yi"; :>> conversionFactor = 1024^8; }
|
|
48
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
standard library package TensorCalculations {
|
|
2
|
+
doc
|
|
3
|
+
/*
|
|
4
|
+
* This package package defines calculations for the construction of and computations on TensorQuantityValues.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
private import ScalarValues::Boolean;
|
|
8
|
+
private import ScalarValues::Number;
|
|
9
|
+
private import Quantities::ScalarQuantityValue;
|
|
10
|
+
private import Quantities::VectorQuantityValue;
|
|
11
|
+
private import Quantities::TensorQuantityValue;
|
|
12
|
+
private import MeasurementReferences::TensorMeasurementReference;
|
|
13
|
+
private import MeasurementReferences::CoordinateTransformation;
|
|
14
|
+
|
|
15
|
+
calc def '[' specializes BaseFunctions::'[' {
|
|
16
|
+
in elements: Number[1..n] ordered;
|
|
17
|
+
in mRef: TensorMeasurementReference[1];
|
|
18
|
+
return quantity: TensorQuantityValue[1];
|
|
19
|
+
private attribute n = mRef.flattenedSize;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
calc def isZeroTensorQuantity {
|
|
23
|
+
in x : TensorQuantityValue[1];
|
|
24
|
+
return : Boolean[1];
|
|
25
|
+
}
|
|
26
|
+
calc def isUnitTensorQuantity {
|
|
27
|
+
in x : TensorQuantityValue[1];
|
|
28
|
+
return : Boolean[1];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Addition and subtraction */
|
|
32
|
+
calc def '+' :> DataFunctions::'+' { in : TensorQuantityValue[1]; in : TensorQuantityValue[1]; return : TensorQuantityValue[1]; }
|
|
33
|
+
calc def '-' :> DataFunctions::'-' { in : TensorQuantityValue[1]; in : TensorQuantityValue[1]; return : TensorQuantityValue[1]; }
|
|
34
|
+
|
|
35
|
+
/* Multiplication and division */
|
|
36
|
+
calc def scalarTensorMult { in : Number[1]; in : TensorQuantityValue[1]; return : TensorQuantityValue[1]; }
|
|
37
|
+
calc def TensorScalarMult { in : TensorQuantityValue[1]; in : Number[1]; return : TensorQuantityValue[1]; }
|
|
38
|
+
calc def scalarQuantityTensorMult { in : ScalarQuantityValue[1]; in : TensorQuantityValue[1]; return : TensorQuantityValue[1]; }
|
|
39
|
+
calc def TensorScalarQuantityMult { in : TensorQuantityValue[1]; in : ScalarQuantityValue[1]; return : TensorQuantityValue[1]; }
|
|
40
|
+
calc def tensorVectorMult { in : TensorQuantityValue[1]; in : VectorQuantityValue[1]; return : VectorQuantityValue[1]; }
|
|
41
|
+
calc def vectorTensorMult { in : VectorQuantityValue[1]; in : TensorQuantityValue[1]; return : VectorQuantityValue[1]; }
|
|
42
|
+
calc def tensorTensorMult { in : TensorQuantityValue[1]; in : TensorQuantityValue[1]; return : TensorQuantityValue[1]; }
|
|
43
|
+
|
|
44
|
+
/* Tensor transformation */
|
|
45
|
+
calc def transform {
|
|
46
|
+
in transformation : CoordinateTransformation;
|
|
47
|
+
in sourceTensor : TensorQuantityValue;
|
|
48
|
+
return targetTensor : TensorQuantityValue;
|
|
49
|
+
}
|
|
50
|
+
}
|