This property sets/gets the name of the loadShape for a yearly load profile (to be used in yearly simulations). Must be previously defined as a LoadShape object. Is set to the Daily load shape  when Daily is defined.  The daily load shape is repeated in this case. Set Status=Fixed to ignore LoadShape designation. Set to NONE to reset to no LoadShape. The default is no variation.


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');



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 name of the yearly LoadShape for the active load

myYLoadShape = DSSLoads.Yearly;