Native model and single-line authoring

Prerequisites and identities

Work in Build on a detached candidate. Read project_capabilities with category=model-kinds for exact property names, native types and units; use study_equipment and project_inspect for saved native IDs. The current SHA-256 is expected_artifact, not an engineering approval. Plan can discover and read, but cannot edit.

Profile availability

project_capabilities category study-profiles shows the admitted fixed-switch source projection separately for each study. It is not a claim that all 16 studies support the current source: non-switch-qualified families reject switch-bearing sources while their existing switchless workflows remain available. Every source still needs its actual profile prerequisites and validation.

Model operations

model_edit accepts at most 100 explicit operations. Add supplies a supported kind, new exact native ID, properties and provenance (basis=source-data or synthetic-assumption, source description). Update changes declared scalar/enum properties only. Connect names exact native references. Switch changes an actual native switch's closed state. Delete never silently cascades connected equipment. Use MW for native generator/load P, MVAr for Q, kV for nominal voltage, pu for voltage setpoints/branch impedance and the discovered native unit for every other field. Never treat catalogue placeholder ampacity as a source rating.

Transactions run native serialization in a private worker and compare the input hash again before atomic publication. Success returns the actual new artifact, diagnostics and save/reload evidence; it does not accept a candidate or certify studies. Rediscover after each successful transaction. Frozen candidates require a separate explicit candidate. New invalid references, unexpected native conversion/identity changes and stale input block publication. Dynamic model constants are not silently regenerated; edited RMS declarations must be revalidated before use.

Explicit RMS template and event assignment

assign_rms_template installs one of the five pinned admitted plant templates or the explicit native AC bus balance block on its matching device class. Discover its exact parameter names/units through project_capabilities first, then provide the complete numeric set, a new template ID and explicit synthetic provenance. Reference values are not implicit defaults; the native constant-power Load template has an empty numeric set. Generator frequency must match the declared circuit frequency; finite line admittance constants must match the exact source impedance/shunt. New buses require an explicit Bus AC balance template assignment with parameters {} before device models are bound; native solver/compiler initialization is not permission to repair an imported empty block. Replacing a bus block requires explicit reassignment of every already-connected dynamic model. Wrong class, incomplete constants, hidden FMUs/block graphs and unsupported structures fail without publication. Replacing a model targeted by existing events is rejected rather than silently rebinding those events.

rms_group creates a real native event group. rms_event targets an exact variable on an assigned model: line u (0/1), native load Pl0/Ql0 (pu injection, negative consumption), or admitted finite-admittance shunt g/b (pu). Supply explicit group/device/event IDs, time and value. Events use native step alignment and are rechecked against the submitted horizon/step. Ideal-switch topology transitions are not supported. The embedded model/group declarations are saved with the source; these edits neither run nor qualify an RMS study.

Drawing operations

drawing_edit creates/removes an exact schematic diagram, places/unplaces saved equipment and saves orthogonal routes with explicit owner-local terminal anchors. Coordinates are native drawing units. Drawing-only changes must leave electrical records unchanged. Inspect drawing_diagrams, drawing_inspect and route quality before/after saving; native rendered labels and symbols still require visual inspection. No diagram coordinate is a geographic position or electrical length.

Station switching

Treat each manual break-before-make configuration as an exact saved source, not a timed transition or protection sequence. Verify normal supply and full demand after either specified transformer outage, including limits, voltage, islands, control assignments and source-to-solver identity. An ideal fused switch's native placeholder zero flow is not a measured current: qualified projection/reconstruction must establish its value. Ambiguous ideal loops or unsupported dynamics block the affected profile; they are not a partial pass.

Validation and presenting work

Run readiness and the required exact studies; inspect every failed/islanded/non-converged case. Verification separately reports equations, operating limits, integrity, reference comparison, geographic consistency/provenance and coverage. Use workspace_show with exact candidate artifact and target diagram or receipt/group/time to request a native Network/Map/Simulation/Studies/History view. Its initial pending response is not proof of showing. Repeat the same request ID/target to inspect the real GUI acknowledgement; late or mismatched targets fail.

Boundaries and recovery

Original/Main, dirty human models and other account sessions are never edited by these tools. Human Apply, engineering approval, source attestations and destination-bound import/export consent remain separate. A failed transaction leaves the candidate unchanged. Retain earlier artifacts/studies; recovery/retry uses the root-request checkpoint and exact current identities. Never substitute a generic shell, QAction dispatch, automatic source repair, alternate solver or inferred result for an unsupported capability.