{% extends "base.html" %} {% block title %}{% if scenario %}Edit {{ scenario.name }}{% else %}New Scenario{% endif %} · CalMiner{% endblock %} {% block head_extra %} {% endblock %} {% block content %} {% set error = error | default(None) %} {% set error_field = error_field | default(None) %} {% set currency_error = error if error_field == 'currency' else None %} {% set name_error = error if error_field == 'name' else None %} {% if error and not error_field %}
{{ error }}
{% endif %}

Project Context

Defaults below come from project pricing. Leave optional fields blank to reuse shared assumptions.

Project
{{ project.name }}
Operation Type
{{ project.operation_type.value.replace('_', ' ') | title }}
Default Currency
{{ default_currency or 'Not configured' }}

Scenario Overview

{% if name_error %}

{{ name_error }}

{% else %}

Name must be unique within {{ project.name }}.

{% endif %}

Use Draft while iterating, set Active for your go-to baseline, and Archive to keep historical context.

{% set currency_prefill = scenario.currency if scenario and scenario.currency else default_currency %} {% if currency_error %}

{{ currency_error }}

{% else %}

Use a three-letter ISO code (e.g., USD). Defaults to {{ default_currency or 'the project currency' }}.

{% endif %}

Optional. Helps planners prioritise inputs tied to this commodity.

Assumptions & Timeline

Optional. Use to align calculations with anticipated project kickoff.

Optional. Leave blank for open-ended scenarios.

Leave empty to reuse the project default during profitability calculations.

Summarise what distinguishes this scenario for collaborators and future audits.

Cancel
{% endblock %}