public void AddNewCohort(ISpecies species, ActiveSite site) { Cohort cohort = new Cohort(species, (ushort)Date.Year, IMAX, species.InitialNSC(), species.DNSC()); if(SiteOutputNames.ContainsKey(site)) { cohort.InitializeOutput(SiteOutputNames[site], (ushort)Date.Year, PlugIn.ModelCore.UI.WriteLine); } sitecohorts[site].AddNewCohort(cohort, Timestep); }