Overview
The primary goal of this workshop is to provide hands-on experience in modeling, analyzing, and simulating market using the iPool Apollo platform. This part will discuss:
- Historical Analysis
- Database Update
- Data Visualization & Real-Time Monitoring
Historical Analysis (ScenHST)
Navigate to C:\IENERGY\WESM2603T\SERIES\ScenHST to get started.
General Execution Steps
Validate Directory Paths
Open Defaults.csv using Notepad or Excel. Verify that all directory pointers and file paths correctly map to your local machine's folder structure.
Initialize Simulation Environment
Inspect the DefInit.bat file with Notepad to confirm the system database, SysWESM2603.mdb. Once verified, execute the file to prepare the environment for data processing.
Generate Market Bids
Run the iYBidWESM.exe utility. This tool converts raw WESM data into the structured bid formats required for the Apollo simulation engine.
Execute Historical Run
Inspect and run RunHST.bat. This process generates the necessary charts, HistDBErr.csv and the critical Event file, which logs out-of-merit outages and link deratings.
File names may have been modified or replaced to suit this specific workshop. If you encounter missing files or directory errors, please consult a facilitator for assistance.
More in-depth details in here for Batch File | Command Sequence.
Market Scenarios
The following scenarios are used to categorize and execute different simulation environments.
| Item | Description |
|---|---|
| BASE | The Default Set: Establishes the baseline parameters including start date, duration, dispatch resolution, and system options. |
| HST | Historical Baseline: Uses SysWESM2603.mdb updated via mnm_genlist.csv. Generates HistDBErr.csv and an Event file capturing out-of-merit outages and temporary link limits (forward/reverse). |
| BCA | Historical Simulation: Uses 5-minute demand and actual bids with OM_HST.bids and Ev_HST.csv events. • BCAs0: No reserves • BCAs1: Full reserves • BCA20/BCA30: Partial reserves (via PCSR values). |
| HSTmr | Must-Run Historical: Uses SysWESM2603mr.mdb which forces all out-of-merit sites to a Must-Run status. |
| BCAmr | Must-Run Simulation: Assumes out-of-merit stations are Must-Run. Utilizes the Gen_HSTmr.csv capacity factor file. Includes BCA0mr and BCA1mr. |
Batch Files Used
This section will discuss the batch files used in ScenHST series.
To know more about specific commandlines, check here.
I. Initialize Database
The DefInit.bat script initializes the database, a mandatory step before running any simulation. This ensures the system references and utilizes the correct database architecture.
Read more about database initialization here.
If needed, change SysWESM2603Z.mdb to match the latest database version required for your series.
II. Automatically Update Database
The RunUpdateDB.bat script automates the process of updating the current system database with the latest Market Network Model (MNM) and capacity files.
III. Historical Load
The RunHST.bat script executes the command lines required to generate historical load profiles and perform backcast calibrations at a 5-minute dispatch resolution.
IV. Backcast and Calibration
The RunBCH.bat script contains the command lines necessary to generate hourly backcasts and perform scenario calibrations.
Updating the Database
Database updates are required when:
- New generating units are added
- Market network model structure needs correction
Database Automation
To ensure the model is up to date with the latest IEMOP data, use the provided batch file, RunUpdateDB.bat.
This script automates the update of the SysWESM database using the latest Market Network Model (MNM) and CAPEG files.
Command:
REM Updates the system database with the latest units from Market Network Model and CAPEG file
call DefInit.bat
set "PATH=c:\Program Files (x86)\iEnergy"
REM ===========================================
iPool.exe -new TEMP -genlist mnm_genlist.csv -CAPEGFile CAPEG_20260318.csv -updatedb -x
More in-depth details in Update the Database.