Informe de ejecución de orden
{{ title }}
{{ report.executive_summary }}
1. Identificación
| Campo | Valor |
| Orden | {{ report.odoo_order_ref }} |
| Workorder Odoo | {{ report.odoo_workorder_id }} |
| Production Odoo | {{ report.odoo_production_id }} |
| Estado Odoo | {{ report.odoo_state }} |
| Producto | {{ report.product }} |
| Máquina | {{ report.machine_id }} |
| Centro de trabajo | {{ report.odoo_workcenter_name }} |
| Inicio | {{ report.start_ts|dt }} |
| Fin | {{ report.end_ts|dt }} |
2. Indicadores principales
Duración total
{{ report.window_min|num(2) }} min
Tiempo marcha
{{ report.run_min|num(2) }} min
Tiempo parado
{{ report.stop_min|num(2) }} min
Disponibilidad
{{ report.availability_pct|num(2) }} %
Ciclos reales
{{ report.real_cycle_delta }}
Ciclos/min marcha
{{ report.cycles_per_run_min|num(2) }}
Energía
{{ report.kwh_consumed|num(3) }} kWh
Coste paros
{{ report.stop_cost_eur|num(2) }} €
3. Energía y ciclos
| Métrica | Valor |
| Muestras energía | {{ report.energy_samples }} |
| Primera muestra | {{ report.energy_first_ts|dt }} |
| Última muestra | {{ report.energy_last_ts|dt }} |
| kWh inicial | {{ report.start_import_kwh|num(3) }} |
| kWh final | {{ report.end_import_kwh|num(3) }} |
| Consumo | {{ report.kwh_consumed|num(3) }} kWh |
| Potencia media | {{ report.avg_kw|num(3) }} kW |
| Potencia máxima | {{ report.max_kw|num(3) }} kW |
| kWh/ciclo | {{ report.kwh_per_cycle|num(6) }} |
4. Paros
Resumen por causa: {{ report.stop_causes_summary }}
| ID |
Inicio |
Fin |
Duración min |
Causa |
Nota |
Coste € |
Estado |
{% for stop in stops %}
| {{ stop.stop_id }} |
{{ stop.stop_started_at|dt }} |
{{ stop.stop_ended_at|dt }} |
{{ stop.attributed_duration_min|num(2) }} |
{{ stop.cause_code }} |
{{ stop.operator_note or "" }} |
{{ stop.attributed_cost_eur|num(2) }} |
{{ stop.stop_quality_status }} |
{% else %}
| Sin paros imputados a la orden. |
{% endfor %}
5. Calidad del dato
| Métrica | Valor |
| Estado informe | {{ report.final_report_status }} |
| Score calidad técnica | {{ report.technical_quality_score }} |
| Nivel calidad técnica | {{ report.technical_quality_level }} |
| Cobertura telemetría | {{ report.telemetry_sample_coverage_pct|num(2) }} % |
| Gaps > 30 s | {{ report.telemetry_gap_count_30s }} |
| Máximo gap | {{ report.max_sample_gap_s|num(2) }} s |
| Muestras no OK | {{ report.non_ok_samples }} |
| Conversión producción | {{ report.production_conversion_status }} |
| Acción recomendada | {{ report.recommended_action }} |
6. Timeline
| Hora |
Tipo |
Evento |
Nivel |
Causa |
Duración |
Coste |
Descripción |
{% for event in timeline %}
| {{ event.event_ts|dt }} |
{{ event.event_type }} |
{{ event.event_label }} |
{{ event.severity }} |
{{ event.cause_code or "" }} |
{{ event.duration_min|num(2) if event.duration_min is not none else "" }} |
{{ event.cost_eur|num(2) if event.cost_eur is not none else "" }} |
{{ event.description }} |
{% endfor %}
Informe generado desde MESAVAULT Edge-OEE usando vistas SQL de PostgreSQL.