Updated for new file location

This commit is contained in:
Patrick McDonagh
2016-06-28 12:30:23 -05:00
parent 5836f5ac7d
commit 92ce385895
2 changed files with 9 additions and 4 deletions

View File

@@ -15,11 +15,11 @@ namespace ReadData
well1.clearTopArrays ();
DateTime now = DateTime.Now;
string dtime = now.ToString("_yyyyMMdd_HHmmss");
well1.readSetup (@"C:\Users\Patrick\Dropbox (Henry Pump)\Patrick McDonagh\Customers\Oxy\Downhole Algorithm\Testing\Input\wellParamsIn_" + well1.wellID + ".csv");
well1.readSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Input\wellParamsIn_" + well1.wellID + ".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:\Users\Patrick\Dropbox (Henry Pump)\Patrick McDonagh\Customers\Oxy\Downhole Algorithm\Testing\Output\wellParamsOut" + well1.wellID+dtime + ".csv");
var reader = new StreamReader (File.OpenRead (@"C:\Users\Patrick\Dropbox (Henry Pump)\Patrick McDonagh\Customers\Oxy\Downhole Algorithm\Testing\Input\test_surface.csv"));
var csv = new StreamWriter (@"C:\Users\Patrick\Dropbox (Henry Pump)\Patrick McDonagh\Customers\Oxy\Downhole Algorithm\Testing\Cards\test_downhole" + dtime + ".csv");
well1.writeSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Output\wellParamsOut" + well1.wellID+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");
csv.AutoFlush = true;
while (!reader.EndOfStream) {

View File

@@ -16,3 +16,8 @@ C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Re
C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\ReadData\ReadData\ReadData\obj\x86\Debug\ReadData.pdb
C:\Users\Patrick\Documents\Henry_Pump\oxy-card-analysis\ReadData\ReadData\ReadData\obj\x86\Debug\ReadData.exe
C:\Users\Patrick\Documents\Henry_Pump\oxy-card-analysis\ReadData\ReadData\ReadData\obj\x86\Debug\ReadData.pdb
C:\Users\Patrick\Documents\Henry_Pump\oxy-card-analysis\ReadData\ReadData\ReadData\bin\Debug\ReadData.exe
C:\Users\Patrick\Documents\Henry_Pump\oxy-card-analysis\ReadData\ReadData\ReadData\bin\Debug\ReadData.pdb
C:\Users\Patrick\Documents\Henry_Pump\oxy-card-analysis\ReadData\ReadData\ReadData\bin\Debug\Well.dll
C:\Users\Patrick\Documents\Henry_Pump\oxy-card-analysis\ReadData\ReadData\ReadData\bin\Debug\Well.pdb
C:\Users\Patrick\Documents\Henry_Pump\oxy-card-analysis\ReadData\ReadData\ReadData\obj\x86\Debug\ReadData.csprojResolveAssemblyReference.cache