[SOLVED] Generating border plants

Hi,
I am trying to understand how and if is possible to move cloned plants in specific position.

The context is the following: I want to have 3 x 3 experimental plants with 2 rows of border plants on each side, therefore a grid of 5 x 5 plants. The 2 rows of of border plants should be just clones, because their role is just to reflect the light.

However, when I try to place the clones in a different position they don’t really move and when I click twilight they are still positioned where the main plants are.

Here is a simplified example:
The following code aims to place in 2 different places cloned and main plants.
Screenshot 2023-08-23 141802

and this is what I obtain:

however when I run the twilight, this is what happens:

Screenshot 2023-08-23 141851

The whole idea of GCN is that you don’t need border plants in your simulations, but I guess you are adding them specifically to replicate an experimental setup? If so, I don’t think GridClonerNode is the way to solve this. GCN clones everything that comes after the GCN object, so including your focal plants if you instantiate them after the GCN, and averages the light captured by all the clones. This means that you have to define the smallest replicable unit in your setup, and in this case that seems like the whole 5x5 grid. I also don’t think you can use the GCN just for the border plants as I don’t think you’ll be able to leave the focal positions empty.

1 Like

Thank you Jorad, I didn’t know all these things; indeed, it seems that it does not make sense to use GCN in my case.

@ksmolen came up with a reasonable alternative: she suggests using instantiation rules to create border plants from my main plants. We will try to implement it and I will update the post

I tried to implement the instantiation rules to create the border plants however the result doesn’t seem right. I wonder if it is a mistake I made in the implementation or if this is an actual bug
Screenshot 2023-08-25 161702

Screenshot 2023-08-25 161634

when instantiated, the plants have every organ separated by a “step” - also the leaves are present but are far from the stem

Good news! The new version of Groimp comes with a correction of the bug shown in the previous post.

Now I finally manage to have all the border plants I want, without making the model too slow

Thank you @ksmolen for the idea, and @gaetanH for so quickly correcting the bug in the software!

1 Like