Skip to main content

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.

Configuration

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
note

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

1

Storages File (Storages.csv)

Define the high-level details of the new BESS. This file is located at "C:\IENERGY\WESM25XX\Databases".

  • Key Parameters: ID, Region, Maximum and Minimum Capacity, and Starting Storage Percentage.

Read more about Storages.csv here.

2

Sites File (Sites.csv)

Define the specific site details and link them to the main storage ID. This file is located in the same Databases folder.

  • Key Parameters: Site ID, Region, Costs, Efficiency, and the associated StorID.

Read more about Sites.csv here.

3

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.
note

All other parameters should be kept identical to the template.

Read more about Units.csv here.