示例#1
0
 List <double> IScopeElement.GetReading(TransientState solution)
 {
     return(new List <double> {
         solution.GetValue(in_pin.V),
         solution.GetValue(I)
     });
 }
示例#2
0
        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));
        }