APSIMInitiative / ApsimX

ApsimX is the next generation of APSIM
http://www.apsim.info
Other
140 stars 168 forks source link

Pest and Disease - Calling a variable from a sim and hold it constant #8163

Closed jambon17 closed 11 months ago

jambon17 commented 1 year ago

What is your question?

Context:

  1. The growth rate of the pathogen within the plant (from the leaves to the stem base) is calculated as [1/Target Thermal Time]*MeanTemp.
  2. Target Thermal Time (Target TT) is defined by the leaf or node number (i.e., leaf crop growth stage when the plant was infected) via linear interpolation in the model.
  3. The model calls the Target TT value when the lifecycle stage has been initiated.

The aim was to hold the Target TT value of the specific crop growth stage when the lifecycle stage has been initiated to predict when the pathogen reaches the stem base. However, the Target TT value changes every day due to the changing node number as the crop develops. Is there a way I could have that value constant for the pathogen development?

In the example below, I wanted to use the value 980.067 under the TargetTT_GS column. So when the thermal time has reached this value, I can move on to the next lifecycle stage...

image

Any suggestions are appreciated!

stale[bot] commented 1 year ago

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[bot] commented 11 months ago

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