You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VAFT already has several domain-specific efforts that detect or represent plasma events, states, actuator commands, measured responses, and physics-model outputs. What is still missing is a common composition layer that connects these existing products along one discharge timeline without duplicating their domain logic.
This issue establishes a general plasma-evolution timeline and a physics-association layer for both normal and off-normal operation.
Conceptually:
actuator history
+ diagnostic events
+ plasma states / transitions
+ equilibrium / stability / response quantities
↓
common plasma-evolution timeline
↓
event / state / physics association
↓
shot-level and database-scale analysis
The key rule is:
Keep each domain-specific detector or data product as the source of truth; the common framework composes and references them rather than reimplementing them.
Existing VAFT groundwork
This work should build on, not replace, existing issues:
The timeline must preserve source ownership and provenance.
5. Represent state intervals
Support interval composition from authoritative event/state boundaries so that downstream analysis can query the physical state at a given time, for example:
Add minimal interval composition for existing states such as pre-plasma, plasma-present, and current-quench intervals, with actuator-derived states where semantics are unambiguous.
Phase 4 — physics association
Add generic APIs to:
sample a physics quantity at an event;
summarize it over a state interval;
compare it before and after a transition.
Phase 5 — extend to additional physics domains
Candidates include:
L-H / H-L transition;
NBI / EC heating states;
mode locking / unlocking;
RMP penetration / recovery;
flux closure / equilibrium formation;
additional disruption precursor chains.
Provenance principles
Every composed event or relation must retain enough information to trace:
source product / diagnostic
algorithm or definition
parameter set
software version where available
time convention
quality / ambiguity flags
literature provenance where applicable
For literature-defined detectors, keep the relationship explicit:
published scientific definition
↓
independent VAFT implementation
↓
reproducible validation
The framework does not target software or algorithmic parity with any external event-analysis system.
Acceptance criteria
Inventory existing VAFT event/state/actuator products and their ownership.
Define a minimal common event contract without duplicating domain semantics.
Compose events from multiple domains into a chronological shot-level timeline.
Preserve source, method, quality flags, and provenance after composition.
Distinguish events from finite-duration states and transitions.
Keep programmed actuator commands distinct from measured and plasma responses.
Summary
VAFT already has several domain-specific efforts that detect or represent plasma events, states, actuator commands, measured responses, and physics-model outputs. What is still missing is a common composition layer that connects these existing products along one discharge timeline without duplicating their domain logic.
This issue establishes a general plasma-evolution timeline and a physics-association layer for both normal and off-normal operation.
Conceptually:
The key rule is:
Existing VAFT groundwork
This work should build on, not replace, existing issues:
pulse_schedule#229 — programmed PF/TF/gas/EC settings inpulse_scheduleThe new layer should generalize the common patterns already present across these efforts.
Scope
1. Minimal common event contract
Define the smallest domain-independent contract needed to compose existing event-like products, for example:
Do not force all domains into a large class hierarchy if their existing result objects can satisfy the common contract through adapters.
2. Distinguish events, states, and transitions
Keep temporal markers and finite-duration physical states semantically separate.
Examples:
A transition should be able to relate
state_beforeandstate_afterwhere defensible.3. Preserve actuator-command vs response semantics
Follow the separation already established by #229 and #617:
The timeline should reference these independently rather than collapsing them into one actuator event.
4. Compose a shot-level plasma timeline
Provide a common composition API that can sort and query events from independent producers, conceptually:
The timeline must preserve source ownership and provenance.
5. Represent state intervals
Support interval composition from authoritative event/state boundaries so that downstream analysis can query the physical state at a given time, for example:
The first implementation should use explicit interval composition, not a large automatic state machine.
6. Add generic temporal relations
Generalize patterns already used in #616 and #617:
Missing and ambiguous associations must remain explicit.
7. Associate events/states with physics products
Equilibrium, stability, and plasma-response quantities remain owned by their existing data products. Do not duplicate them inside the timeline.
Instead support operations such as:
Examples:
This creates the bridge between event characterization and physics/stability calculations without coupling detectors to individual solvers.
Intended applications
The same framework should eventually support trajectories such as:
Disruption analysis therefore remains one specialization of the more general plasma-evolution representation.
Implementation phases
Phase 1 — inventory and composition contract
Phase 2 — connect existing products
Connect at least:
pulse_schedule#229 programmed actuator timing.Phase 3 — state intervals
Add minimal interval composition for existing states such as pre-plasma, plasma-present, and current-quench intervals, with actuator-derived states where semantics are unambiguous.
Phase 4 — physics association
Add generic APIs to:
Phase 5 — extend to additional physics domains
Candidates include:
Provenance principles
Every composed event or relation must retain enough information to trace:
For literature-defined detectors, keep the relationship explicit:
The framework does not target software or algorithmic parity with any external event-analysis system.
Acceptance criteria
pulse_schedule#229 as initial producers.Non-goals
disruption_time;pulse_schedulesemantics;The initial responsibility of this framework is temporal alignment, semantic composition, provenance, and physics association.