List <double> IScopeElement.GetReading(TransientState solution) { return(new List <double> { solution.GetValue(in_pin.V), solution.GetValue(I) }); }
public bool GetNewState(TransientState transientState, double time) { RecloserState recloserState = new RecloserState( transientState.GetValue(IA), transientState.GetValue(IB), transientState.GetValue(IC), transientState.GetValue(in_pin.VA), transientState.GetValue(in_pin.VB), transientState.GetValue(in_pin.VC), time, State); return(program.Execute(recloserState)); }