pctPermanent
(read/write)
This property sets/gets the percent of faults that are permanent (require repair). Otherwise, fault is assumed to be transient/temporary.
Example
% Create DSS object
DSSObject = actxserver('OpenDSSEngine.DSS')
if ~DSSObject.Start(0),
disp('Unable to start openDSS');
return
end;
DSSText = DSSObject.Text;
DSSCircuit = DSSObject.ActiveCircuit;
% Compile a model
DSSText.Command = 'Compile C:\myPath\myModel.dss';
% Handler for PDelements interface
DSSPDE = DSSObject.PDElements;
% Activates the first PDE on the list
i = DSSPDE.First;
% gets the percent of faults that are permanent in the active PDE
myPermF = DSSPDE.pctPermanent;