Commit bba9b1f3 authored by aakash.bedi's avatar aakash.bedi

uncommented to_sql command in parameter_optimizer

parent 83fa1930
Pipeline #33219 canceled with stage
device_tag,column,importances,min,max,mean,std_dev,range_min,range_max,golden_batch_minimum,golden_batch_maximum,operating_min,operating_max,module,model_version,rec_lower,rec_upper,rec_original,rec_status
PI_R7204_2,Bharuch-Unit 2.CTCMP.Stage IIA - Chlorination & Neutralization-I.Reactor R-7204.Pressure 2,19.2,0,1,0.4,0.1,0.3,0.5,0,1,0,1,Golden Batch - CTCMP,latest,0,1,0.43,Operator to make changes based on recommendations!
TI_R7204_3,Bharuch-Unit 2.CTCMP.Stage IIA - Chlorination & Neutralization-I.Reactor R-7204.Temperature 1,12.1,139,204,170.7,9.4,156.6,184.8,156,185,156,185,Golden Batch - CTCMP,latest,165,168,166.54,Operator to make changes based on recommendations!
TIC_R7204_1,Bharuch-Unit 2.CTCMP.Stage IIA - Chlorination & Neutralization-I.Reactor R-7204.Temperature 2,3.3,171,194,181.3,4,175.3,187.3,175,188,175,188,Golden Batch - CTCMP,latest,186,188,186.81,Operator to make changes based on recommendations!
FI_R7204_2,Bharuch-Unit 2.CTCMP.Stage IIA - Chlorination & Neutralization-I.Reactor R-7204.Flow 3,8.7,4,368,198.1,67.8,96.4,299.8,96,300,96,300,Golden Batch - CTCMP,latest,96,127,104.17,Operator to make changes based on recommendations!
FI_R7204_4,Bharuch-Unit 2.CTCMP.Stage IIA - Chlorination & Neutralization-I.Reactor R-7204.Flow 4,25.3,50,129,92.1,12.2,73.8,110.3,73,111,73,111,Golden Batch - CTCMP,latest,87,92,89.45,Operator to make changes based on recommendations!
FI_R7204_5,Bharuch-Unit 2.CTCMP.Stage IIA - Chlorination & Neutralization-I.Reactor R-7204.Flow 5,8.6,17,241,140.4,40.3,79.9,200.9,79,201,79,201,Golden Batch - CTCMP,latest,171,201,199.57,Operator to make changes based on recommendations!
AI_R7204,Bharuch-Unit 2.CTCMP.Stage IIA - Chlorination & Neutralization-I.Reactor R-7204.Chlorine,20.6,-1,0,-0.9,0,-1,-0.9,-1,0,-1,0,Golden Batch - CTCMP,latest,-1,0,-0.33,Operator to make changes based on recommendations!
RATIO,Bharuch-Unit 2.CTCMP.Stage IIA - Chlorination & Neutralization-I.Reactor R-7204.Ratio R7204,2.2,-31,9,3.6,1,2.1,5.2,2,6,2,6,Golden Batch - CTCMP,latest,2,4,3.25,Operator to make changes based on recommendations!
......@@ -241,8 +241,8 @@ class ParameterOptimization(object):
df_updated_recommendation.to_csv("{}.csv".format(OUTPUT_DATA["tables"]["lookup"]), index=False)
full_profile_data = "conf/profile.csv"
df_full_profile = pd.read_csv(full_profile_data)
# df_updated_recommendation.to_sql(OUTPUT_DATA["tables"]["lookup"], engine, if_exists="replace")
# df_full_profile.to_sql(OUTPUT_DATA["tables"]["profile"], engine, if_exists="replace")
df_updated_recommendation.to_sql(OUTPUT_DATA["tables"]["lookup"], engine, if_exists="replace")
df_full_profile.to_sql(OUTPUT_DATA["tables"]["profile"], engine, if_exists="replace")
def find_optimum(self, data_dict, add_predict, controllable=False):
logger.info("Finding optimum data for the last received live data.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment