public double GetPower(BaseSimulationState state) { state.ThrowIfNull(nameof(state)); var v = state.Solution[PosNode] - state.Solution[NegNode]; return(v * state.Solution[BranchEq]); }
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); }
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); }
public double GetVoltage(BaseSimulationState state) { state.ThrowIfNull(nameof(state)); return(state.Solution[PosNode] - state.Solution[NegNode]); }
public double GetCurrent(BaseSimulationState state) { state.ThrowIfNull(nameof(state)); return(state.Solution[BranchEq]); }
public double GetPower(BaseSimulationState state) { state.ThrowIfNull(nameof(state)); return((state.Solution[PosNode] - state.Solution[NegNode]) * state.Solution[ControlBranchEq] * BaseParameters.Coefficient); }
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])); }
public double GetCurrent(BaseSimulationState state) { state.ThrowIfNull(nameof(state)); return((state.Solution[PosNode] - state.Solution[NegNode]) * Conductance); }
public double GetPower(BaseSimulationState state) { state.ThrowIfNull(nameof(state)); return((state.Solution[PosNode] - state.Solution[PosNode]) * -Current); }
public double GetPower(BaseSimulationState state) { state.ThrowIfNull(nameof(state)); return(Current * Voltage); }
public double GetCurrent(BaseSimulationState state) { state.ThrowIfNull(nameof(state)); return((state.Solution[ContPosNode] - state.Solution[ContNegNode]) * BaseParameters.Coefficient); }