FLEET_SOC_MGR

Fleet charge sequencing under a site power limit, with fair rotation, a departure-urgency pin and a lowest-state-of-charge priority override.

Validated application blockEV · Fleet & DepotIEC 61131-3v1.0.0

When to use it

Use FLEET_SOC_MGR when a depot has more connected vehicles than its supply can charge at once, and the site limit has to be shared between them without starving any vehicle and without exceeding the connection.

Interface

The published port signature. This is the whole of what the block exposes to your program — the implementation body is not shown here and ships with the download.

Inputs

PortTypeUnit
ENABLEBOOL—
N_VEHICLESUSINT—
MIN_SOCREAL%
SITE_KWREALkW
VEH_KWREALkW
SOC_RESTORE_PCTREAL%
FLEET_MIN_SOCREAL%
PRIORITY_VEHUSINT—
URGENTBOOL—
URGENT_VEHUSINT—
SOC_OKBOOL—
ROTATE_TIMETIME—
ADVANCEBOOL—
ACKBOOL—

Outputs

PortTypeUnit
SEQUENCEUINT—
NEXT_VEHICLEUINT—
SLOTSUSINT—
HEAD_VEHUSINT—
GRANTED_KWREALkW
SEQ_VALIDBOOL—
ALM_NO_CAPACITYBOOL—
ALM_SOC_SHORTFALLBOOL—
ALM_CFG_ERRBOOL—

Validation evidence

Tests
10
Simulated scans
84
Simulator
v0.1.0

Complete IEC 61131-3 implementation with a published test suite that runs on the vplant simulator. The counts above are that suite, executed on this build.

  • Conforms to IEC 61131-3

Download FLEET_SOC_MGR — free

Create a free Ri Tech account to download the block. You get the Structured Text body, the Rockwell Add-On Instruction (.L5X), the Schneider Control Expert DFB (.XDB), PLCopen XML and the datasheet.

Every block in the catalogue is free to download, in every format it ships, with no purchase and no card. Browsing needs no account at all; downloading needs a signed-in one, so the block lands in your library and re-downloads whenever you need it.

Source is never published on this page. The implementation is released to a signed-in Ri Tech account — free of charge, but never anonymously.