Esempio n. 1
0
        public TransientResults(AbstractTransientAnalyser ta)
            : this()
        {
            Analyser = ta;

            Times       = new double[Analyser.StepCount + 1];//0..stepCount
            ListResults = new TransientStepArgs[Analyser.StepCount + 1];
            for (int i = 0; i <= Analyser.StepCount; i++)
            {
                Times[i] = Analyser.EndTime / Analyser.StepCount * i;
            }
        }
Esempio n. 2
0
        /// <summary>
        /// Create coreloss model from transient analyser and list of elements
        /// </summary>
        /// <param name="analyser"></param>
        /// <param name="es"></param>
        public CoreLoss(AbstractTransientAnalyser analyser, List <PointD> nodes, List <FEMM.Element> es)
        {
            this.analyser = analyser;
            elements      = es;
            this.nodes    = nodes;

            Bx = new List <double[]>();
            By = new List <double[]>();

            for (int i = 0; i < elements.Count; i++)
            {
                Bx.Add(new double[analyser.StepCount + 1]);
                By.Add(new double[analyser.StepCount + 1]);
            }

            Hx = new List <double[]>();
            Hy = new List <double[]>();

            for (int i = 0; i < elements.Count; i++)
            {
                Hx.Add(new double[analyser.StepCount + 1]);
                Hy.Add(new double[analyser.StepCount + 1]);
            }
        }
 public Transient3PhaseMotorResults(AbstractTransientAnalyser analyser)
     : base(analyser)
 {
 }