Function GetSteppedEvent( ByVal nStep&, ByRef dTime as Double, _
ByRef dCurrent As double, ByRef nUserEvent as Long, _
ByRef sEventDesc$, ByRef sFaultDesc$ ) As Long
Purpose: Retrieve detailed result of a step in stepped-event simulation.
Works in: OneLiner only.
Parameters:
nStep [in] Sequential index of the event in the simulation(1 is the initial user-defined event)
dTime [out] Event time in seconds
dCurrent [out] Highest phase fault current magnitude at this step
nUserEvent [out] User defined event flag. 1= true; 0= false
sEventDesc [out] Event description string that includes list of all devices that had tripped.
sFaultDesc [out]
Fault description string of the event.
Return value:
Number of steps When called with nStep = 0
1 success
0 failure
Remarks: Call this function with nStep = 0 to get total number of events simulated
Example: See Function DoSteppedEvent