if(gencost_timevaryweight(igen_conc)) then
if (gencost_timevaryweight(igen_conc)) then
LOGICAL gencost_timevaryweight(NGENCOST)
& gencost_timevaryweight,
if(.NOT. gencost_timevaryweight(k)) then
if( gencost_timevaryweight(k)) then
gencost_timevaryweight(k) = .FALSE.