David Price

Fixed WellProduction table and added test cases

......@@ -3572,16 +3572,18 @@ mpr-tables:WellProductionFlows
[ sp:varName "productFlowInMonthMaterial"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlowInMonthMaterial"^^xsd:string
[ sp:varName "productionFlowMixedPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "quantityofmaterialinaspecifiedstate"^^xsd:string
[ sp:varName "partOfProductionFlowMixedPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:predicate rdf:type ;
sp:subject
] [ sp:object
[ sp:varName "quantityofmaterialinaspecifiedstate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "partOfProductionFlowMixedPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterialInASpecifiedState> ;
sp:predicate rdf:type ;
......
<!DOCTYPE html>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://spinrdf.org/rhlib/ddr.css" rel="stylesheet" type="text/css">
<title>Monthly Production Report (government)</title>
</head>
<body>
<h1>Monthly Government Report : &Aring;SGARD Field, Month Ending 2012-01-31</h1>
<h2>Report title : &Aring;SGARD</h2>
<h2>Report version : 2.0</h2>
<h2>Report Status : final version of a report</h2>
<h2>Submitted by : &Aring;SGARD</h2>
<div>
<hr>
<h2>Production Saleable</h2>
<table class="ddrTable">
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
</table>
<br>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://spinrdf.org/rhlib/ddr.css" rel="stylesheet" type="text/css">
<title>Monthly Production Report (government)</title>
</head>
<body>
<h1>Monthly Government Report : TRYM Field, Month Ending 2012-02-29</h1>
<h2>Report title : TRYM</h2>
<h2>Report version : 1.0</h2>
<h2>Report Status : final version of a report</h2>
<h2>Submitted by : TRYM</h2>
<div>
<hr>
<h2>Gas Sales</h2>
<table class="ddrTable">
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
</table>
<br>
</div>
<div>
<hr>
<h2>Well Production</h2>
<table class="ddrTable">
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
</table>
<br>
</div>
<div>
<hr>
<h2>Cargo Information</h2>
<table class="ddrTable">
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
</table>
<br>
</div>
<div>
<hr>
<h2>Production Saleable</h2>
<table class="ddrTable">
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
</table>
<br>
</div>
<div>
<hr>
<h2>Production Inventory</h2>
<table class="ddrTable">
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
</table>
<br>
</div>
<div>
<hr>
<h2>Production Inventory Ownership</h2>
<table class="ddrTable">
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
<tr class="ddrTR">
<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>
</tr>
</table>
<br>
</div>
</body>
</html>