Пример #1
0
 /// <summary>
 /// 获取设计条件
 /// </summary>
 /// <returns>设计条件</returns>
 public override string[] GetConditions()
 {
     string[] conditions =
     {
         GetType().Name,
         Math_Psys.ToString(),
         Math_Vin.ToString(),
         Math_Vg.ToString(),
         Math_fg.ToString(),
         Math_Ma_min.ToString(),
         Math_Ma_max.ToString(),
         Math_φ.ToString(),
         Function.IntArrayToString(NumberRange),
         Function.StringArrayToString(TopologyRange),
         Function.StringArrayToString(ModulationRange),
         Function.DoubleArrayToString(FrequencyRange, 1e-3)
     };
     return(conditions);
 }
Пример #2
0
 /// <summary>
 /// 获取设计条件
 /// </summary>
 /// <returns>设计条件</returns>
 public override string[] GetConditions()
 {
     string[] conditions;
     if (IsInputVoltageVariation)
     {
         conditions = new string[]
         {
             GetType().Name + "_TwoStage",
             Math_Psys.ToString(),
             Math_Vin_min.ToString(),
             Math_Vin_max.ToString(),
             Math_Vo.ToString(),
             Function.IntArrayToString(Math_No_Range),
             Function.IntArrayToString(NumberRange),
             Function.StringArrayToString(TopologyRange),
             Function.DoubleArrayToString(FrequencyRange, 1e-3),
             Function.DoubleArrayToString(Math_Q_Range),
             Function.DoubleArrayToString(Math_k_Range),
         };
     }
     else
     {
         conditions = new string[]
         {
             GetType().Name,
             Math_Psys.ToString(),
             Math_Vin.ToString(),
             Math_Vo.ToString(),
             Function.IntArrayToString(Math_No_Range),
             Function.IntArrayToString(NumberRange),
             Function.StringArrayToString(TopologyRange),
             Function.DoubleArrayToString(FrequencyRange, 1e-3),
             Function.DoubleArrayToString(Math_Q_Range),
             Function.DoubleArrayToString(Math_k_Range),
         };
     }
     return(conditions);
 }