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

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

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