using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Calculation.Epanet { /// /// 方法3 /// public interface IGetPumpStatusByFlowAndPress { /// /// 初始化文件 /// /// /// 初始化结果,返回null代表成功 public string Initial(string fileName); /// /// 获取开泵组合最优能耗信息 /// /// 模型节点入参列表 /// 开泵组合列表 /// 最小范围 /// 最大范围 /// 族群大小 /// 迭代次数 /// 精准度 /// public List GetPumpStatusByFlowAndPress(List nodes, List> openPumpCombineIds, double rangeMin = 0, double rangeMax = 1, int populationSize = 40, int iterations = 20, double accuracy = 0.1); } }