Battery Simulator

lager battery

Interface for battery nets

lager battery [OPTIONS] [NETNAME] COMMAND [ARGS]...

Options

--dut <dut>

ID of DUT

Arguments

NETNAME

Optional argument

batt-empty

Set battery fully discharged voltage in Volts

lager battery [NETNAME] batt-empty [OPTIONS] [VALUE]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

VALUE

Optional argument

batt-full

Set battery fully charged voltage in Volts

lager battery [NETNAME] batt-full [OPTIONS] [VALUE]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

VALUE

Optional argument

capacity

Set battery capacity limit in Amps-hours

lager battery [NETNAME] capacity [OPTIONS] [VALUE]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

VALUE

Optional argument

current-limit

Set maximum charge/discharge current in Amps

lager battery [NETNAME] current-limit [OPTIONS] [VALUE]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

VALUE

Optional argument

disable

Disable Battery

lager battery [NETNAME] disable [OPTIONS]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

enable

Enable Battery

lager battery [NETNAME] enable [OPTIONS]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

mode

Set battery simulation mode type

lager battery [NETNAME] mode [OPTIONS] [[static|dynamic]]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

MODE_TYPE

Optional argument

model

Set Battery Model

lager battery [NETNAME] model [OPTIONS] [PARTNUMBER]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

PARTNUMBER

Optional argument

ocp

Set over current protection limit in Amps

lager battery [NETNAME] ocp [OPTIONS] [VALUE]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

VALUE

Optional argument

ovp

Set over voltage protection limit in Volts

lager battery [NETNAME] ovp [OPTIONS] [VALUE]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

VALUE

Optional argument

soc

Set battery state of charge in %

lager battery [NETNAME] soc [OPTIONS] [VALUE]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

VALUE

Optional argument

state

Get Battery State

lager battery [NETNAME] state [OPTIONS]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

voc

Set battery open circuit voltage in Volts

lager battery [NETNAME] voc [OPTIONS] [VALUE]

Options

--dut <dut>

ID of DUT

--mcu <mcu>

Arguments

VALUE

Optional argument