Irradiance
(read/write)
This property sets/gets the present value of the Irradiance property in W/sq-m. It is NOT the actual irrandiance, but the value set when defining the PVSystem in OpenDSS.
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';
% Handler for PVSystems interface
DSSPVSystems = DSSObject.PVSystems;
% Sets the first PV in the list active
i = DSSPVSystems.First;
% Gets the irradiance nominal value
myIrrad = DSSPVSystems.Irradiance;