{% extends "base.html" %} {% block content %}

Blend Component Generator

Generate candidate additive molecules for a selected base fuel and evaluate the resulting blend using mixture CN, mixture YSI, and supporting fuel-property constraints.

{% if error %}
{{ error }}
{% endif %} {% if info %}
{{ info }}
{% endif %}
Mixture Generator Configuration
Example: 0.15 means 15% additive and 85% base fuel.

Fossil diesel and biodiesel use predefined representative compositions.
Enables Pareto optimisation for mixture DCN and smoke tendency.
Custom Base Fuel Composition

Enter at least two base fuel components. Fractions will be normalised automatically.

{% if run_info %}
Generation Summary

Mode

{{ run_info.mode }}

Target CN

{% if run_info.target_dcn is not none %} {{ run_info.target_dcn }} {% else %} — {% endif %}

Base Fuel

{{ run_info.base_fuel_type }}

Additive Fraction

{{ run_info.additive_fraction }}

Objective

{{ run_info.objective }}

Filtered Candidates

{{ run_info.n_final }}

Unfiltered Candidates

{{ run_info.n_unfiltered }}

Pareto Candidates

{{ run_info.n_pareto }}
{% endif %} {% if final_table %}
Best Blend Candidates with Property Constraints

Generated additive molecules ranked after applying mixture and property constraints.

{{ final_table | safe }}
{% endif %} {% if unfiltered_table %}
Best Blend Candidates without Property Constraints

Raw generated candidates before final property filtering.

{{ unfiltered_table | safe }}
{% endif %} {% if pareto_table %}
Pareto Front

Non-dominated blend candidates balancing mixture CN and mixture YSI.

{{ pareto_table | safe }}
{% endif %}
{% endblock %}