INTERACTIVE LABORATORY / 01DETERMINISTIC · 60 s · Δt 0.01 s

Control in Shared Environments

When several controllers act through a limited shared resource, one controller’s output can change the results available to the others. Compare that coupling with a fixed disturbance recording, then test what survives a new intervention.

t = 60.00 s

Controller 0Controllers 1–4Reference r₀│ Reference step

Shared capacity

Perceptions depend on the complete output vector.

Fixed additive replay

Model 3 · externally varied gain, replayed

The capacity multiplier a(t) is recorded from the same recording run and replayed as a feedback gain varied from outside, independent of every output: pi = a(t)·oi. This is a variable feedback function of the kind discussed in thread 16253, #104–#105 and #112, where a computer varies the gain and plays the other agent. Like the additive replay, it reproduces the recording run exactly; the question is whether it also predicts a different intervention.

Capacity multiplier

a = min(1, C/S). This is a multiplier, not ∂p₀/∂o₀.

The environmental connection

Outputso₀ … oₙ₋₁Shared resourceS = Σoᵢa = min(1, C/S)Perceptionspᵢ = a oᵢEach loop returns pᵢ to its own comparator.

A proportional allocation rule, without queues, transport delay or resource-maintenance dynamics. It is an explicit environment for PCT controllers, not a competing theory of control.

What this experiment tests

A fixed additive recording can fit a trajectory without preserving how the environment responds to a changed output. The test is whether the same recording predicts both perceptions and outputs under new interventions, without being fitted again.

A signature that does not depend on the settings: in both replayed models the other controllers’ environment does not depend on anyone’s output, so their outputs in the test are the same as in the recording run, whatever controller 0 does. In the shared model they change once the capacity is in play. The same test over 2160 parameter settings shows where the three models can and cannot be told apart.

Failure of one replay construction does not rule out every disturbance model. Nor does a simulated capacity limit establish how drivers, callers or employees behave: their controlled variables, hierarchy and environmental connections require independent evidence.

With a person in the loop: the Shared-Capacity Tracking Experiment puts you in controller A’s place, beside one computer partner that uses R. S. Marken’s leaky-integrator controller. It records two trials that differ only in your target step, fits the controller to one and predicts your mouse movements in the other, under the shared environment and under the replayed gain and replayed disturbance. Nothing leaves your browser.

Model, update rule and assumptions

All controllers begin with zero output and reference 1.5. At each step, perceptions are evaluated from the current outputs, then all outputs are updated simultaneously:

oi←clip(oi+dt·G(ri−pi),0,omax)
S=∑joj,a=min(1,CS),pi=aoi

At S = 0, a = 1. In the replay model, pᵢ = oᵢ + dᵢ(t), with dᵢ(t) = pᵢ(recording) − oᵢ(recording). This stored sequence is independent of all outputs during replay. Its construction from a training trajectory is disclosed; it is not independently measured physical evidence.

N counts controllers; rᵢ is the reference, oᵢ the output, pᵢ the perception, C the shared capacity, and S the total output. All use arbitrary signal units. G has units s⁻¹; dt = 0.01 s; oₘₐₓ is the output bound. The 60 s run contains 6,000 updates and 6,001 samples. The model identifies environmental output with perception through an identity perceptual function.

The integrator state itself is clipped. There is no hidden integral state accumulating above the actuator limit: the observed effect is output saturation with residual error. No non-negative clipping is applied to replayed perceptions; for some settings, additive replay can produce negative perceptions.

Above capacity, the local derivatives with other outputs held fixed are:

∂pi∂oi=C(S−oi)S2,∂pi∂oj=−CoiS2(j≠i)

Below capacity the derivative matrix is the identity. At S = C it is generally not differentiable. The local experiment reports finite differences, which can cross this boundary. An independent additive replay has own-channel derivative 1 and cross-channel derivatives 0.

Protocol, validation and limits of inference

Shared capacity: record a baseline with all references fixed at 1.5, then apply the same test intervention to the shared model and the replay. At default settings the baseline disturbance is exactly zero because total baseline demand stays below C = 8.

Frozen replay: record a shared-capacity training run with a +3 reference step at 30 s on controller 0. Freeze its entire disturbance sequence. Adjust only the test step, time or receiving controller to assess prediction. Changing C, N, G or the output limit creates a new training recording and starts a new comparison.

Local intervention: hold a shared-run output vector fixed and perturb one component. This is an intervention on the environmental map, not the closed-loop response of a person or a Test for the Controlled Variable.

The default shared-model means over 50–60 s are p₀ = 2.00185, o₀ = 10, other p = 1.49954, other o = 7.49075. Baseline replay gives 4.5, 4.5, 1.5 and 1.5 respectively. The others’ output ratio is 4.99384 versus 1. A training-matched full replay reproduces the trajectory to floating-point precision.

The sum of default post-step references is 10.5, greater than capacity 8. Not all references can be met simultaneously. At the limiting shared state, ∂p₀/∂o₀ = 0.15: the environmental connection has not vanished. Good perceptual tracking can also hide substantial differences in output.

A discriminating test: use the same fixed recording and controller parameters across predeclared interventions; compare full output and perception trajectories. A replay fitted separately to each outcome cannot establish predictive equivalence. Numerical consistency is distinct from empirical validation against independently measured behavior.

Connection to the discussion

This laboratory develops the shared-capacity comparison in the forum experiment. The distinction between general PCT and a fixed linear environmental approximation matters: post 102 allows nonlinear, varying feedback functions, and post 104 explicitly allows gain to depend on another controller’s output.

The maintenance of shared means of control discussed in post 123 is a further question. Here capacity is fixed; no controller maintains it. Neither queues nor hierarchical changes in goals are included. The earlier priority-allocation example and this proportional-allocation rule are different environmental models.

Reproduce the experiment

Everything runs locally. Exports include the setup, test intervention and recording protocol. JSON also includes the full training run and disturbance sequence. There are no external libraries, accounts or uploads.

Simulation source · JavaScript