initialNResource-set function

Initial value for resource spectrum