Skip to main content

Updating the Database

This section will cover three ways to update the database:

  • Automatic update command in a batch file
  • Manual update of the database in Apollo

An up-to-date system database is crucial for accurate Short-Term Forecasting, as the WESM market constantly changes (e.g., new units, upgrades).

Ways to Update the System Input Database

Automatic Update

iPool can analyze market data and automatically update the database using command-line flags, typically when running a historical load (-hist). The flags you combine with -hist determine the action taken.

  • -updatedb -hist (Analyze and Correct) This combination automatically corrects errors for existing units in the database, such as updating an incorrect MW capacity to match the historical data.

  • -genlist -updatedb -hist (Analyze, Correct, and Add) This combination performs both of the above actions and reads IEMOP input files (like MNM_Genlist.csv). This allows iPool to automatically add new units and sites to the database that were not previously listed.

    iPoolx.exe -new BASE -t "7/14/2025" -ndays 7 -rep 3 -spin 1 -pmin 0 -elim 0 -ramp 1 -5mnDisp 1 -stor ALL -GenList mnm_genlist.csv -s -x iPoolx.exe -o BASE -s HISTORICAL -hist -rb -x -updatedb

note

Run a historical load first when using this method, as it ensures that the necessary data is prepared and available before proceeding with the database update.