Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cotton calibration #2031

Closed
xuyang7912 opened this issue Apr 7, 2021 · 19 comments
Closed

cotton calibration #2031

xuyang7912 opened this issue Apr 7, 2021 · 19 comments
Labels
question Further information is requested stale

Comments

@xuyang7912
Copy link

Exception has been thrown by the target of an invocation! I would like to ask about the reasons and solutions for the error reported in adding the ini cotton parameter

@xuyang7912
Copy link
Author

error

@sarahcleary sarahcleary added the question Further information is requested label Apr 7, 2021
@BrianCollinss
Copy link
Member

@xuyang7912 Hi. Can you run any othe rsimulation in APSIM? I am asking this to make sure your langugage (locale) setting is not the cause.

@xuyang7912
Copy link
Author

@BrianCollinss Thank you for your reply, I can simulate normally without adding the ini file, but after adding the ini file there is an exception. I have tried to simulate other crops, such as Continuous wheat and Continuous potatoes, and after adding the ini file it still simulates normally without any exceptions

@BrianCollinss
Copy link
Member

Could you please let us know what the non-English message above "Component name: paddock" say?

@xuyang7912
Copy link
Author

@BrianCollinss Exception has been thrown by the target of an invocation!

@peter-devoil
Copy link
Collaborator

That message is very common, and unfortunately tells all of us nothing.

To solve your problem, I would take the system .ini file from the installation directory, and see if the simulation can run with that - if it can't then there are big problems.

Then add your changes bit by bit to see which part of the model is breaking.

@byzheng
Copy link

byzheng commented Apr 7, 2021

Possible to check whether your ini file in the folder with non-english characters or spaces.

Better to have a screen for the whole tree or an example file.

@xuyang7912
Copy link
Author

@byzheng Thank you for your reply,E:\Download\APSIM710-r4217\Model,This is the path to the file,the ini files for all crops are in this folder, but it doesn't work properly when simulating cotton.

@xuyang7912
Copy link
Author

@peter-devoil Thank you for your reply. After removing the system.ini file from the installation directory, the simulation does not work properly, I am sure I have not adjusted the ini file for cotton, I do not know why other crops can be simulated properly while cotton cannot

@DavidJohnston491
Copy link

@xuyang7912 Cotton is a non-standard APSIM component. You cannot use ini files with it. Modifications to settings are done through the 'Advanced' button on the Cotton component window within the APSIM GUI.
Let me know what settings you are trying to adjust and I will try to assist.

@xuyang7912
Copy link
Author

@DavidJohnston491 Thank you for your reply.Is that what you are referring to?How do I figure out what each variable means?
image

@DavidJohnston491
Copy link

@xuyang7912 Yes, these are the input variable settings. You could refer to Brian Hearn's original OZCOT paper (Hearn, AB 1994, 'OZCOT: A Simulation Model for Cotton Crop Management', Agricultural Systems, vol. 44, pp. 257-99.) as the model still follows this quite closely. Apart from this, to the best of my knowledge, no details have been publicly documented. The model was/is the IP of CSIRO Australia. That is why I offered to assist where I could, if you let me know what settings you are looking for.

@xuyang7912
Copy link
Author

@DavidJohnston491 I want to simulate the yield of cotton in a semi-arid area, but I don't know which variables to adjust. I found that the crop parameters adjusted in the literature correspond to the parameters in the cotton.xml file, which also used the APSIM-OZCOT model.

@DavidJohnston491
Copy link

Okay, a fairly broad description. As with any crop calibration exercise, there will be many iterations to achieve sensible outcomes. Hopefully you have some trial crops in the same soil and similar environment that you are able to use for validation of simulation settings.
The first thing with all APSIM simulations is to ensure you have your soil definition correct. This will determine much of the crop growth, especially the crop water interactions. Secondly, the crop root growth needs to be correct. Unfortunately this is primarily determined by observing the simulated crop growth. Too much growth and the roots are accessing too much water. Too little growth or unexpected death due to water stress and the roots are not accessing sufficient water. In the cotton model the root variables are: RFV_max (Root Front Velocity), specific_root_length (density of roots grown) and rootLACrit (Leaf Area needed before roots start to grow quickly - seedling setting). Of these the RFV_max is probably most significant and variable depending on the soil.
Many of the input variables in the list are not meant as user adjustable input settings, hence the lack of documentation. Most of these have been tuned for Gossypium hirsutum L and do not need adjusting. A couple that might be worth noting are open_def (percent of open bolls that triggers transition to Maturity status and readiness for defoliation), and rtdep_max (maximum depth that roots can grow to - links with soil settings). Beyond this the 'cultivar' settings are generally of more interest. You can define a new cultivar by right clicking on the 'cultivars' node. Cultivars defined in the list are Australian commercial cultivars which are defined relative to some long standing, well proven cultivars. Unfortunately, without a common base from which to compare, defining new cultivars of unknown performance is a 'non-precise' art at best. That said, yield is a function of boll number X boll size X lint yield , the last two of which are defined in the cultivar settings. Of the cultivar settings, the most useful to adjust are the percent_l (gin turnout, percent of boll's weight returned as cotton lint), scboll (weight (size) of bolls in grams), and BckGndRetn (proportion of bolls retained by cotton plant under ideal conditions (opposite of default shedding)). Just remember to 'sow' your new cultivar from the sow command in the manager script.
Generally the approach is to ensure early LAI matches observed values up to 1st square. LAI and boll numbers match observed until first open boll. As fruiting continues watching for excessive LAI or sudden drops in LAI. Most errors in these areas relate to soil or root issues and the supply of water to the growing plant (ie not plant parameter adjustments). Delayed maturity and excess crop duration can relate to open_def not being reached, which might need the 60% reduced to 50% or 45% to stop the crop. Excessive early boll numbers and early crop termination can be triggered by BckGndRetn being set too high.
As I said, many iterations to determine what is working and what is not. Best advice is always start with the soil and soil water. If it is wrong, not amount of calibrating the crop is going to work.
I wish you all the best with your research.

@xuyang7912
Copy link
Author

@DavidJohnston491 After entering meteorological data and soil data, the crop parameter values are selected as default values and the yield is very low, only 300kg/ha, is this because the crop parameters are not adjusted?

@DavidJohnston491
Copy link

DavidJohnston491 commented Apr 12, 2021

@xuyang7912 . I will take this off line. Contact me directly on my email , myusername at gmail.com . Thanks.

@DavidJohnston491
Copy link

@xuyang7912 My apology if I was not clear in my previous comment. You can email me ( DavidJohnston491 'at' gmail.com ) for more assistance.
A brief response to your previous question... There is no way of telling from the information that you have given as to whether the low yield is a reasonable outcome or not. Adjusting crop parameters is only going to give you minor adjustments. If the simulation is distinctly wrong, then the crop is not growing as it should, and this is most likely a problem with soil definitions or soil / crop water interactions. There are a number of reportable variables that will allow you to track where the problem lies. This is probably best done apart from this general forum.

@stale
Copy link

stale bot commented May 13, 2021

This issue has been automatically marked as stale because it has not had any activity in the last 30 days. It will be closed in one week if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 13, 2021
@stale
Copy link

stale bot commented May 20, 2021

This issue is being closed because there has been no recent activity. Feel free to re-open or open a new issue if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

6 participants