Multiple simulation controls in File X

72 views
Skip to first unread message

Kleinwechter, Ulrich (CIP)

unread,
May 11, 2012, 10:12:34 AM5/11/12
to DS...@listserv.uga.edu
Dear all,



I wondered a little bit about the best way to introduce multiple
variants of simulation controls in a File X. Suppose, we have two
treatments. Each treatment is to be simulated with slightly different
simulation controls. The way I've found this to be introduced into the
File X looks something like this:



@N GENERAL NYERS NREPS START SDATE RSEED SNAME....................
SMODEL

1 GE 1 1 S 04061 2150 2004-1 DEFAULT

@N OPTIONS WATER NITRO SYMBI PHOSP POTAS DISES CHEM TILL CO2

[...]



@N GENERAL NYERS NREPS START SDATE RSEED SNAME....................
SMODEL

2 GE 1 1 S 04245 2150 2004-2 DEFAULT

@N OPTIONS WATER NITRO SYMBI PHOSP POTAS DISES CHEM TILL CO2

[...]



I.e. the headers are repeated for each treatment.



A possibility to arrange everything more clearly would be to put all
treatments under a single header:



@N GENERAL NYERS NREPS START SDATE RSEED SNAME....................
SMODEL

1 GE 1 1 S 04061 2150 2004-1 DEFAULT

2 GE 1 1 S 04245 2150 2004-2 DEFAULT

@N OPTIONS WATER NITRO SYMBI PHOSP POTAS DISES CHEM TILL CO2

[...]



In that case, however, DSSAT gives an error message



IPSIM YEAR DOY = 0 0

Invalid format in file.


File: CIKABCHK.PTX


Line: 107


Error key: IPSIM


Simulations terminated.



This points me to one of the three problems

IPSIM 1 Simulation control section not found. Please add to input
file.

IPSIM 2 Incorrect number of lines in simulation control section.
Check format.

IPSIM 3 Impossible combination--for MEEVP='Z', MEPHO must be 'L'.



DSSAT seems to have a problem with multiple lines under each header of
the simulations control section. I wonder whether there is any reason
why one cannot summarize all versions of the simulation control under
single headers. It works flawlessly for all other sections of the File
X.



Being able to write multiple lines under a single header would greatly
facilitate the work with the File X.



Thank you very much for your support,



Ulrich





Ulrich Kleinwechter I Agricultural Economist
Social and Health Sciences Program

International Potato Center


Gerrit Hoogenboom

unread,
May 12, 2012, 1:04:55 PM5/12/12
to DS...@listserv.uga.edu
Ulrich,

Good question. Unfortunately DSSAT requires that the entire simulation
control section for one level is kept together and then repeated for the
second and following levels. There are ample examples in the
experimental data files that are distributed with DSSAT, especially in
the Seasonal and Sequence/Crop rotation directory.

Regards,

Gerrit
--

Gerrit Hoogenboom
Director, AgWeatherNet, and
Professor of Agrometeorology

Washington State University
24106 North Bunn Road
Prosser, Washington 99350-8694, USA
1-509-786-9371; Fax: 1-509-786-9370
gerrit.h...@wsu.edu
www.weather.wsu.edu

Matthew McCandless

unread,
May 12, 2012, 1:15:29 PM5/12/12
to DS...@listserv.uga.edu
I am out of the office and unable to respond to e-mail until May 22, 2012. For urgent matters please contact sswid...@iisd.ca.

Thank you
Matt McCandless
Project Manager
Sustainable Natural Resources Management Program
International Institute for Sustainable Development
6th floor, 161 Portage Avenue East
Winnipeg, Manitoba
R3B 0Y4
Canada
www.iisd.org
Phone: (204) 958-7729
Fax: (204) 958-7710
E-mail: mmcca...@iisd.ca
Reply all
Reply to author
Forward
0 new messages