编辑: liubingb | 2015-04-04 |
1、石灰加入量的计算 shjrl,吨钢石灰加入量=;
double shjrl;
jszrl = double.
Parse(txtTs.Text.ToString()) + double.Parse(txtTk.Text.ToString());
金属装入量(吨)=铁水的重量+铁块的重量;
si = (double.Parse(txtTsSi.Text.ToString()) * double.Parse(txtTs.Text.ToString()) + double.Parse(txtTkSi.Text.ToString()) * double.Parse(txtTk.Text.ToString())) / jszrl;
p = (double.Parse(txtTsP.Text.ToString()) * double.Parse(txtTs.Text.ToString()) + double.Parse(txtTkP.Text.ToString()) * double.Parse(txtTk.Text.ToString())) / jszrl;
r = double.Parse(txtR.Text.ToString());
if (p = 0.4 && si < 0.6) { pjss = 0.011;
} else if (si >= 0.6 && si < 0.9) { pjss = 0.013;
} else if (si >= 0.9) { pjss = 0.016;
} //设定渣中FeO的质量百分比为18%;
渣中金属铁粒的损失占渣量的8%;
//jsss,金属损失=渣中FeO的金属量+渣中铁粒损失+喷溅损失,单位:吨;
double jsss;
jsss = gzzl * 0.18 *
56 /
72 + gzzl * 0.08 + pjss;
金属损失(吨)=渣中FeO的金属量+渣中铁粒损失+喷溅损失;
//将金属损失按铁水和铁块比例分开计算成本的影响 钢铁料成本=铁水带入Si量%*铁水单价+铁块带入Si量%*铁块单价 //gtlcb,钢铁料成本=铁水带入Si量%*铁水单价+铁块带入Si量%*铁块单价;
double gtlcb = jsss * double.Parse(txtTs.Text.ToString()) * double.Parse(txtTsSi.Text.ToString()) / jszrl / si * double.Parse(txtTsdj.Text.ToString()) + jsss * double.Parse(txtTk.Text.ToString()) * double.Parse(txtTkSi.Text.ToString()) / jszrl / si * double.Parse(txtTkdj.Text.ToString());
钢铁料成本=吨钢消耗铁块Si的成本+吨钢消耗铁块S的成本;
//shcb,石灰成本=石灰单价*石灰加入量;
double shcb = double.Parse(txtShdj.Text.ToString()) * shihui / 1000;
//Sicb,Si对成本的影响=钢铁料成本+石灰成本;
double Sicb = (gtlcb + shcb) * double.Parse(txtTk.Text.ToString()) / jszrl;
//shs,S对石灰的影响;
出钢时炉中S要小于.030%;
//设定:脱S效率按20%计算;
//s,金属料中总的S含量;
Tksyx,铁块S对成本的影响;
double s = (double.Parse(txtTs.Text.ToString()) * double.Parse(txtTss.Text.ToString()) + double.Parse(txtTk.Text.ToString()) * double.Parse(txtTks.Text.ToString())) / jszrl;
double Tksyx = 0;
if (s * 0.8 > 0.030) { //吨钢成本 (shcb石灰成本+ gtlcb钢铁料成本) //脱去一个S需要不考虑S时总渣量的5%的渣量,增加5%的渣量消耗的石灰成本和钢铁料成本就是S的影响成本 Tksyx = (s - 0.030) *
50 * (shcb + gtlcb);
Tksyx = Tksyx * double.Parse(txtTk.Text.ToString()) / jszrl;
}
3、合金成本分析 //合金加入量计算 //Sijrl,硅铁加入量;
Mnjrl,锰硅加入量 double Sijrl, Mnjrl;
//锰硅加入量 Mnjrl = (double.Parse(txtMnzx.Text.ToString()) - double.Parse(txtYuMn.Text.ToString())) / double.Parse(txtHjMn.Text.ToString()) / double.Parse(txtMnxsl.Text.ToString()) * 100000;
txtMnjrl.Text = Mnjrl.ToString().Substring(0, 5);
//硅铁加入量;
锰硅合金增硅量,Zsi;
double Zsi = Mnjrl * double.Parse(txtHjMnSi.Text.ToString()) /
100 * double.Parse(txtSixsl.Text.ToString()) / 1000;
Sijrl = (double.Parse(txtSizx.Text.ToString()) - Zsi) / double.Parse(txtHjSi.Text.ToString()) / double.Parse(txtSixsl.Text.ToString()) * 100000;
txtSijrl.Text = Sijrl.ToString().Substring(0, 4);
//计算合金成分对吨钢成本的影响 //Mnyx,硅锰合金的影响;
Siyx,硅铁成分的影响;
double Mnyx = Mnjrl * double.Parse(txtGmdj.Text.ToString()) / 1000;
double Siyx = Sijrl * double.Parse(txtGtdj.Text.ToString()) / 1000;