PVT Model Descriptions
We need to add descriptions from Proposal doc into the current schema PVT Model (all four)
Black Oil Table
Click to expand
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"BlackOilTableID": {
"type": "string",
"description": "Reference to the OSDU BlackOilTable WPC",
"pattern": "^[\\w\\-\\.]+:work-product-component\\-\\-BlackOilTable:[\\w\\-\\.\\:\\%]+:[0-9]*$"
},
"UnitSystem": {
"type": "string"
},
"Temperature": {
"type": "object",
"description": "The value and unit of measure of the temperature of the sample environment",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"SaturationPressure": {
"type": "object",
"description": "The pressure at which a fluid within a sample begins to change from a liquid to a gaseous state",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Salinity": {
"type": "object",
"description": "Measure of dissolved salts in a sample",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"SalinitySource": {
"type": "string"
},
"SeparatorTrain": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Temperature": {
"type": "object",
"description": "The value and unit of measure of the temperature of the sample environment",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Pressure": {
"type": "object",
"description": "The value and unit of measure of the pressure of the sample environment",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"Gas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"SubTableIndex": {
"type": "string",
"description": "Index number for this element of this subtable"
},
"SurfaceDensity": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Pressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"SolutionGasOilRatio": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"FormationVolumeFactor": {
"type": "object",
"description": "Ratio of the volume of gas at reservoir conditions of temperature and pressure to the volume at surface conditions",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Viscosity": {
"type": "object",
"description": "A measure of the internal resistance of a fluid to flow against itself",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"Oil": {
"type": "array",
"items": {
"type": "object",
"properties": {
"SubTableIndex": {
"type": "string",
"description": "Index number for this element of this subtable"
},
"SurfaceDensity": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Pressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"SolutionGasOilRatio": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"FormationVolumeFactor": {
"type": "object",
"description": "Ratio of the volume of gas at reservoir conditions of temperature and pressure to the volume at surface conditions",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Viscosity": {
"type": "object",
"description": "A measure of the internal resistance of a fluid to flow against itself",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"Water": {
"type": "array",
"items": {
"type": "object",
"properties": {
"SubTableIndex": {
"type": "string",
"description": "Index number for this element of this subtable"
},
"SurfaceDensity": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Pressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"FormationVolumeFactor": {
"type": "object",
"description": "Ratio of the volume of gas at reservoir conditions of temperature and pressure to the volume at surface conditions",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Viscosity": {
"type": "object",
"description": "A measure of the internal resistance of a fluid to flow against itself",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Compressibility": {
"type": "object",
"description": "Volume change of a sample when pressure is applied",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"ViscosityCompressibility": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false,
"required": [
"BlackOilTableID"
]
}
Component Scenario
Click to expand
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"description": "A set of components based on sample compositional analyses, hypothetical values or consolidations used in creation of a model",
"properties": {
"ComponentScenarioID": {
"type": "string",
"description": "OSDU Identifier for this Component Scenario",
"pattern": "^[\\w\\-\\.]+:work-product-component\\-\\-ComponentScenario:[\\w\\-\\.\\:\\%]+:[0-9]*$"
},
"ComponentScenarioName": {
"type": "string",
"description": "Business Name for this Component Scenario"
},
"ComponentMoleFraction": {
"type": "array",
"description": "Array Object containing the mole fractions for each component in this scenario",
"items": {
"type": "object",
"properties": {
"ComponentName": {
"type": "string",
"description": "The name of this molecular component"
},
"MoleFraction": {
"type": "object",
"description": "Number of molecules of a particular component divided by the total number of moles in a given mixture",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"ComponentConsolidationMethod": {
"type": "string",
"description": "Description of the methods used to derive the component mole fractions"
}
},
"additionalProperties": false,
"required": [
"ComponentScenarioID"
]
}
EOS Report
Click to expand
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"description": "Equation of State Model schema, including the method in which the equation of state was created, the method of viscosity correlation, viscosity coefficients, components, and binary interaction parameters",
"properties": {
"EoSMethod": {
"type": "string",
"title": "Equation of State Method",
"description": "The EoS Method, e.g. Peng-Robinson"
},
"ViscosityCorrelationMethod": {
"type": "string",
"title": "Viscosity Correlation Method",
"description": "The VC Method, e.g. Lohrenz"
},
"Components": {
"type": "array",
"description": "Array Object containing the molecular components used in the creation of this equation of state",
"items": {
"type": "object",
"properties": {
"ComponentName": {
"type": "string",
"description": "The name of this component"
},
"MolecularWeight": {
"type": "object",
"description": "molecular weight of this component",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"StdGravity": {
"type": "number",
"description": "nominal gravitational acceleration of an object in a vacuum near the surface of the Earth"
},
"BoilingPoint": {
"type": "object",
"description": "temperature at which the component transitions from liquid to gas",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"CriticalTemperature": {
"type": "object",
"description": "the temperature at and above which vapor of the substance cannot be liquefied, no matter how much pressure is applied (Purdue)",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"CriticalPressure": {
"type": "object",
"description": "pressure required to liquefy a gas at its critical temperature (Purdue)",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"CriticalVolume": {
"type": "object",
"description": "volume occupied by 1 mole of gas at critical temperature and pressure",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"VolumeTranslationFactor": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"ShiftFactor": {
"type": "number"
},
"AcentricFactor": {
"type": "number"
},
"OmegaA": {
"type": "number"
},
"OmegaB": {
"type": "number"
},
"Parachor": {
"type": "number",
"description": "an empirical constant for a liquid that relates the surface tension to the molecular volume"
}
},
"additionalProperties": false
}
},
"BinaryInteractionParameters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ComponentName1": {
"type": "string"
},
"ComponentName2": {
"type": "string"
},
"Value": {
"type": "number"
}
},
"additionalProperties": false
}
},
"ViscosityCoefficient": {
"type":"array",
"items": {
"type": "object",
"properties": {
"LBCCoefficient1": {
"type": "number"
},
"LBCCoefficient2": {
"type": "number"
},
"LBCCoefficient3": {
"type": "number"
},
"LBCCoefficient4": {
"type": "number"
},
"LBCCoefficient5": {
"type": "number"
},
"LBCCoefficient6": {
"type": "number"
},
"FluidType": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-SampleType:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
Multiphase Flow Meter (MPFM)
Click to expand
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"description": "Calibration Tables for Multi Phase Flow Meters, e.g. 5x5 or 11x11 tables",
"properties": {
"MeterType": {
"type": "string",
"description": "Meter type for this calibration"
},
"SeparatorTrain": {
"type": "array",
"description": "Separator Train for this calibration",
"items": {
"type": "object",
"properties": {
"Temperature": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Pressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"Salinity": {
"type": "object",
"description": "Measure of dissolved salts in a sample",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"CalibrationDate": {
"type": "string",
"format": "date-time"
},
"Calibrations": {
"type": "array",
"description": "Array of temperature pressure calibration tables",
"items": {
"type": "object",
"properties": {
"Temperature": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Pressure": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"Calibration": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
},
"Type": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"MultiFlash": {
"type": "string",
"description": "text contents of a multiflash file for this calibration, if any"
},
"GasOilRatio": {
"type": "number",
"description": "ratio of the volume of gas to the volume of oil in the sample"
},
"OilDensity": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"GasDensity": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
},
"WaterDensity": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"UnitOfMeasure": {
"type": "string",
"pattern": "^[\\w\\-\\.]+:reference-data\\-\\-UnitOfMeasure:[\\w\\-\\.\\:\\%]+:[0-9]*$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
Edited by Michael Jones