open-AIMS / ADRIA.jl

ADRIA: Adaptive Dynamic Reef Intervention Algorithms. A multi-criteria decision support platform for informing reef restoration and adaptation interventions.
MIT License
14 stars 5 forks source link

constrain growth by available area #779

Closed DanTanAtAims closed 3 months ago

DanTanAtAims commented 3 months ago

Add growth constraints based on available area.

The initial implementation in the main branch uses actual_growth = growth * log(1 + leftover space).

This implementation uses actual_growth = growth * log(2, 1 + leftover space). Using log base 2 so that when leftover space is 100% the log is 1 and growth is unconstrained.

This assumes the growth rates being used are unconstrained growth rates which probably isn't the case and depends on available space when the measurement took place.

Unconstrained RCP4.5 (Before changes)

unconstrained_45

Constrained RCP4.5 (After Changes)

constrained_45
Zapiano commented 3 months ago

I like the change to log base 2, good thinking!