<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title>Computer Programs and Code</title>
<copyright>Copyright (c) 2013 Southern Illinois University Carbondale All rights reserved.</copyright>
<link>http://opensiuc.lib.siu.edu/geol_comp</link>
<description>Recent documents in Computer Programs and Code</description>
<language>en-us</language>
<lastBuildDate>Sat, 26 Jan 2013 22:43:52 PST</lastBuildDate>
<ttl>3600</ttl>








<item>
<title>Matlab function for F-test</title>
<link>http://opensiuc.lib.siu.edu/geol_comp/3</link>
<guid isPermaLink="true">http://opensiuc.lib.siu.edu/geol_comp/3</guid>
<pubDate>Thu, 10 Mar 2011 11:10:09 PST</pubDate>
<description>
	<![CDATA[
	<p>A supplemental Matlab function “ftest” is included with the manuscript</p>
<p>Anderson and Conder, 2011, Discussion of Multicyclic Hubbert modeling as a method for forecasting future petroleum production, Energy and Fuels, dx.doi.org/10.1021/ef1012648.</p>
<p>This function uses a statistical F-test to determine the likelihood that an observed improvement of a fit to data warrants the use of additional parameters. The function was written in Matlab ver. R2010b (Mac). The “.txt” extension is for ease of distribution and should be removed for use.</p>
<p>Usage:</p>
<p><em>>> [ p ] = ftest(n,np1,np2,chi1,chi2)</em><em> </em></p>
<p>The function requires five inputs: <em>n</em> is the number of data to be fit. <em>np1 </em>&<em> np2</em> are the numbers of free parameters used in the two models. <em>chi1</em> and <em>chi2</em> are (normalized) sums of the squares of the misfits to the data for the two models.</p>
<p>One output, <em>p</em>, is returned<em>.</em> <em>p</em> is the probability (between 0 and 1) that the improvement of the fit is due to chance. Therefore a small value of <em>p</em> means a high confidence that the additional parameters are warranted.</p>
<p>Caveat emptor.</p>
<p>March 10, 2011</p>
<p>James Conder</p>

	]]>
</description>

<author>James A. Conder</author>


</item>






<item>
<title>Matlab function for Multicycle Hubbert curve fitting</title>
<link>http://opensiuc.lib.siu.edu/geol_comp/2</link>
<guid isPermaLink="true">http://opensiuc.lib.siu.edu/geol_comp/2</guid>
<pubDate>Fri, 21 Jan 2011 12:50:16 PST</pubDate>
<description>
	<![CDATA[
	<p>A supplemental Matlab function “fit_multicycle” is included with the manuscript “Discussion of Multicyclic Hubbert modeling as a method for forecasting future petroleum production”, by Anderson and Conder. This function fits a production time series to a desired number of Hubbert cycles (derivatives of logistic curves). The function was written in Matlab ver. R2010b (Mac).  The “.txt” extension is for ease of distribution and should be removed for use.</p>
<p>Usage:</p>
<p>>> [Ppred params rmse] = fit_multicycle(time,prod,nk,nseeds)</p>
<p>The function requires four inputs: time, prod, nk, nseeds. prod and time are vectors of production and associated time stamps. nk is the number of desired curves. nseeds is the number of random seed trials. The greater number of trials, the more likely the program will find a global minimum, but at the expense of time. More curves will generally require a non-linearly increasing number of seeds.</p>
<p>Three outputs are returned: 1) Ppred: predicted production having the same number of data as actual production. Predicted production is the sum of the curves. 2) params: nk x 3 matrix containing the best fitting parameters, tmax (col.1), pmax (col.2), and a (col.3), for each curve. 3) rmse: root mean square error for the model production curve relative to the actual production.</p>
<p>Note: It is not only possible but, quite likely for physically unrealistic parameters (e.g., negative production) to arise when asking for more curves than the data warrant.</p>
<p>For a quick comparison of actual and model production:</p>
<p>>> plot(time,prod,time,Ppre)</p>
<p>Caveat emptor. James Conder</p>

	]]>
</description>

<author>James A. Conder</author>


</item>






<item>
<title>Excel Interface for the Kansas Geological Survey Slug Test Model</title>
<link>http://opensiuc.lib.siu.edu/geol_comp/1</link>
<guid isPermaLink="true">http://opensiuc.lib.siu.edu/geol_comp/1</guid>
<pubDate>Thu, 29 Jan 2009 08:55:27 PST</pubDate>
<description>
	<![CDATA[
	<p>The Kansas Geological Survey (KGS) developed a semi-analytical solution for slug tests that incorporates the effects of partial penetration, anisotropy, and the presence of variable conductivity well skins.  The solution can simulate either confined or unconfined conditions.  The original model, written in FORTRAN, has a text-based interface with rigid input requirements and limited output options.  We recreated the main routine for the KGS model as a Visual Basic macro that runs in most versions of Microsoft Excel and built a simple-to-use Excel spreadsheet interface that automatically displays the graphical results of the test.  A comparison of the output from the original FORTRAN code to that of the new Excel spreadsheet version for three cases produced identical results.</p>

	]]>
</description>

<author>Steven P. Esling</author>


</item>





</channel>
</rss>
