mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
233 lines
8.7 KiB
XML
233 lines
8.7 KiB
XML
{% extends 'base_print.xml' %}
|
|
{% load filters %}
|
|
|
|
{% block extrastyles %}
|
|
<paraStyle name="style.powerReviewed" borderPadding="3" alignment="center" backColor="green" textColor="white"/>
|
|
<paraStyle name="style.powerUnreviewed" borderPadding="3" alignment="center" backColor="red" textColor="white"/>
|
|
<paraStyle name="style.smallText" fontSize="8"/>
|
|
|
|
<paraStyle leftIndent="2in" rightIndent="2in" name="style.smallEvent" fontSize="10" alignment="center" backColor="green" textColor="white" borderPadding="4" borderColor="black"/>
|
|
<paraStyle leftIndent="2in" rightIndent="2in" name="style.mediumEvent" fontSize="10" alignment="center" backColor="orange" textColor="white" borderPadding="4" borderColor="black"/>
|
|
<paraStyle leftIndent="2in" rightIndent="2in" name="style.largeEvent" fontSize="10" alignment="center" backColor="red" textColor="white" borderPadding="4" borderColor="black"/>
|
|
|
|
<blockTableStyle id="powerTable">
|
|
<blockValign value="middle"/>
|
|
<lineStyle kind="LINEABOVE" colorName="black" thickness="1"/>
|
|
<lineStyle kind="LINEBELOW" colorName="black" thickness="1"/>
|
|
<lineStyle kind="LINEAFTER" colorName="black" thickness="1"/>
|
|
<lineStyle kind="LINEBEFORE" colorName="black" thickness="1"/>
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="voltageTable">
|
|
<blockValign value="middle"/>
|
|
</blockTableStyle>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<spacer length="15"/>
|
|
<h1>Power Test Record for <strong>{{ object.event }}</strong></h1>
|
|
<spacer length="15"/>
|
|
<h2>Client: {{ object.event.person|default:object.event.organisation }} | Venue: {{ object.event.venue }} | MIC: {{ object.event.mic }}</h2>
|
|
<spacer length="15"/>
|
|
<hr/>
|
|
<spacer length="15"/>
|
|
{% if object.reviewed_by %}
|
|
<para style="style.powerReviewed"><strong>Reviewed by: {{ object.reviewed_by }} at {{ object.reviewed_at|date:"D d/m/Y" }}</strong></para>
|
|
{% else %}
|
|
<para style="style.powerUnreviewed"><strong>Power test results not yet reviewed</strong></para>
|
|
{% endif %}
|
|
<spacer length="15"/>
|
|
<hr/>
|
|
<spacer length="15"/>
|
|
|
|
<h2 fontSize="16">Power Plan Information</h2>
|
|
<spacer length="15"/>
|
|
|
|
{% if object.event.riskassessment.event_size == 0 %}
|
|
<para style="style.smallEvent"><strong>Small Event</strong></para>
|
|
{% elif object.event.riskassessment.event_size == 1 %}
|
|
<para style="style.mediumEvent"><strong>Medium Event</strong></para>
|
|
{% elif object.event.riskassessment.event_size == 2 %}
|
|
<para style="style.largeEvent"><strong>Large Event</strong></para>
|
|
{% endif %}
|
|
|
|
<spacer length="15"/>
|
|
|
|
<blockTable colWidths="250,250">
|
|
<tr>
|
|
<td><para><strong>Power MIC:</strong> {{ object.power_mic }}</para></td>
|
|
<td><para><strong>Venue:</strong> {{ object.event.venue }}</para></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>Event Date:</strong> {{ object.event.start_date |date:"D d/m/Y" }}</para></td>
|
|
<td><para><strong>Generators:</strong> {{ object.event.riskassessment.generators|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>Power Test taken at:</strong> {{ object.date_created|date:"D d/m/Y H:i" }}</para></td>
|
|
<td><para><strong>Other Companies Power:</strong> {{ object.event.riskassessment.other_companies_power|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
</blockTable>
|
|
|
|
<spacer length="15"/>
|
|
{% if object.notes %}
|
|
<hr/>
|
|
<spacer length="15"/>
|
|
<para><strong>Additional Notes:</strong></para>
|
|
<spacer length="15"/>
|
|
<para>{{ object.notes }}</para>
|
|
<spacer length="15"/>
|
|
<hr/>
|
|
<spacer length="15"/>
|
|
|
|
{% comment %}
|
|
0 - Small event
|
|
1 - Medium event (extra power records)
|
|
2 - Large event (extra power records)
|
|
{% endcomment %}
|
|
|
|
{% if object.event.riskassessment.event_size >= 1 %}
|
|
|
|
<para alignment="center"><strong>Power Test results enclosed on next page</strong></para>
|
|
|
|
<condPageBreak height="10in"/>
|
|
|
|
<h2 fontSize="16">Event Power Checklist</h2>
|
|
<spacer length="15"/>
|
|
|
|
<blockTable colWidths="250,270" style="powerTable">
|
|
<tr>
|
|
<td><para><strong>All circuit RCDs tested?</strong></para><para style="style.smallText">(using test button)</para></td>
|
|
<td><para>{{ object.all_rcds_tested|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>Public/performer accessible circuits tested?</strong></para><para style="style.smallText">(using socket tester)</para></td>
|
|
<td><para>{{ object.public_sockets_tested|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>Source RCD protected?</strong></para><para style="style.smallText">(if cable is more than 3m long)</para></td>
|
|
<td><para>{{ object.source_rcd|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>Appropriate and clear labelling on distribution and cabling?</strong></para></td>
|
|
<td><para>{{ object.labelling|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>Equipment appropriately earthed?</strong></para><para style="style.smallText">(truss, stage, generators, etc.)</para></td>
|
|
<td><para>{{ object.earthing|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>All equipment in PAT period?</strong><br/><br/></para></td>
|
|
<td><para>{{ object.pat|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
</blockTable>
|
|
|
|
<spacer length="15"/>
|
|
|
|
<h2 fontSize="14">Power tests (First Distro)</h2>
|
|
<spacer length="5"/>
|
|
|
|
<blockTable colWidths="100,410" style="voltageTable">
|
|
<tr>
|
|
<td><para><strong>Voltage</strong></para><para style="style.smallText">(cube meter) / V</para></td>
|
|
<td>
|
|
<blockTable colWidths="100,100,100" style="powerTable">
|
|
<tr>
|
|
<td><para><strong>L1 - N</strong></para></td>
|
|
<td><para><strong>L2 - N</strong></para></td>
|
|
<td><para><strong>L3 - N</strong></para></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{{ object.fd_voltage_l1}}</td>
|
|
<td>{{ object.fd_voltage_l2}}</td>
|
|
<td>{{ object.fd_voltage_l3}}</td>
|
|
</tr>
|
|
</blockTable>
|
|
</td>
|
|
</tr>
|
|
</blockTable>
|
|
|
|
<spacer length="10"/>
|
|
|
|
<blockTable colWidths="100,100,190,120" style="voltageTable">
|
|
<tr>
|
|
<td><para><strong>Phase Rotation</strong></para><para style="style.smallText">(if required)</para></td>
|
|
<td><para>{{ object.fd_phase_rotation|yesno|capfirst }}</para></td>
|
|
<td><para><strong>Earth Fault Loop Impedance (Z<sub>s</sub>) / Ω</strong></para></td>
|
|
<td><para>{{ object.fd_earth_fault }}</para></td>
|
|
</tr>
|
|
</blockTable>
|
|
|
|
<spacer length="15"/>
|
|
|
|
<para><strong>Prospective Short Circuit Current (PSCC)</strong> {{ object.fd_pssc }} A</para>
|
|
|
|
<spacer length="15"/>
|
|
|
|
<h2 fontSize="14">Power Tests (Worst Case Points)</h2>
|
|
<spacer length="15"/>
|
|
|
|
<blockTable colWidths="100,100,190,120" style="powerTable">
|
|
<tr>
|
|
<td><para><strong>Description</strong></para></td>
|
|
<td><para><strong>Polarity checked?</strong></para></td>
|
|
<td><para><strong>Voltage / V</strong></para></td>
|
|
<td><para><strong>Earth Fault Loop Impedance (Z<sub>s</sub>) / Ω</strong></para></td>
|
|
</tr>
|
|
{% if object.w1_description %}
|
|
<tr>
|
|
<td><para><strong>{{ object.w1_description }}</strong></para></td>
|
|
<td><para>{{ object.w1_polarity|yesno|capfirst }}</para></td>
|
|
<td><para>{{ object.w1_voltage }} V</para></td>
|
|
<td><para>{{ object.w1_earth_fault }}</para></td>
|
|
</tr>
|
|
{% endif %}
|
|
{% if object.w2_description %}
|
|
<tr>
|
|
<td><para><strong>{{ object.w2_description }}</strong></para></td>
|
|
<td><para>{{ object.w2_polarity|yesno|capfirst }}</para></td>
|
|
<td><para>{{ object.w2_voltage }} V</para></td>
|
|
<td><para>{{ object.w2_earth_fault }}</para></td>
|
|
</tr>
|
|
{% endif %}
|
|
{% if object.w3_description %}
|
|
<tr>
|
|
<td><para><strong>{{ object.w3_description }}</strong></para></td>
|
|
<td><para>{{ object.w3_polarity|yesno|capfirst }}</para></td>
|
|
<td><para>{{ object.w3_voltage }} V</para></td>
|
|
<td><para>{{ object.w3_earth_fault }}</para></td>
|
|
</tr>
|
|
{% endif %}
|
|
</blockTable>
|
|
|
|
{% else %}
|
|
|
|
{% comment %}
|
|
Small power test
|
|
{% endcomment %}
|
|
|
|
<h2 fontSize="16">Power Checklist</h2>
|
|
<spacer length="15"/>
|
|
|
|
<blockTable colWidths="250,270" style="powerTable">
|
|
<tr>
|
|
<td><para><strong>RCDs installed where needed and tested?</strong><br/><br/></para></td>
|
|
<td><para>{{ object.rcds|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>Electrical supplies tested?</strong><br/><br/></para></td>
|
|
<td><para>{{ object.supply_test|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>Equipment appropriately earthed?</strong></para><para style="style.smallText">(truss, stage, generators, etc.)</para></td>
|
|
<td><para>{{ object.earthing|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
<tr>
|
|
<td><para><strong>All equipment in PAT period?</strong><br/><br/></para></td>
|
|
<td><para>{{ object.pat|yesno|capfirst }}</para></td>
|
|
</tr>
|
|
</blockTable>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|