removes wellID from ReadData
This commit is contained in:
@@ -15,9 +15,9 @@ namespace ReadData
|
||||
well1.clearTopArrays ();
|
||||
DateTime now = DateTime.Now;
|
||||
string dtime = now.ToString("_yyyyMMdd_HHmmss");
|
||||
well1.readSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Input\wellParamsIn_" + well1.wellID + ".csv");
|
||||
well1.readSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Input\wellParamsIn_0.csv");
|
||||
well1.taperCompute(well1.buf_dt, well1.buf_tubingHeadPressure, well1.buf_fluidGradient, well1.buf_sbfriction, well1.buf_numTapers, well1.buf_c, well1.buf_rodLength, well1.buf_rodDiameter, well1.buf_rodYM);
|
||||
well1.writeSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Output\wellParamsOut" + well1.wellID+dtime + ".csv");
|
||||
well1.writeSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Output\wellParamsOut" + dtime + ".csv");
|
||||
var reader = new StreamReader (File.OpenRead (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Input\test_surface.csv"));
|
||||
var csv = new StreamWriter (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Cards\test_downhole" + dtime + ".csv");
|
||||
csv.WriteLine ("downhole_position, downhole_load, surface_position,surface_load,status");
|
||||
|
||||
Reference in New Issue
Block a user