osmose-model / osmose

OSMOSE: Modelling Marine Exploited Ecosystems
http://www.osmose-model.org/
GNU General Public License v3.0
21 stars 7 forks source link

Redistribution of school if new map also is in the area of distribution. #13

Open barriern opened 11 months ago

barriern commented 11 months ago

Adding a by-species to control whether the school is always redistributed when map change (actual case) or if random walk is used instead if the school already is in the new distribution map.

Actual implementation:

flowchart TD
   id1{Map has changed?}
   id2[Random walk]
   id3[Full redistribution]
   id1-->|yes|id3
   id1-->|no|id2

Expected implementation:

flowchart TD
   id1{Map has changed?}
   id1bis{Full redistribution?}
   id1ter{Is school in new map?}
   id2[Random walk]
   id3[Full redistribution]

   id1-->|no|id2
   id1-->|yes|id1bis

   id1bis-->|yes|id3
   id1bis-->|no|id1ter
   id1ter-->|yes|id2
   id1ter-->|no|id3
mtraverstrolet commented 9 months ago

I wonder if you only have a by-species control for this redistribution, or if it should be a by-species-by-age control (or more easy, by map control)