/// <summary> /// 计算电路参数 /// </summary> public override void Calc() { math_P = converter.Math_P; math_Vin = converter.Math_Vin; Simulate(); //设置元器件的电路参数 dualModule.SetParameters(math_VSmax, curve_iD.Copy(-1), curve_iS, math_fs); //采用半桥模块时,第二个开关管波形为-iD inductor.SetParameters(math_IL, math_ILrip, math_fs); capacitor.SetParameters(math_ICrms); }
/// <summary> /// 计算电路参数 /// </summary> public override void Calc() { math_P = converter.Math_P; Simulate(); //设置元器件的电路参数 primaryDualModule.SetParameters(math_vSp, math_qZVS, curve_iSp, curve_iSp, math_fs); secondaryDualDiodeModule.SetParameters(math_vSs, curve_iSs, curve_iSs, math_fs); resonantInductor.SetParameters(math_ILrrms, math_ILrmax * 2, math_fs); transformer.SetParameters(math_ILrrms, math_ITsrms, math_fs, math_ψ); resonantCapacitor.SetParameters(math_ILrrms); filteringCapacitor.SetParameters(math_ICfrms); }