Qmult
(read/write)
This property sets/gets a variant array of Doubles for the Q multiplier in the LoadShape.
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';
DSSLoadShapes = DSSCircuit.LoadShapes;
% Activates the first LoadShape of the list
i = DSSLoadShapes.First;
myMult = DSSLoadShapes.Qmult;
% reduces the LoadShape to 90%
feature('COM_SafeArraySingleDim',1);
DSSLoadShapes.Qmult = (myMult.*0.9)';