OSDC.UnitConversion.Conversion.UnitSystem
3.4.2
See the version list below for details.
dotnet add package OSDC.UnitConversion.Conversion.UnitSystem --version 3.4.2
NuGet\Install-Package OSDC.UnitConversion.Conversion.UnitSystem -Version 3.4.2
<PackageReference Include="OSDC.UnitConversion.Conversion.UnitSystem" Version="3.4.2" />
<PackageVersion Include="OSDC.UnitConversion.Conversion.UnitSystem" Version="3.4.2" />
<PackageReference Include="OSDC.UnitConversion.Conversion.UnitSystem" />
paket add OSDC.UnitConversion.Conversion.UnitSystem --version 3.4.2
#r "nuget: OSDC.UnitConversion.Conversion.UnitSystem, 3.4.2"
#:package OSDC.UnitConversion.Conversion.UnitSystem@3.4.2
#addin nuget:?package=OSDC.UnitConversion.Conversion.UnitSystem&version=3.4.2
#tool nuget:?package=OSDC.UnitConversion.Conversion.UnitSystem&version=3.4.2
Model for unit conversion of BasePhysicalQuantity
This nuget package hosts the C# model for managing sets of unit choices for physical quantities. Such a set forms a BaseUnitSystem.
More info on:
https://github.com/Open-Source-Drilling-Community/UnitConversion
Default UnitChoices for the Base Unit Systems
There are four default base unit systems: SI, Metric, Imperial and US.
It is mandatory to define the unit choice for every physical quantities for
each of these based unit systems. This is done by adding a line for each
of the BaseUnitSystem in the file BaseUnitSystem.cs. This line looks like that:
Choices.Add(AccelerationQuantity.Instance.ID.ToString(), AccelerationQuantity.Instance.GetUnitChoice(AccelerationQuantity.UnitChoicesEnum.MetrePerSecondSquared).ID.ToString());
Contributors
Eric Cayeux, NORCE Energy Modelling and Automation
Gilles Pelfrene, NORCE Energy Modelling and Automation
Gravity potential defaults
Both GravityPotential and EarthGravityPotential default to m²/s² in SI and Metric, and ft²/s² in US and Imperial. SI selects the canonical IsSI unit automatically; Metric, Imperial and US have explicit entries. Generate the enumerations before adding these entries. The drilling unit systems inherit these general choices.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- OSDC.UnitConversion.Conversion (>= 3.4.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on OSDC.UnitConversion.Conversion.UnitSystem:
| Package | Downloads |
|---|---|
|
OSDC.UnitConversion.Conversion.UnitSystem.DrillingEngineering
Package Description |
|
|
NORCE.Drilling.DrillingFluid.WebPages
Reusable Razor class library containing the DrillingFluid web pages and related components. See the package README for setup, dependencies, and usage. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.5 | 227 | 9/28/2026 |
| 3.4.3 | 150 | 9/27/2026 |
| 3.4.2 | 149 | 9/25/2026 |
| 3.4.1 | 893 | 8/31/2026 |
| 3.4.0 | 144 | 8/31/2026 |
| 3.3.27 | 4,125 | 1/15/2026 |
| 3.3.26 | 465 | 10/13/2025 |
| 3.3.25 | 273 | 10/13/2025 |
| 3.3.24 | 647 | 8/22/2025 |
| 3.3.23 | 262 | 8/21/2025 |
| 3.3.22 | 225 | 8/21/2025 |
| 3.3.21 | 558 | 6/3/2025 |
| 3.3.20 | 253 | 6/3/2025 |
| 3.3.19 | 190 | 5/31/2025 |
| 3.3.18 | 256 | 5/30/2025 |
| 3.3.17 | 174 | 5/30/2025 |
| 3.3.16 | 177 | 5/30/2025 |
| 3.3.15 | 294 | 2/10/2025 |
| 3.3.14 | 250 | 2/9/2025 |
| 3.3.12 | 253 | 8/30/2024 |