<!-- @import "/app/monitor/components/drilltable.kit" -->
<div class="drillcontainer" id="unitdetails">
    <div class="row tools detailtools">
        <div class="col-12 text-right">
            <ul>
                <li class="dropdown notifications hidden-sm-down">
                    <a href="javascript:void(0);" class="dropdown-toggle" role="button">
                        <i class="icon icon-export" data-toggle="tooltip" data-original-title="Export"></i>

                    </a>
                    <div class="dropdown-menu " aria-labelledby="gaergrdsdz">

                        <div>
                            <p>Export as:</p>

                            <a href="#"><i class="icon icon-file-excel"> CSV</i></a>
                            <a href="#"><i class="icon icon-file-image"> Image</i></a>

                        </div>
                    </div>
                </li>
                <li>
                    <i class="icon icon-max maximize" data-toggle="tooltip" data-original-title="Maximize"></i>
                </li>
                <li>
                    <a href="/app/monitor/pages/drilltable_detail.html" target="_blank">
                        <i class="icon icon-newwin" data-toggle="tooltip" data-original-title="Open in new window"></i>
                    </a>
                </li>
                <li>
                    <i class="icon icon-close closeDetail" data-toggle="tooltip" data-original-title="Close"></i>
                </li>
            </ul>
        </div>
    </div>
    <div class="row statusrow">
        <div class="col-8 unitdescription">
            <h3>TB03</h3>
            <p>Vestas V164, 9.5 MW | SN: 52134 | Unit time: 04.18.2017 - 22:30</p>
        </div>
        <div class="col-4 text-right  status unitdescription">
            <div class="text-left statusbox">
                <div class="statusgroup">
                    <div class="left">
                        <h4>Status:
                        </h4>
                    </div>
                    <div class="right statusboxtext">
                        <p>
                            <span class="icon-stack">
                                <i class="icon-tri_bg"></i>
                                <i class="icon-warning color-warning"></i>
                            </span>
                            <span>Warning</span></p>
                    </div>
                </div>
                <div class="statusgroup">

                    <div class="left">
                        <p>OEM Status:</p>
                    </div>
                    <div class="right">
                        <p data-toggle="tooltip" data-html="true" title="<strong>Stopped </strong><br>Lorem ipsum dolor sit ametum dol orem ipsum dolor sit
                            ametum dolor sit amet. Lorem ipsum dolor sit ametum dol orem ipsum dolor sit
                            ametum dolor sit amet.</p>">
                            <span>Stopped </span>- Lorem ipsum dolor sit ametum dol orem ipsum dolor sit
                            ametum dolor sit amet. Lorem ipsum dolor sit ametum dol orem ipsum dolor sit
                            ametum dolor sit amet.</p>
                    </div>
                </div>
                <div class="statusgroup">
                    <div class="left">
                        <p>Active alarm:</p>
                    </div>
                    <div class="right">
                        <p data-toggle="tooltip" data-html="true" title="<strong>10.01.2018 10:22</strong><br>Generator temperature too hot"><span>10.01.2018 10:22 - Generator temperature too hot</span></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <ul class="nav nav-tabs" role="tablist">
        <li class="nav-item">
            <a class="nav-link active " href="#livedata" role="tab" data-toggle="tab">Live data</a>
        </li>
        <li class="nav-item">
            <a class="nav-link " href="#counters" role="tab" data-toggle="tab" id="counterTab">Counters</a>
        </li>
    </ul>
    <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="livedata">
            <div class="gridwrapper">
                <div class="frame narrow notlr">
                    <h3>Yaw system</h3>
                    <div class="row">
                        <div class="col-12 text-center">
                            <!-- @import "/app/unitdetails/components/yawsystem.html" -->
                        </div>
                        <div class="col-6">
                            <h4>120˚</h4>
                            <h6>Wind Direction</h6>
                        </div>
                        <div class="col-6">
                            <h4>119˚</h4>
                            <h6>Nacelle Direction</h6>
                        </div>
                    </div>
                </div>
                <div class="frame">
                    <h3>Pitch system</h3>
                    <div class="row">
                        <div class="col-3">
                            <div class="unitgraphwrapper pitch">
                                <div class="min">
                                    <h6>0 bar</h6>
                                </div>
                                <div class="max">
                                    <h6>250 bar</h6>
                                </div>
                                <div class="base">
                                    <div class="valuebar" style="height:20%;"></div>
                                    <div class="value" style="height:20%;">
                                        <h4>112
                                            <br>
                                            <span>bar</span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="valuelines"></div>
                                <div class="graphtop"></div>
                                <div class="graphbottom"></div>
                            </div>
                        </div>
                        <div class="col-3 pitchgraphwrapper">
                            <!-- @import "/app/unitdetails/components/svgwing.html" -->
                        </div>
                        <div class="col-3 pitchgraphwrapper">
                            <!-- @import "/app/unitdetails/components/svgwing.html" -->
                        </div>
                        <div class="col-3 pitchgraphwrapper">
                            <!-- @import "/app/unitdetails/components/svgwing.html" -->
                        </div>
                        <div class="col-3"></div>
                    </div>
                    <div class="row">
                        <div class="col-3">
                            <h6 style="padding-top:22px;">Hydraulic Pressure</h6>
                        </div>
                        <div class="col-3">
                            <h4>0˚</h4>
                            <h6>Blade 1 pitch</h6>
                        </div>
                        <div class="col-3">
                            <h4>45˚</h4>
                            <h6>Blade 2 pitch</h6>
                        </div>
                        <div class="col-3">
                            <h4>90˚</h4>
                            <h6>Blade 3 pitch</h6>
                        </div>
                    </div>
                </div>
                <div class="frame">
                    <h3>Power System</h3>
                    <div class="row">
                        <div class="col-4">
                            <div class="unitgraphwrapper power">
                                <div class="min">
                                    <h6>0 kW</h6>
                                </div>
                                <div class="max">
                                    <h6>3.000 kW</h6>
                                </div>
                                <div class="base">
                                    <div class="valuebar power" style="height:40%;"></div>
                                    <div class="value" style="height:40%;">
                                        <h4>150
                                            <span>kW</span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="valuelines"></div>
                                <div class="graphtop"></div>
                                <div class="graphbottom"></div>
                            </div>
                            <h6>Power</h6>
                        </div>
                        <div class="col-4">
                            <h4>691
                                <span>v</span>
                            </h4>
                            <h6>Voltage L1</h6>
                            <h4>691
                                <span>v</span>
                            </h4>
                            <h6>Voltage L2</h6>
                            <h4>691
                                <span>v</span>
                            </h4>
                            <h6>Voltage L3</h6>
                        </div>
                        <div class="col-4">
                            <h4>250
                                <span>A</span>
                            </h4>
                            <h6>Current L1</h6>
                            <h4>250
                                <span>A</span>
                            </h4>
                            <h6>Current L2</h6>
                            <h4>250
                                <span>A</span>
                            </h4>
                            <h6>Current L3</h6>
                        </div>
                    </div>
                    <div class="row" style="padding-top:16px;">
                        <div class="col-4">
                            <h4>-12.1
                                <span>kVAr</span>
                            </h4>
                            <h6>Reactive Power</h6>
                        </div>
                        <div class="col-4">
                            <h4>1.00</h4>
                            <h6>Power Factor</h6>
                        </div>
                        <div class="col-4">
                            <h4>50.63
                                <span>Hz</span>
                            </h4>
                            <h6>Frequency</h6>
                        </div>
                    </div>
                </div>
                <div class="frame narrow">
                    <h3>Meteorological</h3>
                    <div class="row">
                        <div class="col-6">
                            <div class="unitgraphwrapper met">
                                <div class="min">
                                    <h6>-30&deg;C</h6>
                                </div>
                                <div class="max">
                                    <h6>50&deg;C</h6>
                                </div>
                                <div class="base">
                                    <div class="valuebar" style="height:20%;"></div>
                                    <div class="value" style="height:20%;">
                                        <h4>7&deg;
                                            <span>C</span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="valuelines"></div>
                                <div class="graphtop"></div>
                                <div class="graphbottom"></div>
                            </div>
                        </div>
                        <div class="col-6">
                            <div class="unitgraphwrapper met">
                                <div class="min">
                                    <h6>0 m/s</h6>
                                </div>
                                <div class="max">
                                    <h6>25 m/s</h6>
                                </div>
                                <div class="base">
                                    <div class="valuebar wind" style="height:40%;"></div>
                                    <div class="value" style="height:40%;">
                                        <h4>15
                                            <span>m/s</span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="valuelines"></div>
                                <div class="graphtop"></div>
                                <div class="graphbottom"></div>
                            </div>
                        </div>

                    </div>
                    <div class="row">
                        <div class="col-6">
                            <h6>Ambient temp.</h6>
                        </div>
                        <div class="col-6">
                            <h6>Wind Speed</h6>
                        </div>
                    </div>
                </div>
                <div class="frame">
                                     <h3>Drive train</h3>

                    <div class="row">
                        <div class="col-4">
                           <br>
                            <h4 class="valuepres bad"   data-tooltip="
                            <div>
                                <p>Server time:</p>
                                <p>12.20.2018 - 08:30:34</p>
                                <p>Unit time:</p>
                                <p>12.20.2018 - 09:30:22</p>
                                <p>NB Tag:</p>
                                <p>WTUR.W</p>
                                <p>Tag mapping:</p>
                                <p class='tooltipscroll'>
                                        153: Main panel temp. low<br>
                                        154: Top box temp. high<br>
                                        155: Top box temp. low<br>
                                        156: Tower base temp. high<br>
                                        160: Water temp. before cooler high<br>
                                        163: Water temp. after cooler low<br>
                                        164: Converter ambient temp. high<br>
                                        168: Gen. slip ring box temp. high<br>
                                        178: Generator inlet temp. high<br>
                                        180: Nacelle heater too hot<br>
                                        182: Pitch Accumulator temp. Low<br>
                                        183: Pitch Accumulator temp. High<br>
                                        186: Interm. gear front temp. High<br>
                                        187: Ups panel temp. High<br>
                                        188: Interm. gear rear temp. High<br>
                                        189: Ups panel temp. Low<br>
                                        190: Main bearing oil temp. High<br>
                                        191: Main bearing oil temp. Low<br>
                                        192: Gear oil temp. high short term<br>
                                        193: Gear oil temp. high long term<br>
                                        198: Untwist CW fault<br>
                                        199: Untwist CCW fault<br>
                                        200: Yaw box fault<br>
                                        202: High wind yawing activated<br>
                                        204: Short untwist CW<br>
                                        205: Short untwist CCW<br>
                                        206: Long untwist CW<br>
                                        207: Long untwist CCW<br>
                                        208: Too long CW yaw<br>
                                        209: Too long CCW yaw<br>
                                        210: Too long untwist time<br>
                                        212: Nacelle position CW fault<br>
                                        213: Nacelle position CCW fault<br>
                                        216: Wind sector 1 stop<br>
                                        219: Wind sensor fault<br>
                                        220: Wind speed signal mismatch<br>
                                        221: Wind direction signal mismatch<br>
                                        222: Wind sensor left fault<br>
                                        223: Wind sensor right fault<br>
                                        224: Long term yaw fault<br>
                                        225: Short term yaw fault<br>
                                        226: 10 min wind speed high<br>
                                        228: 1 min wind speed high<br>
                                        230: 1 sec wind speed high<br>
                                        231: 1 sec wind speed low<br>
                                        232: Anemometer 1 fault<br>
                                        233: Anemometer 2 fault<br>
                                        234: Wind vane 1 fault<br>
                                        235: Wind vane 2 fault<br>
                                        236: Wind vane fault<br>
                                        237: Extreme flap moment protection<br>
                                        238: Extreme flap moment safety stop<br>
                                        240: Ice detected<br>
                                        241: Ice sensor fault<br>
                                        242: De-icing system fault<br>
                                        244: EFM yaw error too high<br>
                                        245: EFM wind speed mismatch<br>
                                        250: Gear box ratio fault<br>
                                        251: Generator overspeed 1<br>
                                        252: Generator overspeed 2<br>
                                        253: Cut-in overspeed<br>
                                        254: Rotor overspeed<br>
                                        260: Generator speed sensor 1 fault<br>
                                        261: Generator speed sensor 2 fault<br>
                                        262: Rotor speed sensor 1 fault<br>
                                        263: Rotor speed sensor 2 fault<br>
                                        269: Drive train oscillation high<br>
                                        286: Transformer fan overload<br>
                                        287: Recooler fan overload<br>
                                        290: Lubr. pump overload - generator<br>
                                        291: Nacelle fan overload<br>
                                        293: Yaw motor 6 overload<br>
                                        294: Pitch motor temp. high blade 1<br>
                                        295: Pitch motor temp. high blade 2<br>
                                        296: Pitch motor temp. high blade 3<br>
                                        297: Pitch motor overload blade 1<br>
                                        298: Pitch motor overload blade 2<br>
                                        300: Yaw motor overload<br>
                                        301: Yaw motor 1 overload<br>
                                        302: Yaw motor 2 overload<br>
                                        303: Yaw motor 3 overload<br>
                                        304: Yaw motor 4 overload<br>
                                        305: Gear oil pump overload<br>
                                        306: Gear oil cool. overload<br>
                                        307: Water pump overload<br>
                                        308: Main bearing pump overload<br>
                                        309: Tip brake pump overload<br>
                                        310: Shaft brake pump overload<br>
                                        311: Yaw brake pump overload<br>
                                        312: Pitch feeder pump overload<br>
                                        313: Pitch main pump overload<br>
                                        314: Nacelle heater overload<br>
                                        315: Off-line filter pump overload<br>
                                        316: Yaw motor 5 overload<br>
                                        317: Transformer fan overload<br>
                                        319: Lubrication pump overload<br>
                                        320: Pump time tip brakes too long<br>
                                        321: Pump time shaft brake too long<br>
                                        322: Pump time yaw brake too long<br>
                                        323: Pump time pitch too long<br>
                                        325: Pump time tip brakes restart<br>
                                        326: Pump time shaft brake restart<br>
                                        327: Pump time yaw brake restart<br>
                                        329: Too freq. pitch idle valve ops<br>
                                        330: Too freq. hub pump starts<br>
                                        331: Too freq. shaft brake recharge<br>
                                        332: Max lubr. faults - generator<br>
                                        333: Max missing lubr. - generator<br>
                                        334: Max lubr. faults - yaw drive<br>
                                        335: Max missing lubr. - yaw drive<br>
                                        336: Max lubr. faults - yaw bear.<br>
                                        337: Max missing lubr. - yaw bear<br>
                                        340: Shaft brake 1 hot<br>
                                        342: Shaft brake 1 worn<br>
                                        344: Shaft brake 1 not released<br>
                                        348: Tip brakes too slow<br>
                                        349: Shaft brake locked<br>
                                        350: Shaft brake too slow<br>
                                        351: Tip brake braking too slow<br>
                                        352: Safety braking too slow<br>
                                        354: Shaft brake slipping<br>
                                        355: Too slow rotation<br>
                                        356: Aerodynamic braking slow<br>
                                        357: Shaft brake not released<br>
                                        358: Gearbox oil level pressure high<br>
                                        359: Pitch oil low<br>
                                        360: No lubric. flow main bearing<br>
                                        362: Gearbox oil low<br>
                                        363: Max no. of lubrication faults<br>
                                        364: Max no. of missing lubrication<br>
                                        365: Gearbox oil level pressure low<br>
                                        366: Max lubr. faults - pitch bear.<br>
                                        367: Max missing lubr. - pitch bear.<br>
                                        368: Hub pump inlet pressure low<br>
                                        369: Hub pump inlet pressure high<br>
                                        370: Tip brakes pressure too high<br>
                                        371: Shaft brake pressure too high<br>
                                        372: Yaw brake pressure too high<br>
                                        375: Tip brakes pressure too low<br>
                                        376: Shaft brake pressure too low<br>
                                        377: Yaw brake pressure too low<br>
                                        378: Active brake pressure too low<br>
                                        379: Gear oil pressure too low<br>
                                        380: Platform switch<br>
                                        381: Yaw brake not released<br>
                                        382: Yaw brake bypass valve defect<br>
                                        383: Drip tray level high<br>
                                        384: Hub filter clogged<br>
                                        385: Cooling water level low<br>
                                        387: Off-line filter clogged<br>
                                        388: Gear oil filter clogged<br>
                                        389: Feeder pump filter clogged<br>
                                        391: Speed sensor fault TAC84<br>
                                        392: Vibration sensor fault TAC84<br>
                                        393: Vibration TAC84<br>
                                        394: Overspeed guard TAC84<br>
                                        395: Vibration in nacelle<br>
                                        396: Sensor fault / direction TAC85<br>
                                        397: Overspeed guard TAC85<br>
                                        398: TAC 84 com. fault<br>
                                        399: TAC 85 com. fault<br>
                                        400: Speed change g->G fault<br>
                                        401: Speed change G->g fault<br>
                                        404: Pitch accel. fault blade 1<br>
                                        405: Pitch accel. fault blade 2<br>
                                        406: Pitch accel. fault blade 3<br>
                                        411: Following fault blade 1<br>
                                        412: Following fault blade 2<br>
                                        413: Following fault blade 3<br>
                                        414: Battery voltage low blade 1<br>
                                        415: Battery voltage low blade 2<br>
                                        416: Battery voltage low blade 3<br>
                                        418: Pitch battery fault<br>
                                        419: Pitch battery charging timeout<br>
                                        420: Pitch sig mismatch blade 1<br>
                                        421: Pitch sig mismatch blade 2<br>
                                        422: Pitch sig mismatch blade 3<br>
                                        423: Stop limit blade 1<br>
                                        424: Stop limit blade 2<br>
                                        425: Stop limit blade 3<br>
                                        426: Run limit blade 1<br>
                                        427: Run limit blade 2<br>
                                        428: Run limit blade 3<br>
                                        429: Pitch outside limits blade 1<br>
                                        430: Pitch outside limits blade 2<br>
                                        431: Pitch outside limits blade 3<br>
                                        432: Blade 1 not at stop<br>
                                        433: Blade 2 not at stop<br>
                                        434: Blade 3 not at stop<br>
                                        435: Safety shutdown fault blade 1<br>
                                        436: Safety shutdown fault blade 2<br>
                                        437: Safety shutdown fault blade 3<br>
                                        438: Hub valve supply off<br>
                                        439: Main panel door open<br>
                                        440: Hub hatch open<br>
                                        441: Hub hatch override<br>
                                        443: Stop pitch calibration fault<br>
                                        444: Run pitch calibration fault<br>
                                        445: Hub computer com. fault<br>
                                        446: Tower base computer com. fault<br>
                                        448: Charging pitch in stop mode<br>
                                        449: Hub interlock triggered<br>
                                        450: Pitch acceleration fault<br>
                                        451: Pitch seized<br>
                                        452: Pitch to stop fault<br>
                                        453: Pitching to run fault<br>
                                        454: Pitching to stop fault<br>
                                        455: Middle pos. pitch pressure low<br>
                                        457: Unbalanced pitch shutdown<br>
                                        458: Two blades too far from stop<br>
                                        459: Run pitch pressure low<br>
                                        460: Stop pitch pressure low<br>
                                        461: Stop pitch pressure high<br>
                                        462: Middle pos. pitch press. high<br>
                                        463: High press. pitching prohibited<br>
                                        464: Too frequent realignment ops.<br>
                                        465: Pitch state time-out<br>
                                        466: TAC computer com. fault<br>
                                        467: Pitch ac. pressure high<br>
                                        468: Pitch ac. pressure mismatch<br>
                                        469: Pitch ac. press. sensor fault<br>
                                        470: Pitch position sensor fault<br>
                                        471: Pitch position signal unstable<br>
                                        473: Hub output supply unstable<br>
                                        474: Pitch pos sensor fault blade 1<br>
                                        475: Pitch pos sensor fault blade 2<br>
                                        476: Pitch pos sensor fault blade 3<br>
                                        477: Pitch pos sig unstable blade 1<br>
                                        478: Pitch pos sig unstable blade 2<br>
                                        479: Pitch pos sig unstable blade 3<br>
                                        480: Mode timeout fault<br>
                                        481: Shut down system check<br>
                                        482: Hub manual mode<br>
                                        484: Dirty blades<br>
                                        485: Too freq. pitch recharge<br>
                                        486: Unbalanced pitch<br>
                                        487: Pitching to run fault blade 1<br>
                                        488: Pitching to run fault blade 2<br>
                                        489: Pitching to run fault blade 3<br>
                                        490: Pitching to stop fault blade 1<br>
                                        491: Pitching to stop fault blade 2<br>
                                        492: Pitching to stop fault blade 3<br>
                                        493: Too freq realign to run, 1<br>
                                        494: Too freq realign to run, 2<br>
                                        495: Too freq realign to run, 3<br>
                                        496: Too freq realign to stop, 1<br>
                                        497: Too freq realign to stop, 2<br>
                                        499: Unbalanced pitch - Generation<br>
                                        500: 24 VDC supply off<br>
                                        501: Control voltage 1 off<br>
                                        503: CB tripped auxiliary<br>
                                        504: Main CB 1 tripped<br>
                                        505: Main CB 2 tripped<br>
                                        506: Main CB off<br>
                                        507: CB tripped top box<br>
                                        508: Gen. g CB tripped<br>
                                        509: CB tripped control panel<br>
                                        510: CB tripped main panel<br>
                                        511: CB tripped valve supply<br>
                                        512: CB tripped hub supply<br>
                                        515: Emergency relay open<br>
                                        516: Safety relay open<br>
                                        518: 24 VDC Supply off top box<br>
                                        520: Stator CB tripped<br>
                                        530: Gen. G contactor open<br>
                                        531: Gen. g contactor open<br>
                                        532: By-pass contactor open<br>
                                        540: Phase comp. 1 open<br>
                                        541: Phase comp. 2 open<br>
                                        542: Phase comp. 3 open<br>
                                        543: Phase comp. 4 open<br>
                                        544: Phase comp. 5 open<br>
                                        545: Phase comp. 6 open<br>
                                        546: Phase comp. 7 open<br>
                                        547: Phase comp. 8 open<br>
                                        548: Phase comp. 9 open<br>
                                        549: Phase comp. 10 open<br>
                                        550: Yaw brake contactor open<br>
                                        551: Yaw CW contactor open<br>
                                        552: Yaw CCW contactor open<br>
                                        553: Shaft brake contactor open<br>
                                        554: Gen. cooling contactor open<br>
                                        556: Gear oil cooling cont. open<br>
                                        557: Text for Event code 557 unknown<br>
                                        560: Pitch main pump cont. open<br>
                                        562: Stator filter cont. Open<br>
                                        563: Thyristor fuse blown<br>
                                        564: Pitch soft starter fault<br>
                                        570: Dynamic phase comp. com. Fault<br>
                                        571: Dynamic phase comp. Alarm<br>
                                        572: Dynamic phase comp. group fault<br>
                                        574: Alstom PCS communication fault<br>
                                        575: Alstom PCS fault<br>
                                        580: Phase comp. CB 1 tripped<br>
                                        581: Phase comp. CB 2 tripped<br>
                                        582: Phase comp. CB 3 tripped<br>
                                        583: Phase comp. CB 4 tripped<br>
                                        584: Tower fatigue high<br>
                                        586: Vibration downwind<br>
                                        588: Vibration lateral<br>
                                        590: TAC 84 downwind com. fault<br>
                                        591: Speed sensor fault TAC84 downwind<br>
                                        592: Vibration sensor fault TAC84 downwind<br>
                                        593: Vibration TAC84 downwind<br>
                                        594: TAC84 fault - downwind<br>
                                        595: TAC 84 lateral com. Fault<br>
                                        596: Speed sensor fault TAC84 lateral<br>
                                        597: Vibration sensor fault TAC84 lateral<br>
                                        598: Vibration TAC84 lateral<br>
                                        599: TAC84 fault - lateral<br>
                                        600: Manual stop top box<br>
                                        601: Manual stop keyboard<br>
                                        602: Emergency stop<br>
                                        603: Safety stop<br>
                                        604: Remote stop<br>
                                        605: Remote start<br>
                                        608: Remote power management stop<br>
                                        609: Remote curtailment stop<br>
                                        610: Remote environmental stop<br>
                                        611: Remote owner stop<br>
                                        612: Remote utility stop<br>
                                        613: Remote manufacturer stop<br>
                                        621: Service key<br>
                                        622: Service switch tip brake<br>
                                        630: Gen. G contactor closed<br>
                                        631: Gen. g contactor closed<br>
                                        632: By-pass contactor closed<br>
                                        633: Delta G contactor closed<br>
                                        641: Phase comp. 2 closed<br>
                                        648: Phase comp. 9 closed<br>
                                        649: Phase comp. 10 closed<br>
                                        674: Generator brushes worn<br>
                                        677: Transient - generator<br>
                                        682: Lightning detected<br>
                                        683: Lightning detector fault<br>
                                        684: Transient - control panel<br>
                                        686: Battery charger fault<br>
                                        687: Battery voltage low<br>
                                        689: Beacon light fault<br>
                                        691: External alarm 1<br>
                                        692: External alarm 2<br>
                                        701: CAN-Bus fault<br>
                                        702: Converter warning<br>
                                        703: Converter grid fault<br>
                                        704: Converter internal fault<br>
                                        705: Converter not ready<br>
                                        750: Safety line test fault<br>
                                        751: Emergency line test fault<br>
                                        752: Tip brake valves test fault<br>
                                        754: Pitch press test fault blade 1<br>
                                        755: Pitch press test fault blade 2<br>
                                        756: Pitch press test fault blade 3<br>
                                        758: Hub valve supply test fault<br>
                                        760: Phase comp. test fault<br>
                                        761: Shutdown test fault blade 1<br>
                                        762: Shutdown test fault blade 2<br>
                                        763: Shutdown test fault blade 3<br>
                                        764: Safety line shutdown test fault<br>
                                        765: Flush valve test fault<br>
                                        775: UPS load protected<br>
                                        776: UPS battery fault<br>
                                        780: Ext. generator active<br>
                                        792: Pt100 fault main bear. oil tank<br>
                                        799: Transformer hot - no remote PF control<br>
                                        800: Phase comp. 1 fault<br>
                                        801: Phase comp. 2 fault<br>
                                        802: Phase comp. 3 fault<br>
                                        803: Phase comp. 4 fault<br>
                                        804: Phase comp. 5 fault<br>
                                        810: Pt100 fault main bearing oil<br>
                                        816: Pt100 fault Ups Panel<br>
                                        820: Thyristor L1 open circuit<br>
                                        821: Thyristor L2 open circuit<br>
                                        822: Thyristor L3 open circuit<br>
                                        823: Thyristor L1 short circuit<br>
                                        824: Thyristor L2 short circuit<br>
                                        825: Thyristor L3 short circuit<br>
                                        833: Pt100 fault water after cooler 2<br>
                                        834: Pt100 fault gear bear. rear gen. side<br>
                                        835: Power consumption sensor fault<br>
                                        836: Press. sensor fault yaw br. Ac.<br>
                                        837: Press. sensor fault brake Acc.<br>
                                        840: Press. sensor fault tip brake<br>
                                        841: Press. sensor fault shaft brake<br>
                                        842: Press. sensor fault hub inlet<br>
                                        843: Press. sensor fault yaw brake<br>
                                        844: Press. sensor fault gear oil<br>
                                        848: Pt100 fault interm. gear front<br>
                                        849: Pt100 fault interm. gear rear<br>
                                        851: Pt100 fault Pitch Accumulator<br>
                                        855: Pt100 fault converter generator1<br>
                                        860: Pt100 fault generator G<br>
                                        861: Pt100 fault gear oil<br>
                                        862: Pt100 fault ambient<br>
                                        863: Pt100 fault pitch oil<br>
                                        864: Pt100 fault thyristor<br>
                                        865: Pt100 fault main panel<br>
                                        867: Pt100 fault generator g<br>
                                        869: Pt100 fault gear bear. front<br>
                                        870: Pt100 fault gear bear. rear<br>
                                        872: Pt100 fault operation panel<br>
                                        875: Pt100 fault transformer<br>
                                        876: Pt100 fault gen. bear. front<br>
                                        877: Pt100 fault gen. bear. rear<br>
                                        878: Pt100 fault hub panel<br>
                                        880: Pt100 fault water before cooler<br>
                                        881: Pt100 fault water after cooler<br>
                                        882: Pt100 fault gear oil exchanger<br>
                                        884: Pt100 fault transformer room<br>
                                        885: Pt100 fault transformer W1<br>
                                        886: Pt100 fault transformer W2<br>
                                        887: Pt100 fault transformer W3<br>
                                        888: Pt100 fault control panel<br>
                                        889: Pt100 fault phase comp.<br>
                                        890: Pt100 fault tower base<br>
                                        891: Pt100 fault top box<br>
                                        892: Pt100 fault gen. G W1<br>
                                        893: Pt100 fault gen. G W2<br>
                                        894: Pt100 fault gen. G W3<br>
                                        895: Pt100 fault gen. g W1<br>
                                        896: Pt100 fault gen. g W2<br>
                                        897: Pt100 fault gen. g W3<br>
                                        898: Pt100 fault converter ambient<br>
                                        906: No grid measurement<br>
                                        908: MCU1b timeout<br>
                                        914: MCU1b EEPROM fault<br>
                                        920: Remote programming<br>
                                        930: Internal battery low<br>
                                        950: Parameter fault 1<br>
                                        951: Parameter fault 2<br>
                                        952: Recall factory parameters<br>
                                        981: Cut-in phase sequence fault<br>
                                        982: Cut-in frequency fault<br>
                                        983: Cut-in phase vector fault<br>
                                        984: Cut-in peak current L1<br>
                                        985: Cut-in peak current L2<br>
                                        986: Cut-in peak current L3<br>
                                        987: Cut-in avg. current L1<br>
                                        988: Cut-in avg. current L2<br>
                                        989: Cut-in avg. current L3<br>
                                        992: TOI number 1 comm. Fault<br>
                                        993: TOI number 2 comm. Fault<br>
                                        998: Max stop time<br>
                                        152: Main panel temp. high<br>
                                        151: Pitch oil temp. low<br>
                                        150: Pitch oil temp. high<br>
                                        148: Generator bear. rear temp. high<br>
                                        146: Generator bear. front temp. high<br>
                                        145: Hub panel temp. low<br>
                                        144: Hub panel temp. high<br>
                                        141: Phase comp. panel temp. low<br>
                                        140: Phase comp. panel temp. high<br>
                                        132: Transformer W1 temp. high<br>
                                        130: Transformer room temp. high<br>
                                        129: Transformer temp. low<br>
                                        128: Transformer temp. high<br>
                                        125: Thyristor temp. low<br>
                                        124: Thyristor temp. high<br>
                                        123: Control panel temp. low<br>
                                        122: Control panel temp. high<br>
                                        119: Main bearing temp. low<br>
                                        118: Main bearing temp. high<br>
                                        117: Gear bear. rear temp. low<br>
                                        116: Gear bear. rear temp. high<br>
                                        114: Gear bear. front temp. high<br>
                                        113: Gear oil temp. low<br>
                                        112: Gear oil temp. high<br>
                                        108: Generator g temp. high<br>
                                        107: Generator G temp. low<br>
                                        106: Generator G temp. high<br>
                                        105: Yaw rim temp. low<br>
                                        103: Nacelle temp. low<br>
                                        102: Nacelle temp. high<br>
                                        101: Ambient temp. low<br>
                                        100: Ambient temp. high<br>
                                        99: Power deviation<br>
                                        98: Gear bear. rear gen. side temp. High<br>
                                        90: Low dB stop<br>
                                        89: Negative power high<br>
                                        88: Negative power gen. g<br>
                                        87: Negative power gen. G<br>
                                        85: Power gen. G high - level 2<br>
                                        83: Power gen. G high<br>
                                        82: Short avg. power gen. g high<br>
                                        81: Short avg. power gen. G high<br>
                                        80: Long avg. power gen. g high<br>
                                        79: Long avg. power gen. G high<br>
                                        70: High frequency level 5<br>
                                        69: High frequency level 4<br>
                                        68: High frequency level 3<br>
                                        67: High frequency level 2<br>
                                        66: High frequency level 1<br>
                                        65: High frequency L3<br>
                                        64: High frequency L2<br>
                                        63: High frequency L1<br>
                                        62: Low frequency L3<br>
                                        61: Low frequency L2<br>
                                        60: Low frequency L1<br>
                                        50: Phase sequence fault<br>
                                        49: Vector surge<br>
                                        44: Grid recovery fault 4<br>
                                        43: Grid recovery fault 3<br>
                                        42: Grid recovery fault 2<br>
                                        41: Grid recovery fault 1<br>
                                        40: Grid drop current L3<br>
                                        39: Grid drop current L2<br>
                                        38: Grid drop current L1<br>
                                        31: Asymmetric current slow<br>
                                        30: Asymmetric current fast<br>
                                        25: Low voltage L3 (auxiliary)<br>
                                        22: High voltage L3 (auxiliary)<br>
                                        21: High voltage L2 (auxiliary)<br>
                                        20: High voltage L1 (auxiliary)<br>
                                        14: Grid drop voltage L3<br>
                                        13: Grid drop voltage L2<br>
                                        12: Grid drop voltage L1<br>
                                        11: Grid spikes L3<br>
                                        10: Grid spikes L2<br>
                                        9: Grid spikes L1<br>
                                        8: Low voltage L3<br>
                                        7: Low voltage L2<br>
                                        6: Low voltage L1<br>
                                        5: High voltage L3<br>
                                        4: High voltage L2<br>
                                        3: High voltage L1<br>
                                        2: Asymmetric voltage<br>
                                        1: Power up<br>
                                        0: Turbine OK<br>
                                        999: Max automatic reset times<br>
                                </p>
              

                                <p>Source:</p>
