function [strnum,strflag] = str_init()

% This is a function that initializes all of the straightness
% parameters called by pvmodel.m

strnum = 5;   	% number of CFs; must be odd and > 1
strflag = 0; 	% 0 for no str wtg; 1 for str wtg

if(strnum == 1)
	text = 'Straightness number must be odd and > 1'
	end

if(rem(strnum,2) == 0)
	text = 'Straightness number must be odd and > 1'
	end
