> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valar.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Planner

> Create and manage orbital maintenance plans using optimization algorithms

> For the complete documentation index, see [llms.txt](https://docs.valar.space/llms.txt).

The Planner allows you to create and manage orbital maintenance plans for your spacecraft. Using optimization algorithms, the Planner computes a sequence of maneuvers to keep a spacecraft within defined orbital parameters over a given time window.

**Route:** `/maneuvers/planner`

## Flight-plan forecasts (internal rollout)

In **Maneuvers → Flight plan**, saved phases have an automatic forecast. New suitable
orbital data or changes to saved phase and spacecraft inputs trigger an update.
The starting orbit follows the existing source-selection and orbit-age rules,
including public fallback. Its original epoch remains visible.

Each phase separates **Recorded so far** from the **Forecast · remaining phase**.
The forecast shows expected completion, drift from the intended date, predicted
consumption and exit orbit. Expand **Trajectory & assumptions** to inspect orbital
parameters and epochs. Solid history and dashed predictions meet at the source-state
boundary when compatible recorded mean-element data exists.

You do not need to enter propellant inventory. Without a dated estimate, remaining
fuel is unavailable and the nominal forecast assumes planned maneuvers can execute;
it does not verify fuel sufficiency. Physical spacecraft inputs such as total mass
and propulsion are still needed. Only explicitly recorded executions contribute to
recorded progress; past or approved proposals are not proof of execution.

The last completed forecast stays visible during updates, with outdated or failure
status when applicable. **History and starting-state override** provides optional
investigation runs. Forecasting does not approve burns or change saved phase dates.

## Flight-plan waypoints (internal rollout)

Use **Add waypoint** or a waypoint’s **Edit waypoint** action to open the same
editor. Enter **Name**, then choose **Defined by**: **Date & time**, **Delay after
a waypoint**, or **Phase completion**. Dates use UTC, including fractional seconds.
For delays, select an earlier waypoint and enter a positive number in Seconds,
Minutes, Hours or Days; changing units keeps the same elapsed time. Phase completion
lets you select an eligible producing phase without changing its boundary.
Switching definitions retains your unsaved values.

Starts and completions use the following definitions, limited to their supported position:

| Definition | Supplies | Available use |
| - | - | - |
| **Orbital state** | Epoch and state from a stored state vector or public orbit | Reference origin; source and derivation are inspectable |
| **Time-defined** | A fixed UTC time or positive duration after an earlier waypoint; forecast calculates state | Phase start, Coast or Maintenance completion |
| **Phase completion** | The producing phase’s actual evaluated completion time and state | Target-driven maneuver completion; targets stay on the phase |

An immediate start reuses the preceding completion waypoint. Editing that shared
waypoint changes every linked relationship. To wait, use **Edit start waypoint**,
choose **Define a distinct waypoint**, then enter a positive duration after an
earlier waypoint. The gap uses natural coast without an extra authored phase.
Equal dates alone do not join waypoints.

The reference origin can retain automatic source selection or select an eligible
stored source. The editor shows **Orbit source**, followed by six always-visible
**Keplerian elements** with their representation and frame. Open the source selector
to load older records. If details cannot be loaded, the saved selection stays in place;
retrying does not select a replacement. Maintenance reference selection belongs to
the Maintenance phase, not the waypoint. Public orbits use SGP4/SDP4 at their source epoch and assume the
configured launch mass. Selecting a source changes reference intent; apply it with
the explicit, versioned rebaseline action. Expected forecasts continue to select
their source automatically. An orbital source cannot reset a trajectory between phases.

Changes to a shared definition list the affected relationships before saving;
renaming does not need that extra review. **Delete** lists dependencies and requires
explicit replacements or permitted clearing. Failed saves keep your draft and offer
retry. Closing with unsaved changes asks whether to keep editing or discard;
**Cancel** discards the draft.

Forecast states and arrival predictions remain separate from editable definitions.
An unreached phase target leaves its completion unresolved. Reordering or deleting
a producing phase requires repairing affected waypoint dependencies before saving.
The mission end continues to come from launch date and mission lifetime.

## Supported Algorithms

| Algorithm | Description | Status |
| - | - | - |
| [SMA Maintenance](https://docs.valar.space/features/planner/sma-maintenance.md) | Maintain semi-major axis within a tolerance band | Available |
| [Orbit Raise](https://docs.valar.space/features/planner/orbit-raise.md) | Raise to a higher circular orbit, comparing a min-fuel and a fastest option | Available |
| [Inclination Change](https://docs.valar.space/features/planner/inclination-change.md) | Mean-targeted chemical/electric finite plans with a completion deadline | Internal rollout |
| [Phasing](https://docs.valar.space/features/planner/phasing.md) | Fixed-reference chemical/electric phase corrections with terminal-orbit and drift requirements | Available |

## Page Layout

The Planner page has two main sections: a **details panel** on the left and a **plan list** on the right.

![Planner Page](https://mintcdn.com/valar-8bbb18b5/6vb3axcORVXT2Ny4/images/planner-page.png?fit=max\&auto=format\&n=6vb3axcORVXT2Ny4\&q=85\&s=b39ac0018d6401ef688ff9ae0da9e729)

### Toolbar

The top bar contains:

* **Spacecraft Filter** — multi-select dropdown to filter plans by spacecraft
* **Group By** — group plans by Spacecraft, Status, Plan Type, or None
* **Time Range** — bidirectional time filter (past and future plans)
* **New Plan** — opens the plan creation wizard
* **Toggle Panel** — show/hide the plan list

### Plan List

The right panel lists all plans matching the current filters. Each row shows the plan reference (`PL-<number>`), status icon, operator-entered name, spacecraft, plan type icon, and creation date. Ground-track control and orbit-raise evaluations reserve the same kind of reference before approval; the reference stays the same in the details panel and after approval. Older records without a reserved reference may show **Reference pending** instead of a truncated internal ID. Hover any element for a tooltip with details.

Plans can be grouped by spacecraft, status, or plan type. Each group header shows the count and supports pagination (5 items per page) and collapse/expand.

**Status icons:**

| Icon | Status | Description |
| - | - | - |
| Magnifier (indigo) | **Evaluation** | Plan is under review |
| Checkmark (green) | **Approved** | Plan has been approved for execution |
| Cross (red) | **Rejected** | Plan has been rejected |

Click a plan row to load its details in the left panel.

### Nominal disposal evaluations (internal rollout)

Choose **New Plan → Disposal** to assess a retained physical state with the
spacecraft's configured propulsion and drag/SRP properties. New calculations use
one dated, time-varying **nominal activity** history and compare no burn with the
supported lowering strategies.

Review nominal maneuver fuel, active completion, passive decay and total removal
time separately. Numerical profile checks are qualified before release; the
calculation does not repeat an independent comparison for every candidate. Profile
details and decision allowances are available under **Finite firings, weather and
provenance**. Missing qualification or an unresolved threshold stays visible.

Selecting ESA retains applicable deterministic checks, but its full-cycle lifetime
percentile is **not assessed in this MVP**. Nominal entry is not a percentile,
weather-sensitivity assessment, compliance certificate or operational approval.
Reopening an older evaluation preserves its original scenarios and evidence.
**Reassess** creates a new nominal evaluation while retaining the earlier record
and its constraints.

### Delete a disposal evaluation (internal rollout)

Open the disposal evaluation in Planner, choose **Delete**, then confirm with
**Delete evaluation**. Completed, incomplete-search, cancelled and failed evaluations
can be deleted. An active calculation must finish or complete cancellation first;
the review explains why deletion is unavailable while it is running.

Deleting an evaluation removes it from the list and closes its details. Originals
and reassessments can be deleted independently: deleting one leaves the others
available. There is no restore action. If deletion fails, the confirmation shows
the reason and lets you retry without removing the evaluation.

Deletion requires permission to edit maneuver plans in the selected workspace.
Previously authorized evaluations can still be deleted while new
disposal calculations are paused.

### If plan details cannot load

The selected row stays highlighted. The details panel names the plan and explains
the failed request. Choose **Retry** to load it again, reselect the same row, or
select another plan. The previous plan's details are cleared while loading.

Retry only reads the saved plan. If the server reports that verification is no
longer valid, follow its recomputation instruction before review or approval;
retrying does not bypass that restriction.

## Plan Creation Wizard

### Missing Required Inputs

Before computing a plan, supply a complete initial state and its epoch, a finite positive mass from the selected source, and the selected spacecraft's actual propulsion inputs. A TLE supplies an orbit, not a wet mass. The planner does not replace missing thrust, Isp, mass, or force-model data with representative values.

If validation names a missing input:

1. Check the selected state and mass source. For propellant budgets, also configure dry mass and verify that wet mass is not below dry mass.
2. Complete the selected thruster's positive thrust and Isp, and the area/coefficient inputs consumed by enabled forces.
3. For attitude-aware electric raising, complete the actual body/panel geometry and optics in [Spacecraft](https://docs.valar.space/features/spacecraft-management.md#missing-required-inputs-for-calculations); a drag cross-section alone cannot define faceted geometry.
4. Retry the comparison or plan calculation. If approval reports an incompatible older snapshot, generate a new comparison with complete inputs rather than reusing the old approval evidence.

Missing estimates remain unavailable; they do not mean zero delta-V or zero propellant. Complete finite-burn vectors include all three components, even when an axis is explicitly zero. Valid positive subsecond durations are preserved.

Click **New Plan** to open the plan creation wizard. [Phasing](https://docs.valar.space/features/planner/phasing.md) follows **Overview → Initial State → Time Range → Parameters → Review**, saving and resolving its inputs before **Create Plan** starts the paired comparison.

### Step 1: Overview

Configure the plan metadata and select the optimization algorithm.

![Planner Step1 Overview](https://mintcdn.com/valar-8bbb18b5/6vb3axcORVXT2Ny4/images/planner-step1-overview.png?fit=max\&auto=format\&n=6vb3axcORVXT2Ny4\&q=85\&s=f50aaedbe58608967f0cb35e8ebd2396)

| Field | Description | Constraints |
| - | - | - |
| **Plan Name** | User-defined name | Required, max 30 characters |
| **Description** | Optional notes about the plan | Optional |
| **Spacecraft** | Target spacecraft for the maintenance plan | Required — must have at least one orbit solution |
| **Thruster** | Propulsion unit for computing burns | Required — must be configured for the selected spacecraft |
| **Maneuver Type** | Optimization algorithm to use | Select from supported algorithms |

### Step 2: Initial State

Displays the spacecraft's **state** that will be used as the starting point for the optimization, which defaults to latest computed state vector.  Users can select a different state vector if desired using the ID dropdown, or initialize the process with the latest **public TLE.**

![Planner Step2 Initial State](https://mintcdn.com/valar-8bbb18b5/6vb3axcORVXT2Ny4/images/planner-step2-initial-state.png?fit=max\&auto=format\&n=6vb3axcORVXT2Ny4\&q=85\&s=450716df5247f9718f3f2c5ca6231cb8)

### Step 3: Time Range

Define the time window over which the optimizer should plan maneuvers.

![Planner Step3 Time Range](https://mintcdn.com/valar-8bbb18b5/6vb3axcORVXT2Ny4/images/planner-step3-time-range.png?fit=max\&auto=format\&n=6vb3axcORVXT2Ny4\&q=85\&s=616a87ae8a58c425e5f0e29d3c4ce957)

Set the **Start Date/Time** and **End Date/Time** in UTC. The end must be after the start. By default, the start is 3 hours from now and the duration is 3 days.

Some algorithms may require a single **Target Date/Time**.

### Step 4: Algorithm Parameters

This step varies by algorithm type. See the algorithm-specific documentation:

* [SMA Maintenance — Step 4](https://docs.valar.space/features/planner/sma-maintenance.md#step-4-sma-parameters)
* [Orbit Raise — Step 4](https://docs.valar.space/features/planner/orbit-raise.md#step-4-orbit-raise-parameters)
* [Inclination Change](https://docs.valar.space/features/planner/inclination-change.md) — Mean target, fuel, reserve, availability and finite-burn verification

### Step 5: Review

Review the full plan configuration before submission.

![Planner Step5 Review](https://mintcdn.com/valar-8bbb18b5/6vb3axcORVXT2Ny4/images/planner-step5-review.png?fit=max\&auto=format\&n=6vb3axcORVXT2Ny4\&q=85\&s=447c16482c899d9033808c0fa13ec7fc)

The review shows all configured parameters in editable summary cards. Click **Create Plan** to submit. For complex plans, the computation may run asynchronously — a progress dialog tracks the job until completion. On success, the new plan appears in the plan list.

## Ground-track control review (internal rollout)

Ground-track control results use **Overview → Analysis → Maneuvers**. Overview
shows the saved **Action window**, full **Lookahead** and **Replan by** date, with
action-window fuel and delta-V separated from future planning costs. These dates
are explicitly reviewed during plan creation; one week and one month are not
automatic defaults.

The **Analysis** dropdown opens Ground-track error by default. You can also select
the saved LTAN/LTDN error, **Semi-major axis (SMA)** or **Inclination**, and expand
any plot. Every view describes the same saved planned orbit, including the future
maneuvers assumed by the lookahead. The chart has one **Action window ends** divider;
later coverage is labelled **Lookahead · planning only**. Only applicable saved
limits are drawn.

SMA uses km and inclination uses degrees. Both orbital channels are labelled
**instantaneous (osculating) · GCRF**. Older results may not contain these orbital
series; an unavailable channel does not replace them with today's orbit or prevent
you from reviewing the saved ground-track/local-time result.

**Maneuvers** contains the near-term action-window sequence. **Future maneuvers ·
planning only** is provisional and excluded from approval and booking. An empty
near-term list can still be followed by future maneuvers. Select a near-term
maneuver to inspect its saved timing, duration, direction, fuel and delta-V.

An unsuccessful result explains why no valid plan was found. Open **Attempted
solution · cannot be approved** to inspect any retained attempted maneuvers and
candidate costs. These details are read-only. Missing historical details are shown
as unavailable; they are never reconstructed or treated as an approved coast plan.

New results distinguish **Qualified plan** (or **Qualified coast**),
**Substantiated rejection** and **Undetermined**. Open **Decision evidence** in
Overview for the applicable interval, last completed calculation stage, evidence
scope and next action. A substantiated rejection identifies its criterion, measured
or necessarily required quantity, available limit, units, numerical allowance and
witness epoch. An unsuccessful bounded search or a computation deadline does not
establish insufficient fuel or control authority.

**Undetermined** means the calculation could not establish either a complete
qualified plan or a substantiated rejection. Inspect the recorded limitation before
retrying or reassessing inputs/resources. Diagnostic maneuvers remain read-only.
A complete eligible qualified plan can be returned when further cost improvement
cannot finish; its saved search scope does not imply a global fuel optimum.

## When the Orbit Is Stale

Maneuver optimization needs a **fresh** orbit to plan from. A spacecraft's [orbit age](https://docs.valar.space/features/orbit-age.md#orbit-age) is measured from its latest [state vector](https://docs.valar.space/features/state-vectors.md) — the position and velocity at an epoch you provide through orbit determination, an OPM import, or manual entry. When that age passes the workspace's configured [stale level](https://docs.valar.space/features/orbit-age.md#stale-level), the orbit is **stale**. Because a maneuver is a higher-consequence action than a plot, a stale orbit does not silently block it and does not silently proceed — it asks you to **consciously acknowledge** the risk before the action completes.

### Acknowledging a stale orbit on create and approve

The acknowledgment is a deliberate confirmation step, shown separately at the two points where a maneuver acts on the orbit — **creating** a plan and **approving** it for execution.

| Action | Where it appears | What it asks |
| - | - | - |
| **Create a plan** | After you click **Create Plan** on the **Review** step | A confirmation titled **Orbit is stale — create on a stale orbit?**, stating that **This maneuver would be planned from a stale orbit, which may make the result inaccurate**, alongside the orbit's age (`last determined N days ago`) and the stale level it crossed (`exceeds your N-day threshold`). Choose **Create anyway** to proceed, or **Cancel** to stop. |
| **Approve a plan** | When you select **Approve Plan** on a plan in **Evaluation** | A confirmation titled **Orbit is stale — approve on a stale orbit?**, stating that **Approving this plan will execute a maneuver computed from a stale orbit, which may be inaccurate**, with the same orbit age and stale-level lines. Choose **Approve anyway** to proceed, or **Cancel** to stop. |

Both `N` values are whole days — the spacecraft's actual orbit age and your configured stale level.

> [!WARNING]
>
> The acknowledgment is **per action**. Acknowledging at create does **not** carry over to approve: approving the plan asks you to confirm again. This is deliberate — approval is what authorizes the burn, so it always reconfirms the risk in its own right.

Approval **re-checks orbit freshness at the moment you approve**, against the spacecraft's latest orbit at that time — not against the orbit the plan was created on. A plan created while the orbit was fresh can still raise the approve-time confirmation if the orbit has since aged past the stale level; conversely, refreshing the orbit before approval clears it. To avoid the prompt entirely, provide a newer [state vector](https://docs.valar.space/features/state-vectors.md) for the spacecraft, or raise the stale level in **Settings → Orbits → Orbit age**. See [Orbit age](https://docs.valar.space/features/orbit-age.md#stale-level) for the workspace-wide policy.

### When a spacecraft has no usable orbit

A stale orbit can still be planned from once you acknowledge it. A spacecraft that has **no usable orbit at all** is different: there is nothing to plan from, so there is nothing to proceed on. Creating or approving a plan for such a spacecraft replaces the action with an in-place message — **Can't compute — `{spacecraft}` has no usable orbit** — explaining that **There is no usable orbit data for this spacecraft, so this product can't be computed. Add tracking data to continue**, with an **Add orbit data** button that takes you to the spacecraft page to add tracking data. This is never shown as a raw error; the remedy is to add orbit data, then create the plan.

## Plan Details

Select a plan from the list to view its details in the left panel (visible in the [page screenshot above](#page-layout)).

### Header

The header shows the plan name, plan type icon, and a more menu with actions:

| Action | Description |
| - | - |
| **Export** | Download the plan as an OCM file |
| **Delete** | Delete the plan with confirmation |

### Plan Information

| Field | Description |
| - | - |
| **Spacecraft** | Target spacecraft (with colored icon) |
| **Delta-V** | Total velocity change across all maneuvers (m/s) |
| **Delta-Mass** | Total propellant consumed (auto-converts kg/g) |
| **Duration** | Total burn time |
| **Creation Date** | When the plan was created (UTC) |
| **Execution Date** | Planned start time for the first maneuver (UTC) |
| **Status** | Evaluation, Approved, or Rejected |

### Status Actions

Plans in **Evaluation** status can be approved or rejected using the action buttons in the header:

* **Evaluation** → **Approved** (plan is ready for execution)
* **Evaluation** → **Rejected** (plan is discarded)

### Tabs

**Analysis** — Algorithm-specific visualization showing how the computed maneuvers maintain the target orbital parameter. See [SMA Maintenance Analysis](https://docs.valar.space/features/planner/sma-maintenance.md#analysis-tab) for details.

**Burns** — Lists each individual maneuver in the plan:

| Field | Description |
| - | - |
| **Epoch** | Maneuver start time (UTC) |
| **Duration** | Burn length |
| **Delta-V** | Velocity change components and magnitude (m/s) |
| **Delta-Mass** | Propellant consumed |

**Activity** — Timeline of plan events (creation, approval, rejection) with user attribution and timestamps.

## Related Pages

* [SMA Maintenance](https://docs.valar.space/features/planner/sma-maintenance.md) — SMA maintenance algorithm details
* [Burn Plan](https://docs.valar.space/features/burn-plan.md) — View and manage individual spacecraft maneuvers
* [Orbit age](https://docs.valar.space/features/orbit-age.md#stale-level) — The workspace-wide stale level behind the create- and approve-time acknowledgment
* [Core Concepts](https://docs.valar.space/platform-overview/core-concepts.md) — Foundational orbital mechanics concepts


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.