David Price

Fixed WellProduction table and added test cases

...@@ -3572,16 +3572,18 @@ mpr-tables:WellProductionFlows ...@@ -3572,16 +3572,18 @@ mpr-tables:WellProductionFlows
3572 [ sp:varName "productFlowInMonthMaterial"^^xsd:string 3572 [ sp:varName "productFlowInMonthMaterial"^^xsd:string
3573 ] 3573 ]
3574 ] [ sp:object 3574 ] [ sp:object
3575 - [ sp:varName "productFlowInMonthMaterial"^^xsd:string 3575 + [ sp:varName "productionFlowMixedPart"^^xsd:string
3576 ] ; 3576 ] ;
3577 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 3577 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3578 sp:subject 3578 sp:subject
3579 - [ sp:varName "quantityofmaterialinaspecifiedstate"^^xsd:string 3579 + [ sp:varName "partOfProductionFlowMixedPart"^^xsd:string
3580 ] 3580 ]
3581 - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; 3581 + ] [ sp:object
3582 - sp:predicate rdf:type ;
3583 - sp:subject
3584 [ sp:varName "quantityofmaterialinaspecifiedstate"^^xsd:string 3582 [ sp:varName "quantityofmaterialinaspecifiedstate"^^xsd:string
3583 + ] ;
3584 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
3585 + sp:subject
3586 + [ sp:varName "partOfProductionFlowMixedPart"^^xsd:string
3585 ] 3587 ]
3586 ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterialInASpecifiedState> ; 3588 ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterialInASpecifiedState> ;
3587 sp:predicate rdf:type ; 3589 sp:predicate rdf:type ;
......
1 +<!DOCTYPE html>
2 +<html>
3 + <head>
4 + <META http-equiv="Content-Type" content="text/html; charset=utf-8">
5 + <link href="http://spinrdf.org/rhlib/ddr.css" rel="stylesheet" type="text/css">
6 + <title>Monthly Production Report (government)</title>
7 + </head>
8 + <body>
9 + <h1>Monthly Government Report : &Aring;SGARD Field, Month Ending 2012-01-31</h1>
10 + <h2>Report title : &Aring;SGARD</h2>
11 + <h2>Report version : 2.0</h2>
12 + <h2>Report Status : final version of a report</h2>
13 + <h2>Submitted by : &Aring;SGARD</h2>
14 + <div>
15 + <hr>
16 + <h2>Production Saleable</h2>
17 + <table class="ddrTable">
18 + <tr class="ddrTR">
19 + <th class="ddrTH" style="text-align: center">Facility</th><th class="ddrTH" style="text-align: center">Purpose</th><th class="ddrTH" style="text-align: center">Material</th><th class="ddrTH" style="text-align: center">Mass</th><th class="ddrTH" style="text-align: center">Volume</th><th class="ddrTH" style="text-align: center">Density</th><th class="ddrTH" style="text-align: center">Flow&nbsp;type</th><th class="ddrTH" style="text-align: center">Gross/Net</th>
20 + </tr>
21 + <tr class="ddrTR">
22 + <td class="ddrTD">&Aring;SGARD</td><td class="ddrTD">production exploitation</td><td class="ddrTD">oil net</td><td class="ddrTD">35514558.02 kg</td><td class="ddrTD">217477.72 m3</td><td class="ddrTD">762.18 kg/m3</td><td class="ddrTD">saleable flow</td><td class="ddrTD">net product flow</td>
23 + </tr>
24 + </table>
25 + <br>
26 + </div>
27 + </body>
28 +</html>
1 +<!DOCTYPE html>
2 +<html>
3 + <head>
4 + <META http-equiv="Content-Type" content="text/html; charset=utf-8">
5 + <link href="http://spinrdf.org/rhlib/ddr.css" rel="stylesheet" type="text/css">
6 + <title>Monthly Production Report (government)</title>
7 + </head>
8 + <body>
9 + <h1>Monthly Government Report : TRYM Field, Month Ending 2012-02-29</h1>
10 + <h2>Report title : TRYM</h2>
11 + <h2>Report version : 1.0</h2>
12 + <h2>Report Status : final version of a report</h2>
13 + <h2>Submitted by : TRYM</h2>
14 + <div>
15 + <hr>
16 + <h2>Gas Sales</h2>
17 + <table class="ddrTable">
18 + <tr class="ddrTR">
19 + <th class="ddrTH" style="text-align: center">Facility</th><th class="ddrTH" style="text-align: center">Purpose</th><th class="ddrTH" style="text-align: center">Material</th><th class="ddrTH" style="text-align: center">Flow&nbsp;type</th><th class="ddrTH" style="text-align: center">Seller</th><th class="ddrTH" style="text-align: center">Seller&nbsp;Volume</th><th class="ddrTH" style="text-align: center">Seller&nbsp;Work</th><th class="ddrTH" style="text-align: center">Buyer</th><th class="ddrTH" style="text-align: center">Buyer&nbsp;Volume</th><th class="ddrTH" style="text-align: center">Buyer&nbsp;Work</th>
20 + </tr>
21 + <tr class="ddrTR">
22 + <td class="ddrTD">NYBRO</td><td class="ddrTD">flow to sale</td><td class="ddrTD">gas - dry</td><td class="ddrTD">allocated flow</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">1257.49 m3</td><td class="ddrTD">57378.27 MJ</td><td class="ddrTD">DONG DK</td><td class="ddrTD">166.78 m3</td><td class="ddrTD">49208.46 MJ</td>
23 + </tr>
24 + <tr class="ddrTR">
25 + <td class="ddrTD">NYBRO</td><td class="ddrTD">flow to sale</td><td class="ddrTD">gas - dry</td><td class="ddrTD">allocated flow</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">1257.49 m3</td><td class="ddrTD">57378.27 MJ</td><td class="ddrTD">EXXONMOBIL GAS DE</td><td class="ddrTD">445.86 m3</td><td class="ddrTD">18743.95 MJ</td>
26 + </tr>
27 + <tr class="ddrTR">
28 + <td class="ddrTD">NYBRO</td><td class="ddrTD">flow to sale</td><td class="ddrTD">gas - dry</td><td class="ddrTD">allocated flow</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">1257.49 m3</td><td class="ddrTD">57378.27 MJ</td><td class="ddrTD">NATURGAS VEST</td><td class="ddrTD">644.85 m3</td><td class="ddrTD">57939.04 MJ</td>
29 + </tr>
30 + <tr class="ddrTR">
31 + <td class="ddrTD">NYBRO</td><td class="ddrTD">flow to sale</td><td class="ddrTD">gas - dry</td><td class="ddrTD">allocated flow</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">1570.53 m3</td><td class="ddrTD">20380.92 MJ</td><td class="ddrTD">DONG DK</td><td class="ddrTD">1570.53 m3</td><td class="ddrTD">23986.6 MJ</td>
32 + </tr>
33 + <tr class="ddrTR">
34 + <td class="ddrTD">NYBRO</td><td class="ddrTD">flow to sale</td><td class="ddrTD">gas - dry</td><td class="ddrTD">allocated flow</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">273.64 m3</td><td class="ddrTD">69275.09 MJ</td><td class="ddrTD">EXXONMOBIL GAS DE</td><td class="ddrTD">178.85 m3</td><td class="ddrTD">70561.21 MJ</td>
35 + </tr>
36 + <tr class="ddrTR">
37 + <td class="ddrTD">NYBRO</td><td class="ddrTD">flow to sale</td><td class="ddrTD">gas - dry</td><td class="ddrTD">allocated flow</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">273.64 m3</td><td class="ddrTD">69275.09 MJ</td><td class="ddrTD">NATURGAS VEST</td><td class="ddrTD">94.79 m3</td><td class="ddrTD">20148.59 MJ</td>
38 + </tr>
39 + </table>
40 + <br>
41 + </div>
42 + <div>
43 + <hr>
44 + <h2>Well Production</h2>
45 + <table class="ddrTable">
46 + <tr class="ddrTR">
47 + <th class="ddrTH" style="text-align: center">Wellbore</th><th class="ddrTH" style="text-align: center">Status</th><th class="ddrTH" style="text-align: center">Purpose</th><th class="ddrTH" style="text-align: center">Material</th><th class="ddrTH" style="text-align: center">Volume</th><th class="ddrTH" style="text-align: center">Day</th><th class="ddrTH" style="text-align: center">Flow&nbsp;type</th><th class="ddrTH" style="text-align: center">Gross/Net</th>
48 + </tr>
49 + <tr class="ddrTR">
50 + <td class="ddrTD">3/7-A-1 AH</td><td class="ddrTD">producing well</td><td class="ddrTD">production exploitation</td><td class="ddrTD">gas</td><td class="ddrTD">684.52 m3</td><td class="ddrTD">17</td><td class="ddrTD">allocated flow</td><td class="ddrTD"></td>
51 + </tr>
52 + <tr class="ddrTR">
53 + <td class="ddrTD">3/7-A-1 AH</td><td class="ddrTD">producing well</td><td class="ddrTD">production exploitation</td><td class="ddrTD">oil net</td><td class="ddrTD">755.89 m3</td><td class="ddrTD">17</td><td class="ddrTD">allocated flow</td><td class="ddrTD">net product flow</td>
54 + </tr>
55 + <tr class="ddrTR">
56 + <td class="ddrTD">3/7-A-1 AH</td><td class="ddrTD">producing well</td><td class="ddrTD">production exploitation</td><td class="ddrTD">water</td><td class="ddrTD">1957.3 m3</td><td class="ddrTD">17</td><td class="ddrTD">allocated flow</td><td class="ddrTD"></td>
57 + </tr>
58 + <tr class="ddrTR">
59 + <td class="ddrTD">3/7-A-2 H</td><td class="ddrTD">producing well</td><td class="ddrTD">production exploitation</td><td class="ddrTD">gas</td><td class="ddrTD">114.61 m3</td><td class="ddrTD">10</td><td class="ddrTD">allocated flow</td><td class="ddrTD"></td>
60 + </tr>
61 + <tr class="ddrTR">
62 + <td class="ddrTD">3/7-A-2 H</td><td class="ddrTD">producing well</td><td class="ddrTD">production exploitation</td><td class="ddrTD">oil net</td><td class="ddrTD">1744.5 m3</td><td class="ddrTD">10</td><td class="ddrTD">allocated flow</td><td class="ddrTD">net product flow</td>
63 + </tr>
64 + <tr class="ddrTR">
65 + <td class="ddrTD">3/7-A-2 H</td><td class="ddrTD">producing well</td><td class="ddrTD">production exploitation</td><td class="ddrTD">water</td><td class="ddrTD">800.44 m3</td><td class="ddrTD">10</td><td class="ddrTD">allocated flow</td><td class="ddrTD"></td>
66 + </tr>
67 + </table>
68 + <br>
69 + </div>
70 + <div>
71 + <hr>
72 + <h2>Cargo Information</h2>
73 + <table class="ddrTable">
74 + <tr class="ddrTR">
75 + <th class="ddrTH" style="text-align: center">Facility</th><th class="ddrTH" style="text-align: center">Material</th><th class="ddrTH" style="text-align: center">Flow&nbsp;type</th><th class="ddrTH" style="text-align: center">Cargo&nbsp;Number</th><th class="ddrTH" style="text-align: center">Cargo&nbsp;Batch</th><th class="ddrTH" style="text-align: center">Bill&nbsp;of&nbsp;Lading</th><th class="ddrTH" style="text-align: center">Volume</th><th class="ddrTH" style="text-align: center">Mass</th><th class="ddrTH" style="text-align: center">Density</th><th class="ddrTH" style="text-align: center">Shipper</th><th class="ddrTH" style="text-align: center">Destination</th><th class="ddrTH" style="text-align: center">Country</th><th class="ddrTH" style="text-align: center">Owner</th><th class="ddrTH" style="text-align: center">Share</th>
76 + </tr>
77 + <tr class="ddrTR">
78 + <td class="ddrTD">FREDERICIA</td><td class="ddrTD">oil net</td><td class="ddrTD">allocated flow</td><td class="ddrTD">395/1</td><td class="ddrTD">1</td><td class="ddrTD">2012-02-06</td><td class="ddrTD">1683.82 m3</td><td class="ddrTD">110.85 kg</td><td class="ddrTD">705.75 kg/m3</td><td class="ddrTD">Bayerngas Norge AS</td><td class="ddrTD">MONGSTAD</td><td class="ddrTD">NORWAY</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">100 %</td>
79 + </tr>
80 + <tr class="ddrTR">
81 + <td class="ddrTD">FREDERICIA</td><td class="ddrTD">oil net</td><td class="ddrTD">allocated flow</td><td class="ddrTD">396/1</td><td class="ddrTD">1</td><td class="ddrTD">2012-02-11</td><td class="ddrTD">782.72 m3</td><td class="ddrTD">267.5 kg</td><td class="ddrTD">770.49 kg/m3</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">Fawley</td><td class="ddrTD">UNITED KINGDOM</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">100 %</td>
82 + </tr>
83 + <tr class="ddrTR">
84 + <td class="ddrTD">FREDERICIA</td><td class="ddrTD">oil net</td><td class="ddrTD">allocated flow</td><td class="ddrTD">397/1</td><td class="ddrTD">1</td><td class="ddrTD">2012-02-16</td><td class="ddrTD">1270.75 m3</td><td class="ddrTD">146.43 kg</td><td class="ddrTD">790.83 kg/m3</td><td class="ddrTD">DONG E&amp;P Norge AS</td><td class="ddrTD">Fawley</td><td class="ddrTD">UNITED KINGDOM</td><td class="ddrTD">Bayerngas Norge AS</td><td class="ddrTD">100 %</td>
85 + </tr>
86 + <tr class="ddrTR">
87 + <td class="ddrTD">FREDERICIA</td><td class="ddrTD">oil net</td><td class="ddrTD">allocated flow</td><td class="ddrTD">398/1</td><td class="ddrTD">1</td><td class="ddrTD">2012-02-19</td><td class="ddrTD">979.89 m3</td><td class="ddrTD">744.24 kg</td><td class="ddrTD">795.49 kg/m3</td><td class="ddrTD">Bayerngas Norge AS</td><td class="ddrTD">Fawley</td><td class="ddrTD">UNITED KINGDOM</td><td class="ddrTD">Bayerngas Norge AS</td><td class="ddrTD">100 %</td>
88 + </tr>
89 + </table>
90 + <br>
91 + </div>
92 + <div>
93 + <hr>
94 + <h2>Production Saleable</h2>
95 + <table class="ddrTable">
96 + <tr class="ddrTR">
97 + <th class="ddrTH" style="text-align: center">Facility</th><th class="ddrTH" style="text-align: center">Purpose</th><th class="ddrTH" style="text-align: center">Material</th><th class="ddrTH" style="text-align: center">Mass</th><th class="ddrTH" style="text-align: center">Volume</th><th class="ddrTH" style="text-align: center">Density</th><th class="ddrTH" style="text-align: center">Flow&nbsp;type</th><th class="ddrTH" style="text-align: center">Gross/Net</th>
98 + </tr>
99 + <tr class="ddrTR">
100 + <td class="ddrTD">TRYM</td><td class="ddrTD">production exploitation</td><td class="ddrTD">oil net</td><td class="ddrTD">614.09 kg</td><td class="ddrTD">1094.62 m3</td><td class="ddrTD">788.93 kg/m3</td><td class="ddrTD">saleable flow</td><td class="ddrTD">net product flow</td>
101 + </tr>
102 + </table>
103 + <br>
104 + </div>
105 + <div>
106 + <hr>
107 + <h2>Production Inventory</h2>
108 + <table class="ddrTable">
109 + <tr class="ddrTR">
110 + <th class="ddrTH" style="text-align: center">Inventory&nbsp;Name</th><th class="ddrTH" style="text-align: center">Inventory&nbsp;Type</th><th class="ddrTH" style="text-align: center">Product</th><th class="ddrTH" style="text-align: center">Mass</th><th class="ddrTH" style="text-align: center">Volume</th><th class="ddrTH" style="text-align: center">Density</th>
111 + </tr>
112 + <tr class="ddrTR">
113 + <td class="ddrTD">Fredericia allocated inventory volumes</td><td class="ddrTD"></td><td class="ddrTD">oil net</td><td class="ddrTD"></td><td class="ddrTD">519.72 m3</td><td class="ddrTD">756.03 kg/m3</td>
114 + </tr>
115 + <tr class="ddrTR">
116 + <td class="ddrTD">Fredericia allocated inventory volumes</td><td class="ddrTD"></td><td class="ddrTD">oil net</td><td class="ddrTD"></td><td class="ddrTD">519.72 m3</td><td class="ddrTD">756.03 kg/m3</td>
117 + </tr>
118 + </table>
119 + <br>
120 + </div>
121 + <div>
122 + <hr>
123 + <h2>Production Inventory Ownership</h2>
124 + <table class="ddrTable">
125 + <tr class="ddrTR">
126 + <th class="ddrTH" style="text-align: center">Inventory&nbsp;Name</th><th class="ddrTH" style="text-align: center">Inventory&nbsp;Type</th><th class="ddrTH" style="text-align: center">Product</th><th class="ddrTH" style="text-align: center">Volume</th><th class="ddrTH" style="text-align: center">Owner</th>
127 + </tr>
128 + <tr class="ddrTR">
129 + <td class="ddrTD">Fredericia allocated inventory volumes</td><td class="ddrTD"></td><td class="ddrTD">oil net</td><td class="ddrTD">85.86 m3</td><td class="ddrTD">DONG E&amp;P Norge AS</td>
130 + </tr>
131 + <tr class="ddrTR">
132 + <td class="ddrTD">Fredericia allocated inventory volumes</td><td class="ddrTD"></td><td class="ddrTD">oil net</td><td class="ddrTD">433.86 m3</td><td class="ddrTD">Bayerngas Norge AS</td>
133 + </tr>
134 + </table>
135 + <br>
136 + </div>
137 + </body>
138 +</html>