Esempio n. 1
0
        public double GetPower(BaseSimulationState state)
        {
            state.ThrowIfNull(nameof(state));
            var v = state.Solution[PosNode] - state.Solution[NegNode];

            return(v * state.Solution[BranchEq]);
        }
Esempio n. 2
0
        public double GetPower(BaseSimulationState state)
        {
            state.ThrowIfNull(nameof(state));
            var v = state.Solution[PosNode] - state.Solution[NegNode];
            var i = (state.Solution[ContPosNode] - state.Solution[ContNegNode]) * BaseParameters.Coefficient;

            return(-v * i);
        }
Esempio n. 3
0
        public virtual double GetPower(BaseSimulationState state)
        {
            state.ThrowIfNull(nameof(state));
            var value = CollectorCurrent * state.Solution[CollectorNode];

            value += BaseCurrent * state.Solution[BaseNode];
            value -= (CollectorCurrent + BaseCurrent) * state.Solution[EmitterNode];
            return(value);
        }
Esempio n. 4
0
 public double GetVoltage(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return(state.Solution[PosNode] - state.Solution[NegNode]);
 }
Esempio n. 5
0
 public double GetCurrent(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return(state.Solution[BranchEq]);
 }
Esempio n. 6
0
 public double GetPower(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return((state.Solution[PosNode] - state.Solution[NegNode]) * state.Solution[ControlBranchEq] * BaseParameters.Coefficient);
 }
Esempio n. 7
0
 public double GetCurrent(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return(state.Solution[ControlBranchEq] * BaseParameters.Coefficient);
 }
Esempio n. 8
0
        public double GetPower(BaseSimulationState state)
        {
            state.ThrowIfNull(nameof(state));

            return(QCap.Derivative * (state.Solution[PosNode] - state.Solution[NegNode]));
        }
Esempio n. 9
0
 public double GetCurrent(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return((state.Solution[PosNode] - state.Solution[NegNode]) * Conductance);
 }
Esempio n. 10
0
 public double GetPower(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return((state.Solution[PosNode] - state.Solution[PosNode]) * -Current);
 }
Esempio n. 11
0
 public double GetPower(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return(Current * Voltage);
 }
Esempio n. 12
0
 public double GetCurrent(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return((state.Solution[ContPosNode] - state.Solution[ContNegNode]) * BaseParameters.Coefficient);
 }