(read/write)


This property sets/gets the name of the loadShape for a daily load profile (to be used in daily simulations). Must be previously defined as a LoadShape object of 24 hrs, typically. Set Status=Fixed to ignore LoadShape designation. Set to NONE to reset to no loadShape. Default is no variation (constant) if not defined. Side effect: Sets Yearly load shape if not already defined.


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';

DSSLoads = DSSCircuit.Loads;

% activates the first load on the list

i = DSSLoads.First;

% gets the LoadShape name for the active load

myOldLoadShape = DSSLoads.daily;

% Defines a new LoadShape

DSSText.Command = 'New Loadshape.MyIrrad npts=24 interval=1 mult=[0 0 0 0 0 0 .1 .2 .3  .5  .8  .9  1.0  1.0  .99  .9  .7  .4  .1 0  0  0  0  0]';

% activates the first load on the list (again)

i = DSSLoads.First;

% Assigns the new LoadShape to the active load

DSSLoads.daily = 'MyIrrad';