cs_productVolumeFlow.xsd 7.96 KB
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema 
	elementFormDefault="qualified" 
	attributeFormDefault="unqualified" 
	targetNamespace="http://www.witsml.org/schemas/131/addendum/combo" 
	xmlns:witsml="http://www.witsml.org/schemas/131/addendum/combo" 
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	version="1.3.1">
	<!--                                                         -->
	<!-- POSC License Agreement
	This file is distributed under the POSC License Agreement at
	http://www.posc.org/about/license.shtml.
	Use of this file constitutes agreement with the POSC License Agreement.
	-->
	<!--                                                         -->
	<xsd:include schemaLocation="cs_productVolumeRelatedFacility.xsd"/>
	<xsd:include schemaLocation="cs_productVolumeProduct.xsd"/>
	<xsd:include schemaLocation="cs_productVolumelPortDifference.xsd"/>
	<xsd:include schemaLocation="cs_datedComment.xsd"/>
	<xsd:include schemaLocation="typ_catalog_prodVol.xsd"/>
	<xsd:include schemaLocation="attgrp_uid.xsd"/>
	<!--                                                         -->
	<xsd:complexType name="cs_productVolumeFlow">
		<xsd:annotation>
			<xsd:documentation>WITSML - Product Volume Flow Component Schema.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The name of this flow within the context of this report.
					This might reflect some combination of the kind of flow, port, qualifier and related facility.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="kind" type="witsml:ReportingFlow" minOccurs="1" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Indicates the type of flow that is being reported.
					The type of flow is an indication of the overall source or target of the flow.
					A production flow has one or more wells as the originating source.
					An injection flow has one or more wells as the ultimate target.
					An import flow has an offsite source.
					An export flow has an offiste target.
					A consumption flow generally has a kind of equipment as a target.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:choice minOccurs="1" maxOccurs="1">
				<xsd:element name="port" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
					<xsd:annotation>
						<xsd:documentation>The Product Flow Port to which the flow is assigned.
						This is the port on the Product Flow Unit that represents the facility.
						Only one flow should be assigned to each port within the context of this report.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="direction" type="witsml:ProductFlowPortType" minOccurs="0" maxOccurs="1">
					<xsd:annotation>
						<xsd:documentation>The kind of port that this flow represents: inlet or outlet.
						This should only be specified if a Product Flow Model is not being referenced.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
			<xsd:element name="qualifier" type="witsml:FlowQualifier" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Qualifies the type of flow that is being reported.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="relatedFacility" type="witsml:cs_productVolumeRelatedFacility" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>A second facility related to this flow. 
					For a production flow, this would represent a role of 'produced for'.
					For an import flow, this would represent a role of 'inport from'.
					For an export flow, this would represent a role of 'export to'.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="version" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>A timestamp representing the version of this data. 
					A flow (same port and products) with a more recent timestamp will represent 
					the "current" version.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="sourceFlow" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>This is a pointer to the flow from which this flow was derived.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="gor" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Gas oil ratio. The ratio between the total produced gas volume and the total produced
					oil volume including oil and gas volumes used on the installation.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="gorMTD" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Gas oil ratio month to date. The gas oil ratio from the beginning of the month 
					to the end of the reporting priod.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="waterConcMass" type="witsml:massConcentrationMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Water concentration mass basis. 
					The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="waterConcVol" type="witsml:volumePerVolumeMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Water concentration volume basis.
					The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="atmosphere" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>The average atmospheric pressure during the reporting period.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="temp" type="witsml:thermodynamicTemperatureMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Temperature of the port. Specifying the temperature here (as opposed to in Period)
					implies that the temperature is constant for all periods of the flow.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="pres" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Pressure of the port. Specifying the pressure here (as opposed to in Period)
					implies that the pressure is constant for all periods of the flow.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="absoluteMinPres" type="witsml:pressureMeasure" minOccurs="0" maxOccurs="1">
				<xsd:annotation>
					<xsd:documentation>Absolute minimum pressure before the system will give an alarm.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="portDiff" type="witsml:cs_productVolumelPortDifference" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>The internal differences between this port and one other port on this unit.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="product" type="witsml:cs_productVolumeProduct" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>Reports a product flow stream.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="comment" type="witsml:cs_datedComment" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>A timestamped remark about the flow.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
		<xsd:attributeGroup ref="witsml:attgrp_uid">
			<xsd:annotation>
			<xsd:documentation>Unique identifier for the Product Volume Flow.  </xsd:documentation>
			</xsd:annotation>
		</xsd:attributeGroup>
	</xsd:complexType>
</xsd:schema>