Trapezoidal
(read/write)
This property sets/gets {True | False *} the value of trapezoidal integration flag in energy meters.
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';
DSSSettings = DSSCircuit.Settings;
% Check if the EMs do trapezoidal integration
if DSSSettings.Trapezoidal,
disp('The trapezoidal integration is active for the Energy Meters');
end;