← the field/PowerFlow

Instrument VI · Applied systems

PowerFlow

A power grid, re-posed as a facility-location problem.

Most engineering problems aren’t entirely new. Their underlying structures may already be understood in another discipline.

PowerFlow investigates what happens when a domain-specific engineering problem is recognized, translated, and solved through an existing mathematical framework.

What begins as transformer placement becomes an exploration of optimization, system behavior, and resilience.

Operate the instrument ↓

The proposition

A problem’s apparent complexity can depend on the disciplinary framework through which it is understood. Changing that framework can reveal solutions that were previously difficult to see.

Optimization vs. slack
0 · min-cost100 · productive slack

Fault response uses nearest-live-transformer reassignment. The simulation illustrates capacity and voltage constraints under disruption; it does not model switching topology, protection coordination, or full distribution-network restoration.

Lens IThe thesisSections 01–05 · What was recognized, and why does it matter?
03 — The problemwhat was actually being solved

A familiar problem wearing unfamiliar clothes.

Engineering teams were spending days manually evaluating electrical circuit configurations to determine viable transformer placements. Each configuration required consideration of electrical loads, distances, current, and voltage-drop constraints.

The task involved repeatedly testing possible arrangements until an acceptable configuration could be found.

pick a transformer location→run the voltage-drop numbers→a node exceeds 5%→start over↺

The difficulty wasn’t a lack of engineering knowledge. It was the amount of manual iteration required to evaluate the possibilities.

The challenge

Could this process be represented mathematically and evaluated computationally, rather than through repeated manual experimentation?

The demonstration case is a streetlight distribution circuit: a set of lighting loads, a set of candidate transformer locations, and one rule that decides everything — no node may lose more than five percent of its voltage on the way.

Parameter — from the workbookValue
System phaseSingle-phase (K = 2)
Nominal voltage120 V
Power factor0.95
Load per light1.14 A
Feeder conductor1/0 AL XLPE TPX UG · 0.20 Ω per 1000 ft
Streetlight conductor#4 AL XLPE DPX UG · 0.42 Ω per 1000 ft
Maximum allowable voltage drop5% (6.0 V)
The variables are real ones. These are the global parameters of the Facility-Location / Vdrop workbook the instrument above is built on. The workbook gives each node the feeder or the streetlight resistance; the instrument uses the streetlight conductor throughout.
04 — The recognitionthe intellectual breakthrough

This was a facility-location problem.

The electrical engineering problem had a recognizable mathematical structure. In operations research, facility-location problems ask where facilities should be positioned to serve distributed demand while satisfying defined constraints.

The terminology changed. The underlying optimization structure was familiar.

Electrical systemFacility-location model
StreetlightsDemand points
TransformersFacilities
Electrical loadsDemand
Transformer placementFacility placement
Distance-dependent voltage dropDistance-dependent service cost
Voltage-drop limitFeasibility constraint

This recognition changed the direction of the problem. Instead of manually testing electrical configurations, the problem could be translated into an established optimization framework.

The insight

Domain-specific complexity can conceal a more general mathematical structure.

A precision worth keeping: the correspondence is structural. It does not claim that voltage drop and transportation cost are the same quantity — only that they occupy the same position in the same kind of problem.

05 — The translationthe reasoning, made visible

From domain to structure.

A repeatable method, not a project timeline

01

Observe

Identify the repetitive manual process.

02

Abstract

Separate domain terminology from the underlying relationships.

03

Translate

Map electrical components onto optimization concepts.

04

Formulate

Define variables, objective, and constraints.

05

Implement

Build the computational environment.

06

Evaluate

Examine solutions, behavior, and resilience.

The critical operation wasn’t replacing electrical engineering with operations research. It was identifying which relationships could be preserved while changing the problem’s representation.

The electrical system was abstracted into a set of demand points, candidate facilities, assignment decisions, and feasibility constraints. Once formalized, candidate configurations could be evaluated systematically rather than through manual trial and error.

