Open PanxinZhang opened 2 years ago
Yes, manager code is very powerful and can do just as you describe. There is already some logic in the planting rule that switches cultivars depending on date, it's not hard to extend that to lists or tables.
Thanks for answer.I don't have the basis of the relevant code before, can you provide a part of the management code about the variety replacement for me to learn?
Yes, manager code is very powerful and can do just as you describe. There is already some logic in the planting rule that switches cultivars depending on date, it's not hard to extend that to lists or tables.
Here's the implementation from earlier (from the "new simulation" button:
There's a partiually written intro to using apsim managers here.
If it can only be achieved by writing code, I hope you can give me an example for me to learn.