Yes, what I was thinking: you will have to write your own program to read the database and write the required input files.
About the programming language if you want to use an Access database you must use a language that is able to read an Access file.
Then, the idea of hitting the RUN button was only to create a first set of data input data in order to have an example of how each file looks like. Keep in mind that EPIC will read some files using a free format and other using a fixed format so, the position (line and column) of each variable in a file can be really important.
To do what you need I would write a program able to:
- create an EPICRUN.DAT file with a line for each run. Each line will have a different name so the outputs will be saved in different files (the name of the output files is the name used for each run).
- create the SITECOM, WPM1US, WIND, SOILCOM, OPSCOM, and, WDLSTCOM files automatically assigning different names to the different sites, weathers, etc reading the information from the database.
- create the corresponding site, weather, and operation files reading the information from the database ad assigning the proper names used in the *.DAT files.
If you can get to this point then you can run the model directly from the console and EPIC will run all the simulation included in the EPICRUN file.
Luca