{% if mpm_details and mpm_details|length > 0 %}
{% for mpm in mpm_details %}

{{ mpm.name }}

{{ mpm.type }} | {{ mpm.num_apartments }} Apartamentos

Paneles Residenciales
{% if mpm.type == '3F' %} {% else %} {% endif %} {% for asignacion in mpm.asignaciones_fases %} {% if mpm.type == '3F' %} {% else %} {% endif %} {% endfor %} {% if mpm.type == '3F' %} {% endif %}
PANELA B CL1 L2TOTAL MB ASIG
{{ asignacion.panel_name }} - {{ asignacion.alimentador_numero }}{{ asignacion.fase_a }} {{ asignacion.fase_b }} {{ asignacion.fase_c }}{{ asignacion.fase_l1 }} {{ asignacion.fase_l2 }}{{ asignacion.carga_total }} {{ asignacion.main_breaker }} {{ asignacion.asignacion }}
SUBTOTAL kVA {{ mpm.subtotal.l1 }} {{ mpm.subtotal.l2 }}{{ mpm.subtotal.l3 }}{{ mpm.subtotal.total }} -
{% if mpm.common_area_panels %}
Área Común
{% if mpm.type == '3F' %} {% else %} {% endif %} {% for panel in mpm.common_area_panels %} {% if mpm.type == '3F' %} {% endif %} {% endfor %} {% if mpm.type == '3F' %} {% endif %}
PANELA B CL1 L2TOTAL MB ASIG
{{ panel.name }} {{ panel.l1 }} {{ panel.l2 }}{{ panel.l3 }}{{ panel.total }} {{ panel.mb }} {{ panel.asignacion|default('AC') }}
SUBTOTAL kVA {{ mpm.common_area_subtotal.l1 }} {{ mpm.common_area_subtotal.l2 }}{{ mpm.common_area_subtotal.l3 }}{{ mpm.common_area_subtotal.total }} -
Carga AC = {{ mpm.common_area_total }} kVA
{% endif %} {% if mpm.locales_panels %}
Locales Comerciales
{% if mpm.type == '3F' %} {% else %} {% endif %} {% for panel in mpm.locales_panels %} {% if mpm.type == '3F' %} {% endif %} {% endfor %} {% if mpm.type == '3F' %} {% endif %}
PANELA B CL1 L2TOTAL MB ASIG
{{ panel.name }} {{ panel.l1 }} {{ panel.l2 }}{{ panel.l3 }}{{ panel.total }} {{ panel.mb }} {{ panel.asignacion|default('LC') }}
SUBTOTAL kVA {{ mpm.locales_subtotal.l1 }} {{ mpm.locales_subtotal.l2 }}{{ mpm.locales_subtotal.l3 }}{{ mpm.locales_subtotal.total }} -
Carga LC = {{ mpm.locales_total }} kVA
{% endif %}
Totales del Módulo
Carga Total
{{ mpm.carga_total_kva_str }}
Carga Diseño Total
{{ mpm.carga_diseno_kva_str }}
Corriente
{{ mpm.current }}
Main Breaker
{{ mpm.main_breaker }}
{% if mpm.carga_area_comun_kva > 0 %} {% endif %} {% if mpm.carga_local_comercial_kva > 0 %} {% endif %}
Cantidad de Apart / Viviendas {{ mpm.cantidad_viviendas }}
Factor de Demanda {{ mpm.factor_demanda_percent_str }}
Carga Diseño Residencial {{ mpm.carga_diseno_residencial_kva_str }}
+ Área Común {{ mpm.carga_area_comun_kva_str }}
+ Locales Comerciales {{ mpm.carga_local_comercial_kva_str }}
Total Carga Diseño {{ mpm.carga_diseno_kva_str }}
{% endfor %}
{% endif %}