Electrical systemlights, transformers, conductors, a 5% rule
→
Abstract modeldemand, facilities, assignment, feasibility
→
Optimization enginesearch the configurations instead of guessing them
→
Evaluated configurationevery node graded PASS or FAIL, with the reason on record

The result was an optimization infrastructure that made the search process computational.

Lens IIThe formulationSections 06–07 · How was the problem represented and implemented?
06 — The formulationthe actual model

What the model decides, and what it must obey.

Two models appear on this page, and they are kept apart on purpose. The workbook is the working tool. The instrument above is a simplified demonstration built on the workbook’s electrical formula, with a few additions so that failure can be studied.

A · Decision variables

Which sites open, and who each one serves.

yi ∈ {0,1} — transformer site i is open
xij ∈ {0,1} — node j is served from site i

In the workbook these are the Open_Flag column and the binary assignment matrix, up to ten candidate sites.

B · Objective

What is being minimized.

workbook  : min maxj Vdrop%j   over x, with y fixed
instrument: min Σi yi   by heuristic search

In the workbook the engineer decides which candidate sites are open: Open_Flag is an input, not something the model may switch on. With the sites fixed, the objective cell is the worst voltage drop on the circuit, so it cannot be improved simply by opening every site. The template also carries a fixed cost per site and optional distance and voltage-drop cost terms, for extending the model to site selection; they are left empty.

The instrument asks the other question — how few transformers will do — and answers it by search, not proof.

C · Constraints

What makes a configuration feasible.

Σi xij = 1  ·  xij ≤ yi
Vdropj = K · Ij · (R/1000) · dij ≤ 5% · V
instrument only: Σj Ij · xij ≤ C

Every node is assigned exactly once, only to an open site, and its voltage drop must stay inside the limit. Transformer capacity is an addition of the instrument.

The instrument treats each load as its own run from transformer to node on the #4 AL streetlight conductor (0.42 Ω per 1000 ft). It does not model the 1/0 AL feeder (0.20 Ω per 1000 ft) as a separate segment.

D · Evaluation

How a configuration is judged.

Each node is graded PASS or FAIL against the limit. A configuration is feasible when every node passes; it is infeasible when some node cannot be brought within 5% from any open site.

The instrument’s search is a weighted clustering heuristic: it tries each transformer count in turn and keeps the first configuration that meets the targets. The result is a feasible candidate configuration. It is not shown to be the global optimum.

The human decision-maker

The model does not replace the designer.

The optimization infrastructure evaluates configurations against formalized objectives and constraints. The engineer retains the ability to exercise judgment, override assignments, and document the rationale. In the workbook this is literal: beside the model’s answer, every node carries a Designer_Selection and a Designer_Justification.

A computational model is a representation of a problem, not the entirety of the problem. The engineer may know about site conditions, operating requirements, or physical constraints the model was never told. In the instrument, a transformer you place by hand is marked DESIGNER and stands beside the ones the search found.

The facility-location objective does not capture everything about electrical distribution. Each load here is evaluated on its own straight-line run to its transformer; real circuits share conductors, current accumulates along them, and feeder and branch segments have different impedances. The formulation is a faithful statement of this model, not of the whole discipline.

07 — The instrumentthree ways to investigate

Not a dashboard. A system you can question.

Mode I — Configuration

Place

Move the dial and watch the search open and close transformers. Tap empty ground to place one yourself, and see what your judgment changes.

Mode II — Disruption

Break

Inject a shock, or tap any transformer to fault it. Loads reroute to whatever is still alive. Watch whether the system holds, sags, or cascades.

Mode III — Recovery

Restore

Heal the faults, search again, or generate a new site. Compare the configuration that survives with the leanest one the search found.

