Пример #1
0
        protected void HuangTowerCaculate(int index)
        {
            ElecCalsParas paras = ParaList[index];

            ElecCalsRes SideCalRes = new ElecCalsRes();

            SideCalRes.SpanFit    = paras.BackSpanFit;
            SideCalRes.IsBackSide = true; //只是为了计算45风
            SideCalRes.UpdataSor(paras.BackWeatherPara, paras.BackWirePara.Ind, paras.BackWirePara.Grd, paras.BackWirePara.OPGW, paras.JumpWirePara, paras.BackSidePara, paras.CommParas);

            TowerElecCals BackTower = ParaList[index - 1].TowerCals;

            BackTower.UpdataTowerTraHei();
            BackTower.UpdateAtitudeTower();

            TowerHangElecCals CalTower = (TowerHangElecCals)ParaList[index].TowerCals;

            CalTower.UpdataTowerTraHei();
            CalTower.UpdateAtitudeTower();

            TowerElecCals FrontTower = ParaList[index + 1].TowerCals;

            FrontTower.UpdataTowerTraHei();
            FrontTower.UpdateAtitudeTower();

            paras.CommParas.UpateIceCovrage(SideCalRes.Weather.WeathComm, SideCalRes.SideParas.IceArea);

            CalTower.GetAndUpdateSideRes(SideCalRes);

            CalTower.GetAndUpdateStrData(paras.StrDatas);

            for (int i = 0; i <= 9; i++)
            {
                CalTower.PhaseTraList[i].CalsStrLoad();
            }

            CalTower.FlashBackHeiSub(BackTower);
            CalTower.FlashFrontHeiSub(FrontTower);
            CalTower.UpdateDFCure();

            CalTower.Cals();

            CalTower.UpdateTensionDiff();
        }
Пример #2
0
        protected void StrainTowerCaculate(int index)
        {
            ElecCalsParas paras = ParaList[index];

            ElecCalsRes BackSideCalRes  = new ElecCalsRes();
            ElecCalsRes FrontSideCalRes = new ElecCalsRes();

            BackSideCalRes.IsBackSide = true;
            BackSideCalRes.SpanFit    = paras.BackSpanFit;

            FrontSideCalRes.IsBackSide = false;
            FrontSideCalRes.SpanFit    = paras.FrontSpanFit;

            BackSideCalRes.UpdataSor(paras.BackWeatherPara, paras.BackWirePara.Ind, paras.BackWirePara.Grd, paras.BackWirePara.OPGW, paras.JumpWirePara, paras.BackSidePara, paras.CommParas);
            FrontSideCalRes.UpdataSor(paras.FrontWeatherPara, paras.FrontWirePara.Ind, paras.FrontWirePara.Grd, paras.FrontWirePara.OPGW, paras.JumpWirePara, paras.FrontSidePara, paras.CommParas);

            paras.CommParas.UpateIceCovrage("耐张塔", BackSideCalRes.Weather.WeathComm, BackSideCalRes.SideParas.IceArea, FrontSideCalRes.Weather.WeathComm, FrontSideCalRes.SideParas.IceArea);

            TowerElecCals BackTower = ParaList[index - 1].TowerCals;

            BackTower.UpdataTowerTraHei();
            BackTower.UpdateAtitudeTower();

            TowerStrainElecCals CalTower = (TowerStrainElecCals)ParaList[index].TowerCals;

            CalTower.UpdataTowerTraHei();
            CalTower.UpdateAtitudeTower();

            TowerElecCals FrontTower = ParaList[index + 1].TowerCals;

            FrontTower.UpdataTowerTraHei();
            FrontTower.UpdateAtitudeTower();

            CalTower.GetAndUpdateSideRes(BackSideCalRes, FrontSideCalRes);

            CalTower.GetAndUpdateStrData(paras.StrDatas);

            for (int i = 0; i <= 9; i++)
            {
                CalTower.PhaseTraList[i].CalsStrLoad();
            }

            for (int i = 0; i <= 2; i++)
            {
                CalTower.PhaseTraList[i].CalsWindLoad(paras.CommParas.VoltStr, CalTower.PhaseTraList[i + 5].WireData.WeatherParas.WeathComm);
                CalTower.PhaseTraList[i + 5].CalsWindLoad(paras.CommParas.VoltStr, CalTower.PhaseTraList[i].WireData.WeatherParas.WeathComm);
            }

            CalTower.FlashBackHeiSub(BackTower);
            CalTower.FlashFrontHeiSub(FrontTower);
            CalTower.UpdateWindPara();

            CalTower.Cals();

            CalTower.CalDFCure();
            //CalTower.CalDFCurePY();

            CalTower.UpdateTensionDiff();
            CalTower.UpateAnchor();
            CalTower.CalsTensionChcek();
        }