cs_productFlowUnit.xsd
4.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?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_productFlowPort.xsd"/>
<xsd:include schemaLocation="typ_dataTypes_New.xsd"/>
<xsd:include schemaLocation="attgrp_uid.xsd"/>
<!-- -->
<xsd:complexType name="cs_productFlowUnit">
<xsd:annotation>
<xsd:documentation>WITSML - Product Flow Unit Component Schema.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="witsml:nameString" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The name of the Product Flow Unit within the
context of the Product Flow Network.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="facility" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The name of the facility for which this Product Flow Unit
describes fluid flow connecton behavior. The name can be qualified by a naming system.
This also defines the kind of facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="facilityParent1" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>For facilities whose name is unique within the context of another
facility, the name of the parent facility this named facility.
The name can be qualified by a naming system.
This also defines the kind of facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="facilityParent2" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>For facilities whose name is unique within the context of another
facility, the name of the parent facility of facilityParent1.
The name can be qualified by a naming system.
This also defines the kind of facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="contextFacility" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The name and type of a facility whose context is relevant to the represented facility.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="port" type="witsml:cs_productFlowPort" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>An inlet or outlet port associated with this unit.
If there is an internal network then the name of this port must match the name of
an external port for that network.
Any properties (e.g., volume, pressure, temperature) that are assigned to this port
are inherently assigned to the corresponding external port on the internal network.
That is, the ports are logically the same port.
Similar to a node, there is no pressure drop across a port.
Also similar to a node, conservation of mass exists across the port and
the flow direction across the port can change over time if the relative pressures
across connected units change.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>"A descriptive remark associated with this unit.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="witsml:attgrp_uid">
<xsd:annotation>
<xsd:documentation>Unique identifier for the Unit.</xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
</xsd:complexType>
</xsd:schema>