That's a good point. I think that's an error on the code (
https://github.com/cyclus/cycamore/blob/master/src/reactor.cc#L246). The ``assem_size * n_assem_order`` should be ``assem_size``, or the function call should be outside of the for loop. You can either make an issue or a PR to fix this. I don't think growth region takes into account the decommissioned facilities. May I perhaps direct you to check out d3ploy (
https://github.com/arfc/d3ploy)? It is an institution archetype created to do deployment, so maybe this can be of help. Also, there is `cyclus_input_gen` (
https://github.com/arfc/cyclus_input_gen), which is an external script that generates a `deployInst` input block that can satisfy your demand equation.