OSDC.DotnetLibraries.General.DrillingProperties
1.1.2
See the version list below for details.
dotnet add package OSDC.DotnetLibraries.General.DrillingProperties --version 1.1.2
NuGet\Install-Package OSDC.DotnetLibraries.General.DrillingProperties -Version 1.1.2
<PackageReference Include="OSDC.DotnetLibraries.General.DrillingProperties" Version="1.1.2" />
<PackageVersion Include="OSDC.DotnetLibraries.General.DrillingProperties" Version="1.1.2" />
<PackageReference Include="OSDC.DotnetLibraries.General.DrillingProperties" />
paket add OSDC.DotnetLibraries.General.DrillingProperties --version 1.1.2
#r "nuget: OSDC.DotnetLibraries.General.DrillingProperties, 1.1.2"
#:package OSDC.DotnetLibraries.General.DrillingProperties@1.1.2
#addin nuget:?package=OSDC.DotnetLibraries.General.DrillingProperties&version=1.1.2
#tool nuget:?package=OSDC.DotnetLibraries.General.DrillingProperties&version=1.1.2
Background
This package is developed as part of the Society of Petroleum (SPE) Open Source Drilling Community, a sub-committee of the Drilling System Automation Technical Section.
Purpose
The purpose of this package is to provide a way to describe drilling properties and their uncertainty. There are also Attributes that allow to decorate the properties. There is also a function to generate a dictionary of the decorations associated with the drilling properties that can therefore be serialized in json.
Principles
A DrillingProperty is an abstract class that defines two properties: Value and MetaDataID. A Value is a ContinuousDistribution
and therefore represents any continuous probability distrutions. ContinuousDistributionand other probability distributions are defined
in OSDC.DotnetLibraries.General.Statistics, which is available as a nuget on nuget.org
(see here). A MetaDataID is a Guid used to uniquely identified this particular
property in a class. DrillingProperty has a method called Realize that is used to draw a value (double?) using the
probability distribution defined in Value. It may return null.
DrillingPropertyhas four sub-classes:
ScalarDrillingProperty: used to represent a scalar value with no uncertainty. The value is maintained as aDiracDistribution. There is redefinition of theValueproperty which is strongly typed toDiracDistribution. It is calledDiracDistributionValue. TheValueproperty points to the value contained inDiracDistrutionValue. TheRealizemethod always return the value of theDiracDistributionornullif the value is not defined. So theScalarDrillingPropertyis equivalent to a fixed value.GaussianDrillingProperty: used to represent normal distributions defined by aMeanand aStandardDeviation. The probability distribution is defined as aGaussianDistribution. In order to benefits from strong typing, a property calledGaussianValueis defined of the typeGaussianDistribution. TheValueproperty is redefined to point to the instance managed byGaussianValue. TheRealizemethod produces values between -∞ and +∞ with a mean value corresponding to theMeanof theGaussianValueand with a standard deviation also defined in theGaussianValue.UniformDrillingProperty: used to represent a uniform distritution between two values,MinandMax. The probability distribution is defined as aUniformDistribution. A property of typeUniformDistributionis defined:UniformValue. The propertyValueis redefined to point to the instance managed byUniformValue. The realize method draws uniformely values in betweenMinandMax.GeneralDistributionDrillingProperty: used to represent a general probability distribution managed as a histogram. The value is defined by aGeneralContinuousDistributionand accessible using the propertyGeneralDistributionValue. TheValueproperty is redefined to point to the instance managed byGeneralDistributionValue. TheGeneralContinuousDistributioncan be defined either by a data set stored inData. In that case, an histogram is generated from the data set, which is stored inFunction. Or directly as a given histogram stored inFunction. An histogram is represented as an array ofTuple<double, double>for whichItem1is the value of the bin andItem2is the probability of the bin.
Example
Here is an example. <pre>
using OSDC.DotnetLibraries.General.DrillingProperties;
using System.Globalization;
namespace DrillingProperties
{
class TestClass
{
public ScalarDrillingProperty Value1 { get; set; } = new ScalarDrillingProperty();
public UniformDrillingProperty Value2 { get; set; } = new UniformDrillingProperty();
public GaussianDrillingProperty Value3 { get; set; } = new GaussianDrillingProperty();
public GeneralDistributionDrillingProperty Value4 { get; set; } = new GeneralDistributionDrillingProperty();
}
class Example
{
static void Main()
{
TestClass testClass = new TestClass();
testClass.Value1.DiracDistributionValue.Value = 1.0;
testClass.Value2.UniformValue.Min = -1.0;
testClass.Value2.UniformValue.Max = 1.0;
testClass.Value3.GaussianValue.Mean = 10.0;
testClass.Value3.GaussianValue.StandardDeviation = 0.5;
testClass.Value4.GeneralDistributionValue.Function = new Tuple<double, double>[] {
new Tuple<double, double>(0.0, 0.1),
new Tuple<double, double>(1.0, 0.2),
new Tuple<double, double>(2.0, 0.3),
new Tuple<double, double>(3.0, 4.0),
new Tuple<double, double>(4.0, 0.1)
};
for (int i = 0; i < 10; i++)
{
Realize(testClass);
}
}
static void Realize(TestClass testClass)
{
double? value1 = testClass.Value1.Realize();
double? value2 = testClass.Value2.Realize();
double? value3 = testClass.Value3.Realize();
double? value4 = testClass.Value4.Realize();
Console.WriteLine("Realized values:" +
" value1 = " + value1?.ToString("F", CultureInfo.InvariantCulture) +
" value2 = " + value2?.ToString("F", CultureInfo.InvariantCulture) +
" value3 = " + value3?.ToString("F", CultureInfo.InvariantCulture) +
" value4 = " + value4?.ToString("F", CultureInfo.InvariantCulture));
}
}
}
</pre>
The execution of the program gives:
<pre> Realized values: value1 = 1.00 value2 = 0.49 value3 = 9.66 value4 = 2.41 Realized values: value1 = 1.00 value2 = -0.08 value3 = 9.93 value4 = 1.93 Realized values: value1 = 1.00 value2 = -0.81 value3 = 10.01 value4 = 0.11 Realized values: value1 = 1.00 value2 = 0.97 value3 = 9.90 value4 = 1.96 Realized values: value1 = 1.00 value2 = 0.19 value3 = 9.74 value4 = 2.40 Realized values: value1 = 1.00 value2 = 0.64 value3 = 10.14 value4 = 1.24 Realized values: value1 = 1.00 value2 = 0.24 value3 = 10.03 value4 = 1.41 Realized values: value1 = 1.00 value2 = 0.62 value3 = 10.49 value4 = 1.15 Realized values: value1 = 1.00 value2 = -0.21 value3 = 10.45 value4 = 2.60 Realized values: value1 = 1.00 value2 = 0.66 value3 = 9.70 value4 = 1.32 </pre>
Providing Meta Information
There is the possibility to provide meta information with the declation of a DrillingProperty. This is achieved using
specific attributes. The possible attributes are:
PhysicalQuantityAttribute: It takes one argument, which is a value of thePhysicalQuantity.QuantityEnumdefined in the libraryOSDC.UnitConversion.Conversion. This attribute is to be used to declare the physical quantity of the property, more precisely a general quantity that is not further specialized as aDrillingPhysicalQuantity. This attribute shall be defined only once for the property.PhysicalQuantityAttributeandDrillingPhysicalQuantityAttributeare supposed to be exclusive from eachothers, even there is no enforcement of that rule by the compiler.DrillingPhysicalQuantityAttribute: It takes one argument of the typeDrillingPhysicalQuantity.QuantityEnum, which is defined in the libraryOSDC.UnitConversion.Conversion.DrillingEngineering. This attribute is intended to be used for properties that have a physical quantity that is described inDrillingPhysicalQuantity. This attribute shall be defined only once for the property.PhysicalQuantityAttributeandDrillingPhysicalQuantityAttributeare supposed to be exclusive from eachothers, even there is no enforcement of that rule by the compiler.MandatoryAttribute: It takes one argument of the typeCommonProperty.MandatoryType. This attribute is used to inform whethere the property is mandatory and in the affirmative in which context. The valueGeneralmeans that it is always mandatory. The valueNonemeans that it is always optional. Other values can be combined together using a logical "or", therefore allowing to state that the property can be mandatory in one or several context. Example contexts are:Mechanical,Hydraulic,Directional, ... This attribute shall be defined only once for the property.SemanticFactAttribute: It takes three or more arguments:Subject,VerbandObject.SubjectandObjectbelongs to either the enumerationNouns.Enumor astring, whileVerbis a choice from the enumVerbs.Enum. BothNouns.EnumandVerbs.Enumare defined in the libraryDWIS.Vocabulary.Schemaswhich contains the vocabulary defined in the D-WIS project (see D-WIS.org). If there are more than three arguments, the additional one must come in pair and are strings. They correspond toattributeandvaluefor theObject. This attribute is used to defined a true assertion about that property. The use of astringfor theSubjector theObjectis to refer to internal variables of the semantic definition. This attribute can be used multiple times therefore allowing to describe multiple facts about the property, i.e., a semantic network.AbscissaReferenceAttribute: It takes one argument of typeCommonProperty.AbscissaReferenceType. It allows to specify the reference of the property with regards to a curvilinear abscissa coordinate system. For example whether a distance is relative to the top or the bottom of an element.AzimuthReferenceAttribute: It takes one argument of typeCommonProperty.AzimuthReferenceType. It allows to specify the reference of the property with regards to the origin of azimuth.DepthReferenceAttribute: It takes one argument of typeCommonProperty.DepthReferenceType. It allows to specify the reference of the property with regards to the origin of depth.PositionReferenceAttribute: It takes one argument of typeCommonProperty.PositionReferenceType. It allows to specify the reference of the property with regards to the origin of position.PressureReferenceAttribute: It takes one argument of typeCommonProperty.PressureReferenceType. It allows to specify the reference for pressure of the property.
Example
Here is an example:
<pre>
using OSDC.DotnetLibraries.General.DrillingProperties;
using OSDC.UnitConversion.Conversion;
using OSDC.UnitConversion.Conversion.DrillingEngineering;
using DWIS.Vocabulary.Schemas;
namespace DrillingProperties
{
public class TestClass
{
[DrillingPhysicalQuantity(DrillingPhysicalQuantity.QuantityEnum.Depth)]
[DepthReference(CommonProperty.DepthReferenceType.WGS84)]
[Mandatory(CommonProperty.MandatoryType.General)]
[SemanticFact("BitDepth#01", Verbs.Enum.BelongsToClass, Nouns.Enum.BitDepth)]
[SemanticFact("BitDepth#01", Verbs.Enum.BelongsToClass, Nouns.Enum.DerivedMeasurement)]
[SemanticFact("BitDepth#01", Verbs.Enum.IsMechanicallyLocatedAt, "Bit#01")]
[SemanticFact("Bit#01", Verbs.Enum.BelongsToClass, Nouns.Enum.Bit)]
public GaussianDrillingProperty MeasuredBitDepth { get; set; } = new GaussianDrillingProperty();
[PhysicalQuantity(PhysicalQuantity.QuantityEnum.StandardLength)]
[DepthReference(CommonProperty.DepthReferenceType.DrillFloor)]
[Mandatory(CommonProperty.MandatoryType.PipeHandling| CommonProperty.MandatoryType.Mechanical | CommonProperty.MandatoryType.Hydraulic)]
[SemanticFact("BlockPositionSP#01", Verbs.Enum.BelongsToClass, Nouns.Enum.HookPosition)]
[SemanticFact("BlockPositionSP#01", Verbs.Enum.BelongsToClass, Nouns.Enum.SetPoint)]
[SemanticFact("BlockPositionSP#01", Verbs.Enum.IsMechanicallyLocatedAt, "Elevator#01")]
[SemanticFact("Elevator#01", Verbs.Enum.BelongsToClass, Nouns.Enum.Elevator)]
public ScalarDrillingProperty BlockPositionSetPoint { get; set;} = new ScalarDrillingProperty();
[DrillingPhysicalQuantity(DrillingPhysicalQuantity.QuantityEnum.BlockVelocity)]
[Mandatory(CommonProperty.MandatoryType.Mechanical | CommonProperty.MandatoryType.Hydraulic | CommonProperty.MandatoryType.MaterialTransport)]
[SemanticFact("TopOfStringVelocityUpward#01", Verbs.Enum.BelongsToClass, Nouns.Enum.HookVelocity)]
[SemanticFact("TopOfStringVelocityUpward#01", Verbs.Enum.BelongsToClass, Nouns.Enum.Limit)]
[SemanticFact("TopOfStringVelocityUpward#01", Verbs.Enum.IsMechanicallyLocatedAt, Nouns.Enum.DrillString)]
[SemanticFact("TopOfStringVelocityUpward#01", Verbs.Enum.IsPhysicallyLocatedAt, Nouns.Enum.TopOfStringReferenceLocation)]
public UniformDrillingProperty TopOfStringSpeedUpwardLimit { get; set;} = new UniformDrillingProperty();
[DrillingPhysicalQuantity(DrillingPhysicalQuantity.QuantityEnum.Depth)]
[DepthReference(CommonProperty.DepthReferenceType.WGS84)]
[Mandatory(CommonProperty.MandatoryType.None)]
[SemanticFact("EstimatedBitDepth#01", Verbs.Enum.BelongsToClass, Nouns.Enum.BitDepth)]
[SemanticFact("EstimatedBitDepth#01", Verbs.Enum.BelongsToClass, Nouns.Enum.ComputedData)]
[SemanticFact("EstimatedBitDepth#01", Verbs.Enum.IsMechanicallyLocatedAt, "Bit#01")]
[SemanticFact("Bit#01", Verbs.Enum.BelongsToClass, Nouns.Enum.Bit)]
[SemanticFact("TransientT&D#01", Verbs.Enum.BelongsToClass, Nouns.Enum.ComputationUnit)]
[SemanticFact("TransientT&D#01", Verbs.Enum.BelongsToClass, Nouns.Enum.ModelledDegreeOfFreedom, "DegreeOfFreedom", "4")]
[SemanticFact("EstimatedBitDepth#01", Verbs.Enum.IsComputationOutput, "TransientT&D#01")]
public GeneralDistributionDrillingProperty EstimatedBitDepth { get; set; } = new GeneralDistributionDrillingProperty();
}
class Example
{
static void Main()
{
TestClass testClass = new TestClass();
testClass.MeasuredBitDepth.GaussianValue.Mean = 1000.0;
testClass.MeasuredBitDepth.GaussianValue.StandardDeviation = 0.1;
testClass.BlockPositionSetPoint.DiracDistributionValue.Value = 10.0;
testClass.TopOfStringSpeedUpwardLimit.UniformValue.Min = 0.10;
testClass.TopOfStringSpeedUpwardLimit.UniformValue.Max = 0.11;
testClass.EstimatedBitDepth.GeneralDistributionValue.Function = new Tuple<double, double>[]
{
new Tuple<double, double>(999.8, 0.05),
new Tuple<double, double>(999.9, 0.10),
new Tuple<double, double>(1000.0, 0.25),
new Tuple<double, double>(1000.1, 0.50),
new Tuple<double, double>(1000.2, 0.08),
new Tuple<double, double>(1000.3, 0.02)
};
}
}
}```
</pre>
# Transfer of Meta Information via Json
Json does not support the possibility to define attributes (C#), annotations (Java), decoration (Python) in a json schema.
As most data exchanges utilize json formatting for the payload, another way to convey the meta information had to be found.
An additional attribute has been added. It is called `MetaDataIDAttribute`. It has one argument of type `Guid`. This allows to
define a unique identification to the set of attributes that are associated with the `DrillingProperty`. Furthermore, a static
method `GenerateDrillingPropertyMetaData.GetDrillingPropertyMetaData` is available to generate a dictionary of `DrillingProperty`
described in an `Assembly`. The keys of the dictionary are the `Guid` associated with the `DrillingProperty` and the values are
instances of the class `MetaDataDrillingProperty`. A `MetaDataDrillingProperty` has the following properties:
- `Namespace`, a string that contains the namespace of the class where this property is defined
- `ClassName`, a string that contains the class name where this property is defined
- `PropertyName`, a string that contains the name of the property
- `AbscissaReferenceType`, which is of type `CommonProperty.AbscissaReferenceType?`
- `AzimuthReferenceType`, which is of type `CommonProperty.AzimuthReferenceType?`
- `DepthReferenceType`, which is of type `CommonProperty.DepthReferenceType?`
- `MandatoryType`, which is of type `CommonProperty.MandatoryType?`
- `PositionReferenceType`, which is of type `CommonProperty.PositionReferenceType?`
- `PressureReferenceType`, which is of type `CommonProperty.PressureReferenceType?`
- `PhysicalQuantity`, which is of type `PhysicalQuantity.QuantityEnum?`
- `DrillingPhysicalQuantity`, which is of type `DrillingPhysicalQuantity.QuantityEnum?`
- `SemanticFacts`, which is of type `List<SemanticFact>?`
This method can be used to generate the meta information of all the properties defined in an `Assembly`.
The dictionary can be serialized to json and stored on a file together with the json schema to supplement the data model with the attributes, annotations, decorations
that could not be saved inside the json schema.
In the context of the generation of code from a json schema, the dictionary can be used to add attributes (C#), annotations (Java) or decoration (Python)
to the generated properties in the classes.
In the context of a micro-service architecture, the generated dictionary can thereafater been made available through the `Get` interface of a
specific end-point of the micro-service.
When an instance of a class that utilizes `DrillingProperty` is serialized to json, the property `MetaDataID` indicates the `Guid`
of the corresponding entry in the generated dictionary. It is therefore possible for the receiving application to get the specific
meta information for that property.
The `MetaDataID` could have been filled in during serialization by reading the attribute `MetaDataIDAttribute` associated with
the property, however such a solution would have required to pass to the Json serialization function specific json converters
each time it is called. The risk of forgetting to pass the converters is relatively high and therefore a simpler strategy has been chosen: the `Guid` defined by `MetaDataIDAttribute` is passed to the constructor of the
`DrillingProperty`. This requires the programmer to copy paste the `Guid`, which is not very elegant, but on the other hand
the problem is fixed once for all for each definition of `DrillingProperty`.
Note that a simple way to generate `Guid` is to visit [guidgenerator.com](https://guidgenerator.com/online-guid-generator.aspx).
## Example
Here is an example.
<pre>
```csharp
using OSDC.DotnetLibraries.General.DrillingProperties;
using OSDC.UnitConversion.Conversion;
using OSDC.UnitConversion.Conversion.DrillingEngineering;
using DWIS.Vocabulary.Schemas;
using System.Reflection;
using System.Text.Json;
namespace DrillingProperties
{
public class TestClass
{
[DrillingPhysicalQuantity(DrillingPhysicalQuantity.QuantityEnum.Depth)]
[DepthReference(CommonProperty.DepthReferenceType.WGS84)]
[Mandatory(CommonProperty.MandatoryType.General)]
[SemanticFact("BitDepth#01", Verbs.Enum.BelongsToClass, Nouns.Enum.BitDepth)]
[SemanticFact("BitDepth#01", Verbs.Enum.BelongsToClass, Nouns.Enum.DerivedMeasurement)]
[SemanticFact("BitDepth#01", Verbs.Enum.IsMechanicallyLocatedAt, "Bit#01")]
[SemanticFact("Bit#01", Verbs.Enum.BelongsToClass, Nouns.Enum.Bit)]
[MetaDataID("1532f187-99d3-42d2-a99d-d579b94cb55e")]
public GaussianDrillingProperty MeasuredBitDepth { get; set; } = new GaussianDrillingProperty("1532f187-99d3-42d2-a99d-d579b94cb55e");
[PhysicalQuantity(PhysicalQuantity.QuantityEnum.StandardLength)]
[DepthReference(CommonProperty.DepthReferenceType.DrillFloor)]
[Mandatory(CommonProperty.MandatoryType.PipeHandling | CommonProperty.MandatoryType.Mechanical | CommonProperty.MandatoryType.Hydraulic)]
[SemanticFact("BlockPositionSP#01", Verbs.Enum.BelongsToClass, Nouns.Enum.HookPosition)]
[SemanticFact("BlockPositionSP#01", Verbs.Enum.BelongsToClass, Nouns.Enum.SetPoint)]
[SemanticFact("BlockPositionSP#01", Verbs.Enum.IsMechanicallyLocatedAt, "Elevator#01")]
[SemanticFact("Elevator#01", Verbs.Enum.BelongsToClass, Nouns.Enum.Elevator)]
[MetaDataID("fe1e95a1-fa56-4d7f-9db3-98719edfd485")]
public ScalarDrillingProperty BlockPositionSetPoint { get; set; } = new ScalarDrillingProperty("fe1e95a1-fa56-4d7f-9db3-98719edfd485");
[DrillingPhysicalQuantity(DrillingPhysicalQuantity.QuantityEnum.BlockVelocity)]
[Mandatory(CommonProperty.MandatoryType.Mechanical | CommonProperty.MandatoryType.Hydraulic | CommonProperty.MandatoryType.MaterialTransport)]
[SemanticFact("TopOfStringVelocityUpward#01", Verbs.Enum.BelongsToClass, Nouns.Enum.HookVelocity)]
[SemanticFact("TopOfStringVelocityUpward#01", Verbs.Enum.BelongsToClass, Nouns.Enum.Limit)]
[SemanticFact("TopOfStringVelocityUpward#01", Verbs.Enum.IsMechanicallyLocatedAt, Nouns.Enum.DrillString)]
[SemanticFact("TopOfStringVelocityUpward#01", Verbs.Enum.IsPhysicallyLocatedAt, Nouns.Enum.TopOfStringReferenceLocation)]
[MetaDataID("a7378c62-c17b-4031-a711-e9f36d44ee3f")]
public UniformDrillingProperty TopOfStringSpeedUpwardLimit { get; set; } = new UniformDrillingProperty("a7378c62-c17b-4031-a711-e9f36d44ee3f");
[DrillingPhysicalQuantity(DrillingPhysicalQuantity.QuantityEnum.Depth)]
[DepthReference(CommonProperty.DepthReferenceType.WGS84)]
[Mandatory(CommonProperty.MandatoryType.None)]
[SemanticFact("EstimatedBitDepth#01", Verbs.Enum.BelongsToClass, Nouns.Enum.BitDepth)]
[SemanticFact("EstimatedBitDepth#01", Verbs.Enum.BelongsToClass, Nouns.Enum.ComputedData)]
[SemanticFact("EstimatedBitDepth#01", Verbs.Enum.IsMechanicallyLocatedAt, "Bit#01")]
[SemanticFact("Bit#01", Verbs.Enum.BelongsToClass, Nouns.Enum.Bit)]
[MetaDataID("1d30f759-6979-4996-a3bd-d42f991d2392")]
public GeneralDistributionDrillingProperty EstimatedBitDepth { get; set; } = new GeneralDistributionDrillingProperty("1d30f759-6979-4996-a3bd-d42f991d2392");
}
class Example
{
static void Main()
{
TestClass testClass = new TestClass();
testClass.MeasuredBitDepth.GaussianValue.Mean = 1000.0;
testClass.MeasuredBitDepth.GaussianValue.StandardDeviation = 0.1;
testClass.BlockPositionSetPoint.DiracDistributionValue.Value = 10.0;
testClass.TopOfStringSpeedUpwardLimit.UniformValue.Min = 0.10;
testClass.TopOfStringSpeedUpwardLimit.UniformValue.Max = 0.11;
testClass.EstimatedBitDepth.GeneralDistributionValue.Function = new Tuple<double, double>[]
{
new Tuple<double, double>(999.8, 0.05),
new Tuple<double, double>(999.9, 0.10),
new Tuple<double, double>(1000.0, 0.25),
new Tuple<double, double>(1000.1, 0.50),
new Tuple<double, double>(1000.2, 0.08),
new Tuple<double, double>(1000.3, 0.02)
};
var dict = GenerateDrillingPropertyMetaData.GetDrillingPropertyMetaData(Assembly.GetExecutingAssembly());
string json = JsonSerializer.Serialize(testClass);
Console.WriteLine("Serialization of instance in json:");
Console.WriteLine(json);
Console.WriteLine();
if (dict != null)
{
Console.WriteLine("Drilling Property Dictionary");
foreach (var keyValue in dict)
{
Console.WriteLine(keyValue.Key + "=" + JsonSerializer.Serialize(keyValue.Value));
}
}
}
}
}
</pre>
The output is the following:
<pre> Serialization of instance in json: {"MeasuredBitDepth":{"GaussianValue":{"Mean":1000,"StandardDeviation":0.1,"MinValue":-1.7976931348623157E+308,"MaxValue":1.7976931348623157E+308},"MetaDataID":"1532f187-99d3-42d2-a99d-d579b94cb55e"},"BlockPositionSetPoint":{"DiracDistributionValue":{"Value":10,"MinValue":-1.7976931348623157E+308,"MaxValue":1.7976931348623157E+308},"MetaDataID":"fe1e95a1-fa56-4d7f-9db3-98719edfd485"},"TopOfStringSpeedUpwardLimit":{"UniformValue":{"Min":0.1,"Max":0.11,"MinValue":-1.7976931348623157E+308,"MaxValue":1.7976931348623157E+308},"MetaDataID":"a7378c62-c17b-4031-a711-e9f36d44ee3f"},"EstimatedBitDepth":{"GeneralDistributionValue":{"Function":[{"Item1":999.8,"Item2":0.05},{"Item1":999.9,"Item2":0.1},{"Item1":1000,"Item2":0.25},{"Item1":1000.1,"Item2":0.5},{"Item1":1000.2,"Item2":0.08},{"Item1":1000.3,"Item2":0.02}],"NumberOfHistrogramPoints":20,"Data":[],"MinValue":-1.7976931348623157E+308,"MaxValue":1.7976931348623157E+308},"MetaDataID":"1d30f759-6979-4996-a3bd-d42f991d2392"}}
Drilling Property Dictionary 1532f187-99d3-42d2-a99d-d579b94cb55e={"Namespace":"DrillingProperties","ClassName":"TestClass","PropertyName":"MeasuredBitDepth","DepthReferenceType":1,"MandatoryType":65535,"DrillingPhysicalQuantity":3,"SemanticFacts":[{"SubjectName":"BitDepth#01","Verb":59,"Object":79,"ObjectAttributes":[]},{"SubjectName":"BitDepth#01","Verb":59,"Object":138,"ObjectAttributes":[]},{"SubjectName":"BitDepth#01","Verb":95,"ObjectName":"Bit#01","ObjectAttributes":[]},{"SubjectName":"Bit#01","Verb":59,"Object":163,"ObjectAttributes":[]}]} fe1e95a1-fa56-4d7f-9db3-98719edfd485={"Namespace":"DrillingProperties","ClassName":"TestClass","PropertyName":"BlockPositionSetPoint","DepthReferenceType":2,"MandatoryType":19,"PhysicalQuantity":65,"SemanticFacts":[{"SubjectName":"BlockPositionSP#01","Verb":59,"Object":91,"ObjectAttributes":[]},{"SubjectName":"BlockPositionSP#01","Verb":59,"Object":124,"ObjectAttributes":[]},{"SubjectName":"BlockPositionSP#01","Verb":95,"ObjectName":"Elevator#01","ObjectAttributes":[]},{"SubjectName":"Elevator#01","Verb":59,"Object":182,"ObjectAttributes":[]}]} a7378c62-c17b-4031-a711-e9f36d44ee3f={"Namespace":"DrillingProperties","ClassName":"TestClass","PropertyName":"TopOfStringSpeedUpwardLimit","MandatoryType":11,"DrillingPhysicalQuantity":0,"SemanticFacts":[{"SubjectName":"TopOfStringVelocityUpward#01","Verb":59,"Object":92,"ObjectAttributes":[]},{"SubjectName":"TopOfStringVelocityUpward#01","Verb":59,"Object":134,"ObjectAttributes":[]},{"SubjectName":"TopOfStringVelocityUpward#01","Verb":95,"Object":176,"ObjectAttributes":[]},{"SubjectName":"TopOfStringVelocityUpward#01","Verb":99,"Object":274,"ObjectAttributes":[]}]} 1d30f759-6979-4996-a3bd-d42f991d2392={"Namespace":"DrillingProperties","ClassName":"TestClass","PropertyName":"EstimatedBitDepth","DepthReferenceType":1,"MandatoryType":0,"DrillingPhysicalQuantity":3,"SemanticFacts":[{"SubjectName":"EstimatedBitDepth#01","Verb":59,"Object":79,"ObjectAttributes":[]},{"SubjectName":"EstimatedBitDepth#01","Verb":59,"Object":140,"ObjectAttributes":[]},{"SubjectName":"EstimatedBitDepth#01","Verb":95,"ObjectName":"Bit#01","ObjectAttributes":[]},{"SubjectName":"Bit#01","Verb":59,"Object":163,"ObjectAttributes":[]}]} </pre>
Dependence
This library depends on the following nugets:
DWIS.Vocabulary.SchemasOSDC.DotnetLibraries.General.StatisticsOSDC.UnitConversion.Conversion.DrillingEngineering
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- DWIS.Vocabulary.Schemas (>= 1.0.62)
- OSDC.DotnetLibraries.General.Statistics (>= 1.0.9)
- OSDC.UnitConversion.Conversion.DrillingEngineering (>= 1.0.27)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OSDC.DotnetLibraries.General.DrillingProperties:
| Package | Downloads |
|---|---|
|
OSDC.DotnetLibraries.General.Surveying
Standard surveying calculations |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.5 | 335 | 2/7/2024 |
| 1.1.4 | 214 | 2/7/2024 |
| 1.1.3 | 201 | 1/22/2024 |
| 1.1.2 | 176 | 1/20/2024 |
| 1.1.1 | 183 | 1/20/2024 |
| 1.1.0 | 276 | 11/13/2023 |
| 1.0.7 | 205 | 11/6/2023 |
| 1.0.6 | 190 | 11/6/2023 |
| 1.0.5 | 182 | 11/5/2023 |
| 1.0.4 | 177 | 11/3/2023 |
| 1.0.3 | 188 | 11/3/2023 |
| 1.0.2 | 163 | 11/3/2023 |
| 1.0.1 | 176 | 11/3/2023 |
| 1.0.0 | 167 | 11/3/2023 |