<p class='tooltipscroll'>

    var starttimearr;<br>
    var endtimearr;<br>
    var cnt;<br>
    var i;<br>
    var j;<br>
var cntend;<br>
var cntstart;<br>
var theoprod;<br><br>

for (i = 0; i < cntstart; i = i + 1) {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (ArrElm(starttimearr,i) != 0) {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for (j = 1; j < cntend; j = j + 1) {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (ArrElm(endtimearr,cntend-j) != 0) {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 100*((ArrElm(endtimearr,cntend-j)-ArrElm(starttimearr,i))/theoprod);<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
}
</p>


                                <p>Error message:</p>
                                <p>This is an error message</p>
                            </div>">N/A</h4>
                            <h6 style="padding-bottom:20px;">Wind Direction</h6>
                            <h4 class="valuepres"  data-tooltip="
                            <div>
                                    <p>Server time:</p>
                                    <p>12.20.2018 - 08:30:34</p>
                                    <p>Unit time:</p>
                                    <p>12.20.2018 - 09:30:22</p>
                                <p>NB Tag:</p>
                                <p>WTUR.W</p>
                                <p>Source:</p>
                                <p>Wtc.TDI.AcWindSp.AcWindSp:MeanValue</p>
                        
                                
                            </div>">120˚</h4>
                        </div>
                        <div class="col-4">
                            <div class="unitgraphwrapper met">
                                <div class="min">
                                    <h6>0 rpm</h6>
                                </div>
                                <div class="max">
                                    <h6>40 rpm</h6>
                                </div>
                                <div class="base">
                                    <div class="valuebar" style="height:40%;"></div>
                                    <div class="value" style="height:40%;">
                                        <h4 class="valuepres"  data-tooltip="
                                        <div>
                                                <p>Server time:</p>
                                                <p>12.20.2018 - 08:30:34</p>
                                                <p>Unit time:</p>
                                                <p>12.20.2018 - 09:30:22</p>
                                            <p>NB Tag:</p>
                                            <p>WTUR.W</p>
                                            <p>Source:</p>
                                            <p>Turbin</p>
                                    
                                        </div>">30
                                            <span>rpm</span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="valuelines"></div>
                                <div class="graphtop"></div>
                                <div class="graphbottom"></div>
                            </div>
                        </div>
                        <div class="col-4">
                            <div class="unitgraphwrapper met">
                                <div class="min">
                                    <h6 class="valuepres">0 rpm
                                    </h6>
                                </div>
                                <div class="max">
                                    <h6 class="valuepres">2.000 rpm
                                    </h6>
                                </div>
                                <div class="base">
                                    <div class="valuebar" style="height:60%;"></div>
                                    <div class="value" style="height:60%;">
                                        <h4 class="valuepres"   data-tooltip="
                                        <div>
                                                <p>Server time:</p>
                                                <p>12.20.2018 - 08:30:34</p>
                                                <p>Unit time:</p>
                                                <p>12.20.2018 - 09:30:22</p>
                                            <p>NB Tag:</p>
                                            <p>WTUR.W</p>
                                            <p>Source:</p>
                                            <p>Turbin</p>
                                  
                                        </div>">40
                                            <span>rpm</span>
                                        </h4>
                                    </div>
                                </div>
                                <div class="valuelines"></div>
                                <div class="graphtop"></div>
                                <div class="graphbottom"></div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-4">
                            <h6>Gearbox temp.</h6>
                        </div>
                        <div class="col-4">
                            <h6>Generator rpm</h6>
                        </div>
                        <div class="col-4">
                            <h6>Rotor rpm</h6>
                        </div>
                    </div>
                </div>
                <div class="frame">A graph made by cool developers</div>
            </div>
        </div>
        <div role="tabpanel" class="tab-pane" id="counters">
            <div class="gridwrapper">
                <div class="frame  half notlr">

                    <h3>Production</h3>

                    <div class="counters">
                        <div>
                            <h4 class="periodheader"><span>Total</span></h4>
                            <h4>691.000 <span>kWh</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This year</span></h4>
                            <h4>39.500 <span>kWh</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This month</span></h4>
                            <h4>691 <span>kWh</span></h4>
                        </div>
                    </div>
                </div>
        

                <div class="frame half">

                    <h3>Environment not ok</h3>

                    <div class="counters">
                        <div>
                            <h4 class="periodheader"><span>Total</span></h4>
                            <h4 class="timeunit">10<span>min.</span></h4>
                            <h4 class="timeunit">55<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This year</span></h4>
                            <h4 class="timeunit">10<span>min.</span></h4>
                            <h4 class="timeunit">55<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This month</span></h4>
                            <h4 class="timeunit">10<span>min.</span></h4>
                            <h4 class="timeunit">55<span>sec.</span></h4>
                        </div>
                    </div>
                </div>

                <div class="frame half">

                    <h3>Grid not ok</h3>

                    <div class="counters">
                        <div>
                            <h4 class="periodheader"><span>Total</span></h4>
                            <h4 class="timeunit">20<span>min.</span></h4>
                            <h4 class="timeunit">55<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This year</span></h4>
                            <h4 class="timeunit">20<span>min.</span></h4>
                            <h4 class="timeunit">55<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This month</span></h4>
                            <h4 class="timeunit">20<span>min.</span></h4>
                            <h4 class="timeunit">55<span>sec.</span></h4>
                        </div>
                    </div>
                </div>

                <div class="frame full">

                    <h3>Remote stopped</h3>

                    <div class="counters">
                        <div>
                            <h4 class="periodheader"><span>Total</span></h4>
                            <h4 class="timeunit">3<span>years</span></h4>
                            <h4 class="timeunit">360<span>days</span></h4>
                            <h4 class="timeunit">23<span>hours</span></h4>
                            <h4 class="timeunit">55<span>min.</span></h4>
                            <h4 class="timeunit">44<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This year</span></h4>
                            <h4 class="timeunit">3<span>days</span></h4>
                            <h4 class="timeunit">23<span>hours</span></h4>
                            <h4 class="timeunit">55<span>min.</span></h4>
                            <h4 class="timeunit">44<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This month</span></h4>
                            <h4 class="timeunit">23<span>hours</span></h4>
                            <h4 class="timeunit">55<span>min.</span></h4>
                            <h4 class="timeunit">44<span>sec.</span></h4>
                        </div>
                    </div>
                </div>

                <div class="frame half">

                    <h3>Unit not ok</h3>

                    <div class="counters">
                        <div>
                            <h4 class="periodheader"><span>Total</span></h4>
                            <h4 class="timeunit">23<span>hours</span></h4>
                            <h4 class="timeunit">55<span>min.</span></h4>
                            <h4 class="timeunit">44<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This year</span></h4>

                            <h4 class="timeunit">55<span>min.</span></h4>
                            <h4 class="timeunit">44<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This month</span></h4>
                            <h4 class="timeunit">55<span>min.</span></h4>
                            <h4 class="timeunit">44<span>sec.</span></h4>
                        </div>
                    </div>
                </div>

                <div class="frame half">

                    <h3>Stopped for service</h3>

                    <div class="counters">
                        <div>
                            <h4 class="periodheader"><span>Total</span></h4>
                            <h4 class="timeunit">3<span>years</span></h4>
                            <h4 class="timeunit">360<span>days</span></h4>
                            <h4 class="timeunit">23<span>hours</span></h4>
                            <h4 class="timeunit">55<span>min.</span></h4>
                            <h4 class="timeunit">44<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This year</span></h4>
                            <h4 class="timeunit">23<span>hours</span></h4>
                            <h4 class="timeunit">20<span>min.</span></h4>
                            <h4 class="timeunit">52<span>sec.</span></h4>
                        </div>
                        <div>
                            <h4 class="periodheader"><span>This month</span></h4>
                            <h4 class="timeunit">23<span>hours</span></h4>
                            <h4 class="timeunit">20<span>min.</span></h4>
                            <h4 class="timeunit">52<span>sec.</span></h4>
                        </div>
                    </div>
                </div>

            </div>
            <button class="btn" id="flowrow">Toggle flow</button>

        </div>
    </div>
</div>

