/// <summary> /// 模拟变换器运行,得到相应负载下的效率 /// </summary> /// <param name="load">负载</param> public void Operate(double load) { Math_P = Math_Psys / PhaseNum / Number * load; Topology.Calc(); PowerLoss = 0; foreach (Component component in Topology.ComponentGroups[Topology.GroupIndex]) { component.CalcPowerLoss(); PowerLoss += component.PowerLoss; } PowerLoss *= Number * PhaseNum; Efficiency = 1 - PowerLoss / (Math_Psys * load); }