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

            return(v * state.Solution[BranchEq]);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #4
0
 public double GetVoltage(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return(state.Solution[PosNode] - state.Solution[NegNode]);
 }
Beispiel #5
0
 public double GetCurrent(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return(state.Solution[BranchEq]);
 }
Beispiel #6
0
 public double GetPower(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return((state.Solution[PosNode] - state.Solution[NegNode]) * state.Solution[ControlBranchEq] * BaseParameters.Coefficient);
 }
Beispiel #7
0
 public double GetCurrent(BaseSimulationState state)
 {
     state.ThrowIfNull(nameof(state));
     return(state.Solution[ControlBranchEq] * BaseParameters.Coefficient);
 }
        public double GetPower(BaseSimulationState state)
        {
            state.ThrowIfNull(nameof(state));

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