Optimized Bids (opbid)
This section covers how to utilize the opbid feature for simulating Battery Energy Storage Systems (BESS) within the iPool environment.
Overview
Optimized Bid (opbid) is a command-line optimization tool designed to maximize profit. Unlike opELP, which focuses on grid demand, opbid optimizes the bid based on the historical price duration curve.
To use opbid, users must run a backcast using the -opbid command-line flag with the specific Storage ID as an argument.
Simulation Workflow
The following batch script demonstrates the full lifecycle of an optimized bid simulation, from base case setup to final execution.
REM 1. Define Scenario Parameters
iPool64.exe -new BASEH -t "11/24/2025" -ndays 7 -rep 3 -5mnDisp 0 -stor ALL -s -x -spin 0 -elim 1 -multi 1
REM 2. Load Backcast Inputs (Historical Data)
iPool64.exe -o BASEH -s BASEH00 -d DemandHr_HISTORICAL.csv -g MRHCFac_HISTORICAL.csv -e Ev_HISTORICAL.csv -bt DEF_PRIORITY -bf 01GNPD_U01.bid -x
REM 3. Apply Sensitivity (Increased solar and demand)
iPool64.exe -o BASEH00 -s BASEHDS -e Ev_SOL500.csv -dx 1.15 -x
REM 4. Generate optimized bid file via -opbid
iPool64.exe -o BASEHDS -s HDS_BAT0 -ab 1 -abf ALL -rb -run -x -opbid STO_CLUZ_BAT
REM 5. Execute BESS simulation using the newly generated bid
iPool64.exe -o BASEHDS -s HDS_BAT1_T -ab 1 -abf ALL -rb -run -x -bt DEF_PRIORITY -bf STO_CLUZ_BAT.bid
To enable this feature, you do not need to modify and create individual unit bids manually. It is activated via a commandline in your simulation batch file.
Step-by-Step BESS Simulation
- Phase 1: Inputs Preparation
- Phase 2: Initialize and Run
- Phase 3: Compare and Analyze
Units File (Units.csv)
Define the individual battery units and link them to their respective site. This file is also located in the Databases folder.
- Key Parameters: Unit ID, Region, Costs, Efficiency, Maximum/Minimum Capacity, and the associated
SiteID.
All other parameters should be kept identical to the template.
Read more about Units.csv here.