(read/write)


This property sets/gets the per unit (pu) maximum voltage for normal conditions.


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;

% Gets the max voltage pu for emergency conditions

myEmergVmax = DSSSettings.EmergVmaxpu;

% Gets the min voltage pu for emergency conditions

myEmergVmin = DSSSettings.EmergVminpu;

% Gets the max voltage pu for normal conditions

myNormVmax = DSSSettings.NormVmaxpu;