Syntax
Global Options
| Option | Description |
|---|---|
--box TEXT | Lagerbox name or IP address |
--help | Show help message and exit |
Commands
| Command | Description |
|---|---|
mode | Set or read battery simulation mode (static/dynamic) |
set | Initialize battery simulator mode |
soc | Set or read state of charge (%) |
voc | Set or read open circuit voltage (V) |
batt-full | Set or read fully charged voltage (V) |
batt-empty | Set or read fully discharged voltage (V) |
capacity | Set or read battery capacity (Ah) |
current-limit | Set or read max charge/discharge current (A) |
ovp | Set or read over-voltage protection (V) |
ocp | Set or read over-current protection (A) |
model | Set or read battery model |
state | Get comprehensive battery state |
enable | Enable battery simulator output |
disable | Disable battery simulator output |
clear | Clear all protection trip conditions |
clear-ovp | Clear OVP trip condition |
clear-ocp | Clear OCP trip condition |
tui | Launch interactive terminal UI |
Listing Battery Nets
When invoked with only--box and no subcommand, lists all battery nets on the Lager Box:
Command Reference
mode
Set or read battery simulation mode type.
NETNAME- Name of the battery Net[static|dynamic]- Mode type (omit to read current mode)
--box TEXT- Lagerbox name or IP
set
Initialize battery simulator mode. Prepares the instrument for battery simulation.
--box TEXT- Lagerbox name or IP
soc
Set or read battery state of charge in percent.
NETNAME- Name of the battery NetVALUE- State of charge percentage (0-100), omit to read
--box TEXT- Lagerbox name or IP
voc
Set or read battery open circuit voltage in volts.
NETNAME- Name of the battery NetVALUE- Open-circuit voltage (volts), omit to read
--box TEXT- Lagerbox name or IP
batt-full
Set or read battery fully charged voltage in volts.
NETNAME- Name of the battery NetVALUE- Voltage at 100% SOC (volts), omit to read
--box TEXT- Lagerbox name or IP
batt-empty
Set or read battery fully discharged voltage in volts.
NETNAME- Name of the battery NetVALUE- Voltage at 0% SOC (volts), omit to read
--box TEXT- Lagerbox name or IP
capacity
Set or read battery capacity limit in amp-hours.
NETNAME- Name of the battery NetVALUE- Battery capacity (Ah), omit to read
--box TEXT- Lagerbox name or IP
current-limit
Set or read maximum charge/discharge current in amps.
NETNAME- Name of the battery NetVALUE- Maximum current limit (amps), omit to read
--box TEXT- Lagerbox name or IP
ovp
Set or read over-voltage protection limit in volts.
NETNAME- Name of the battery NetVALUE- OVP limit (volts), omit to read
--box TEXT- Lagerbox name or IP
ocp
Set or read over-current protection limit in amps.
NETNAME- Name of the battery NetVALUE- OCP limit (amps), omit to read
--box TEXT- Lagerbox name or IP
model
Set or read battery model preset.
NETNAME- Name of the battery NetPARTNUMBER- Battery model (e.g., 18650, nimh, lead-acid), omit to read
--box TEXT- Lagerbox name or IP
18650- Standard lithium-ion cellnimh- Nickel-metal hydridelead-acid- Lead acid battery- Custom part numbers from your battery library
state
Get comprehensive battery state including all current settings and measurements.
--box TEXT- Lagerbox name or IP
enable
Enable battery simulator output.
--box TEXT- Lagerbox name or IP--yes- Skip confirmation prompt
disable
Disable battery simulator output.
--box TEXT- Lagerbox name or IP--yes- Skip confirmation prompt
clear
Clear all protection trip conditions (OVP and OCP).
--box TEXT- Lagerbox name or IP
clear-ovp
Clear over-voltage protection trip condition.
--box TEXT- Lagerbox name or IP
clear-ocp
Clear over-current protection trip condition.
--box TEXT- Lagerbox name or IP
tui
Launch interactive terminal UI for real-time monitoring and control.
--box TEXT- Lagerbox name or IP
- Real-time voltage/current display
- SOC adjustment slider
- Enable/disable controls
- Protection status indicators
- Keyboard navigation
Examples
Supported Hardware
| Instrument | Description |
|---|---|
| Keithley 2281S | Battery Simulator with dynamic modeling |
Notes
- All value commands (soc, voc, ovp, etc.) read the current value when called without an argument
- Use
--yesflag to skip confirmation prompts for enable/disable - Protection limits help prevent damage during testing
- SOC can be set from 0-100% for realistic battery simulation
- The
statecommand provides a comprehensive view of all settings - Mode can be
static(fixed parameters) ordynamic(SOC-based modeling) - The TUI allows concurrent CLI access while monitoring

