{% extends "base.html" %} {% load ccp %} {% block title %}{{ case.name }} · Performance evaluation{% endblock %} {% block crumbs %} ›Performance evaluation ›{{ case.name }} {% endblock %} {% block top_actions %}
{% for key, label in data_sources %} {% endfor %}
{% endblock %} {% block run_button %} {% endblock %} {% block main %}

Performance evaluation

Evaluate measured operating points against the machine's design curves: data is clustered by operating condition, the design curves are converted to each cluster and every sample is compared with its expected point.

Source {% for k, l in data_sources %}{% if k == source %}{{ l }}{% endif %}{% endfor %}
Design cases {{ loaded_letters|join:", "|default:"none" }}
{% if job %}
Last run {{ job.created|date:"Y-m-d H:i" }}
{% endif %}
{% if source == 'mock' %} {% elif source == 'pi' and not has_pandaspi %} {% endif %}
{% csrf_token %} {% include "core/includes/gas_section.html" with collapsed=has_evaluation %} {% include "core/includes/design_cases.html" %}
{% include "core/includes/chev.html" %}

Data source and tags

Columns of the plant data: PI tags, or the file columns
{% if source == 'file' %}
Plant data file
{% with slot="plant_data" file=plant_file kind="plant_data" label="CSV or Parquet: a timestamp column plus ps, Ts, pd, Td, speed and flow_v (or delta_p, p_downstream) and optional fluid_ columns, in the units below" %}{% include "core/partials/file_slot.html" %}{% endwith %}
{% endif %} {% if source == 'pi' %}
Authentication
{% if keyring %} {% else %}Not stored; asked per run{% endif %}
{% endif %}
Each parameter accepts one or two {% if source == 'pi' %}tags{% else %}columns{% endif %}. When both are valid, tag 2 is converted to unit 1 and the values are averaged.
{% for p, label, opts in tag_rows %} {% endfor %} {% for p, label, opts in flow_rows %} {% endfor %} {% for p, label, opts in orifice_rows %} {% endfor %} {% for i in fluid_rows %} {% endfor %}
ParameterTag 1Unit 1Tag 2Unit 2
{{ label }} {% key p "_tag" as k %}{% inp k %} {% key p "_unit" as k %}{% sel k %} {% key p "_tag_2" as k %}{% inp k %} {% key p "_unit_2" as k %}{% sel k %}
Flow measurement
{{ label }} {% key p "_tag" as k %}{% inp k %} {% key p "_unit" as k %}{% sel k %} {% key p "_tag_2" as k %}{% inp k %} {% key p "_unit_2" as k %}{% sel k %}
{{ label }} {% key p "_tag" as k %}{% inp k %} {% key p "_unit" as k %}{% sel k %} {% key p "_tag_2" as k %}{% inp k %} {% key p "_unit_2" as k %}{% sel k %}
Orifice
Tappings
{% sel "orifice_tappings" %}
Pipe D
{% num "orifice_D" %}
{% sel "orifice_D_unit" %}
Orifice d
{% num "orifice_d" %}
{% sel "orifice_d_unit" %}
Fluid
{% gas_sel "operation_fluid_gas" %}
Component {{ i|add:1 }} {% key "fluid_component_" i as k %}{% sel k fluid_list %} {% key "fluid_unit_" i as k %}{% sel k %} {% key "fluid_tag_" i as k %}{% inp k placeholder="Tag" %}
{% include "core/includes/chev.html" %}

Evaluation window

7.5-minute samples; Run appends when only the end moves forward
{% num "temperature_fluctuation" cls="" step="0.1" %}%
{% num "pressure_fluctuation" cls="" step="0.1" %}%
{% num "speed_fluctuation" cls="" step="0.1" %}%
Points are invalid when the fluctuation (max − min) / mean × 100 % over the rolling window exceeds the threshold.

Evaluation

Runs in the background (minutes for a month of data)
{% if job %}{% include "core/partials/job.html" %}{% else %}
Load the design curves, configure the data source, then Run evaluation (⌘↵).
{% endif %}
{% if has_evaluation %}

Results

Loading…
{% endif %}

Report

Self-contained HTML with the trend and performance plots and the statistics
{% csrf_token %}
{% if keyring %}
{% endif %}

Online monitoring

Fetches the latest samples every interval and compares them with the expected point
{% csrf_token %}
{% chk "show_similarity" "Show similarity" %} Changes apply on the next Start.
{% endblock %} {% block inspector %} {% include "core/includes/case_inspector.html" with inspector_template="evaluation/partials/inspector.html" %} {% endblock %} {% block status %} {% if job and job.is_active %} Evaluating {% elif monitor and monitor.is_active %} Monitoring {% else %} Ready{% endif %} {% endblock %} {% block status_extra %} {% for k, l in data_sources %}{% if k == source %}{{ l }}{% endif %}{% endfor %} data source {% endblock %} {% block save_status %}Saved {{ case.updated|time:"H:i:s" }}{% endblock %}