Beispiel #1
0
        public EnergySource(string Name, double[,] Xs, double[] Ys, List <string[]> Combinations)
        {
            try
            {
                Models = new ModelCollection();

                foreach (string[] Variables in Combinations)
                {
                    Model model = Models.New();
                    model.Xs            = Xs;
                    model.Ys            = Ys;
                    model.VariableNames = Variables;
                    model.Run();
                }
            }
            catch
            {
            }
        }
Beispiel #2
0
 public EnergySource(string NameIn)
 {
     Name   = NameIn;
     Models = new ModelCollection();
 }
Beispiel #3
0
 public EnergySource()
 {
     Name   = "";
     Models = new ModelCollection();
 }