Return to the instrument ↑
Max VdropThe largest voltage drop at any served node, against the 5% limit.
Min headroomCapacity left at the most heavily loaded live transformer. Negative means that transformer is over its rating.
Aggregate reserveTotal live capacity minus total demand. It can look healthy while one transformer is overloaded, which is why it is shown beside min headroom and not instead of it.
N−1 survivedThe number of individual transformer failures the configuration can withstand without violating the service criteria: no further transformer trips, no transformer left above its rating, no node beyond 5% drop, no node dark.
Model assumptions

Taken from the workbook

  • 120 V single-phase, K = 2
  • Vdrop = K · I · (R/1000) · distance, graded against a 5% limit
  • #4 AL conductor at 0.42 Ω per 1000 ft; 1.14 A per light
  • Each node assigned to exactly one transformer, by straight-line distance
  • Designer override recorded beside the model’s answer

Added for the instrument

  • The site is generated: 26 lighting nodes of 1–6 lights. It is not a real project.
  • Transformers are 3 kVA (25.0 A).
  • Every run uses the streetlight conductor; the feeder is not modelled as a separate segment.
  • On a fault, loads move to the nearest live transformer, whatever the distance. Switching topology, protection coordination, and network restoration are not modelled.
  • A transformer trips above 125% of its rating; trips can cascade.
  • A node beyond 10% voltage drop is treated as dark.
  • Transformer positions come from a weighted clustering heuristic, not an exact solver; global optimality is not established.
Lens IIIThe recordSections 08–10 · What happened, what was learned, and what follows?
08 — The fragility thesiswhat the solution revealed

When efficiency becomes a source of vulnerability.

Finding an optimal configuration solves a particular problem under a particular set of assumptions. But what happens when those assumptions change?

Optimization can improve utilization while reducing excess capacity. A configuration that performs efficiently under normal conditions may have less capacity to absorb unexpected disruptions.

Optimization sharpens local performance and quietly erases the slack that used to absorb a shock. Resilience never lived in the parts — it lived in the space between them.

This introduces a second problem. Not simply where to place infrastructure, but how to configure infrastructure that can continue functioning when individual components fail.

Efficiency asks

How little does the system need in order to operate?

Resilience asks

What does the system need in order to survive disruption?

These objectives can conflict. The challenge isn’t to maximize either one, but to understand their relationship and decide what trade-offs are appropriate.

Underneath is a distinction between local optimization and system-level performance. A system can improve its individual components, or its operating efficiency, without improving its capacity to absorb disruption.

This is not a universal law. Slack is one contributor to resilience; redundancy, network topology, component reliability, and recovery mechanisms matter too. The instrument isolates slack so its effect can be seen — it does not claim slack is the whole story.

09 — The recordwhat happened

Evidence, generated while you watch.

Everything below is computed from the site currently in the instrument, and it updates as you operate it. It is evidence about this model’s behavior — not a report of project outcomes.

A · Configuration found — heuristic search

B · Disruption result

C · Comparative result — the same site, five settings of the dial

SlackTransformersMax VdropMin headroomAggregate reserveSingle faults survivedWorst single fault
For each setting the site is searched again, then every transformer is failed in turn. “Survived” means no further trip, no transformer over its rating, no node beyond 5%, none dark.

D · Reproduce this result

—
The same site ID and dial setting produce the same configuration.
Node table — the workbook’s Platform_View columns
Node_IDLightsI_AmpsAssigned_FacilityDistance_ftVdrop_VVdrop_PctWithin_Limit?
10 — Beyond the circuitthe larger implication

Two questions the circuit left behind.

PowerFlow began with a practical engineering problem. Its development revealed two broader questions.

First: how many seemingly specialized problems are actually instances of mathematical structures that have already been explored elsewhere?

Second: when we solve a problem through optimization, are we improving the system as a whole, or merely improving the objective we’ve chosen to measure?

The first question concerns recognition and translation. The second concerns the assumptions embedded in our solutions. Both point toward a broader practice: understanding systems through their underlying relationships rather than treating their visible components as isolated problems.

The opportunity isn’t always to invent something new. Sometimes it’s to recognize what is already there, see what it makes possible, and understand what its solution leaves behind.