PRODUKTY

šetriče energie, riadiace jednotky, led svietidlá
Products
PRODUCTS

Blue spectra are the highest frequency spectra of visible electromagnetic waves observed by the human sense. From the point of view of quantum photons, blue is the most energetic of the white illumination of the visible spectra. For these reasons, it is technologically suitable for the production of photons generating the converted type with lower energy after the impact of higher energy photons on the converter-phosphorus mixture or barite of white LEDs.

LED lamp Starlit 44W

LED LAMP STARLIT 44W

Panel LED light fixture STARLIT is suitable for commercial areas. With suspension system is intended for space installation. Dimensions is 600mm x 600mm with visible height of fixture 20mm without LED driver. The LED driver has height 35mm. Fixture STARLIT is supplied by constant current 1,12A. Light upped LED light sources Osram Duris E5 look like Star sky without flickering effects. Total input power is typical 44W, within mains tolerance ±10%. Connection of mains to the LED driver is provided withot protected wire. Withstand more then 20MΩ. Optical features of the foil HD satin glued on the polycarbonate, limits discomfort glare and improve spatial uniformity of the light. LED diodes are selected with regard to narrow tolerance of the correlation of color temperature CCT 4000K ± 100K. Number of LED diodes is 240. Color rendering index CRI is typical 85.

Technical parameters of the device:
LED MODULE PARAMETERS
Luminous flux 5600lm ; 1000lx
CCT: color temperature correlation 4000K ± 100K (contrasting white)
CRI: color rendering index 82
Efficiency 125lm/W
Coverage level IP 20
Lifespan 50 000hours @70% LM
Dimensions 4 x (420mm x 220mm)
Weight 4 x (220g)
Frame white-aluminum
LED DRIVER PARAMETERS
Input network voltage 230VAC - (184VAC až 253VAC)
Network tolerance. voltage -20% to +10%
Input frequency 47Hz až 63Hz
Power factor >0,93 (THD 15%)
Input current 190mA
Input max. 44W
Insulation strength (prim. sec.) 3kV (6sec.)
Insulation resistance 500V >20MΩ
Output power max. 40W
Efficiency 89%
Input current ripple ±7% @100Hz
Ambient operating temperature 0°C to +40°C
Ambient working humidity max. 90%
Dimensions 90mm x 55mm x 30mm
Weight 200g
Lifespan 32 000hours @90% CL
LED LAMP PARAMETERS
Lamp dimensions 600mm x 600mm x 40mm
Diffuser dimensions 590mm x 590mm x 3mm
Storage temperature -20°C to +55°C
Weight 4kg
Specification IEC61000-3-2
Safety specification EN61347-2-13
Low electromagnet. interference EN55015:2010
Info. ↓ contents ↑ harmonics, Wago
LED lamp StreetStick 42W
LED lamp StreetStick 42W

LED LAMP STREETSTICK 42W

StreetStick low-cost modern street fixture. StreetStick, already its name describes the shape of the fixture. It is characterized by simple minimalistic design. Fixture is formed in a robust piece of aluminium stick. It has implemented two 20W LED modules equipped by 12x latest OSRAM OSLON Square LEDs focused by street optics from LEDIL. This fixture is result of cooperation of three local Slovak companies, FuturoLighting design and system development of the fixture, PALCO IT SMPS design and GAMAaluminium aluminium processing. Thermal tests has shown good thermal dissipation across the fixture body reaching hot spot at 43°C at Ta=25°C. Fixture body has dimensions of 900mm x 100mm x 20mm and weight of 6kg. It emits over 4000 lm with CCT of 4000K or 5000K and CRI above 70. The whole fixture is made of aluminium, which is naturally anodized and offers robust environmental resistance. This fixture is designed to be used especially for ME4 and ME5 class streets, and many other applications inclooding, walking, bicycle roads, parks and offers high efficiency above 100lm/W and long life. StreetStick requires NO maintenance other than regular dusting/cleaning during whole product life. Servicable SMPS switching mode power supply can be replaced esily without need to touch the fixture, because is located at the bottom of the pole. To keep low costs and high quality product without affecting design, user can select from various fixed joints ranging from 0° to 15° in 5° decrements, measured to vertical axis. Due to used installation principle multipole installation requires only single SMPS according to number of fixtures, thus decreasing installation costs for such multi pole systems 2,3 or 4 fixtures on single pole extending its usage for higher road classes. Fixture can be additionally equiped with optional modules, like, two phase dimming controll, midnight detection for energy saving, RF grid for diagnostic and fixtures controll, and others according to customer requirements.

Fields of applications: Street Lighting ME4 and ME5, other with multi-pole installation, walking roads lighting, bicycle roads lighting, park lighting. Benefits: low initial, installation and maintenance costs, simple fresh look for recent cities, smooth surface excluding dust collection, efficient low power consumption, long life, compact size robust housing made of aluminium. Project credits: OSRAM Opto Semiconductors, LEDIL, PALCO IT, GAMAaluminium, Rutronik.
LED lamp StreelitGreen 10W and 20W

LED LAMP STREELITGREEN 10W AND 20W

LED lamp Higlit 80W

LED LAMP HIGLIT 80W

Industrial LED light HIGLIT is designed to illuminate industrial halls and interior spaces. It is adapted for mounting to 3m to 6m in height. Measurements are 460mm x 460mm x 25mm without LED drivers. Themselves drivers are placed in the installation box. HIGLIT lamp is powered by a DC constant current max. 2A, which does not cause flickering of the light sources. Total power consumption is 80W. LED drivers are independent to be connected to mains voltage to 50% and 100% of rated output current. The wattage at half output current is 40W. Optical properties of the lamp determines diffuser with HD Satin foil that prevents excessive interference glare. LEDs light source are chosen with close tolerance with respect to correlate color temperature, CCT 4000K ± 100K. Number of LEDs Osram DurisE5 is 480 and are drived by 50% of nominal current, thereby increasing the technical life of the lamp. Typical Color Rendering Index CRI 85. Dual LED drivers allows discrete switching to standby mode half the power. Low loss optical diffuser prevents glare interference.

Technical parameters of the device:
LED MODULE PARAMETERS
Luminous flux 7800lm ; 200lx
CCT: color temperature correlation 4000K ± 100K (contrasting white)
CRI: color rendering index 85
Efficiency 97lm/W
Coverage level IP 20
Lifespan 50 000hours @70% LM
Dimensions 4 x (420mm x 220mm)
Weight 4 x (220g)
Frame white-aluminum
LED DRIVER PARAMETERS
Input network voltage 230VAC - (99VAC až 254VAC)
Network tolerance. voltage -20% to +10%
Input frequency 50Hz to 60Hz
Power factor >0,95 (THD 15%)
Input current 190mA
Input max. 80W ; saving: 40W
Insulation strength (prim. sec.) 3kV (6seC.)
Insulation resistance 500V >20MΩ
Output power max. 80W
Efficiency 89%
Input current ripple ±7% @100Hz
Ambient operating temperature 0°C to +40°C
Ambient working humidity max. 90%
Dimensions 90mm x 55mm x 30mm
Weight 200g
Lifespan 32 000hours @90% CL
LED LAMP PARAMETERS
Lamp dimensions 460mm x 460mm x 25mm
Diffuser dimensions 350mm x 350mm x 3mm
Storage temperature -20°C to +55°C
Weight 2,5kg
Specification IEC61000-3-2
Safety specification EN55015, EN550222006 + A12007, CISPR22B
Low electromagnet. interference EN60950-12006 + A112009
Info. ↓ contents↑ harmonics, Wago
LED lamp Streelit 20W and 40W

LED LAMP STREELIT 20W AND 40W

STREELIT lamp is powered by a DC constant current max. 1A, which does not cause flickering light sources. Total power consumption is 40W lamp. LED ballast is regulated at levels of 50% and 100% of rated output current. At minimum stream power is 20W lamp. LED street lamp STREELIT is designed for outdoor spaces suitable for lighting streets and roads 1class. It is adapted for mounting bracket lamp posts. Dimensions are 600mm x 160mm x 100mm. Optical properties of the lamp determines the secondary optics with characteristic MSO - Medium Street Optic. Used LEDs - light source are chosen with close tolerance with respect to correlate color temperature, CCT 4000K ± 100K. Number of LEDs Osram OSLON Square PC 24, are mounted on an aluminum profile with a thermal resistance of less than 1.1°K/W, which enables operation in ambient temperatures up to 40°C. LED excitation light source with a 20% margin of nominal current, thereby increasing the technical life of the lamp. The luminaire has an alternative integrated control unit with the management of artificial midnight. Power Save Mode 50% input is turned on at 23:00 pm, followed at 4:00 o'clock again switches to the nominal mode 100% input. Lamp will operate under set time profile after two consecutive recognized operational night on and off the lamp according to the astronomical clock or under photocell. If the lamp still does not recognized switching management under artificial midnight implicitly switches to power saving mode according to a preset profile - four hours after power is in nominal mode, the following five hours in power-saving mode, after which until you turn off the lamp is operated at nominal mode.

LED lamp STREELIT 20W:
LED MODULE PARAMETERS
Luminous flux 2000lm
CCT: color temperature correlation 4000K ± 100K (contrasting white)
CRI: color rendering index 80
Efficiency 100lm/W
Coverage level IP 65
Lifespan 50 000hours @70% LM
Dimensions -
Weight -
Frame gray-aluminum
LED DRIVER PARAMETERS
Input network voltage 230VAC - (186VAC až 254VAC)
Network tolerance. voltage -20% to +10%
Input frequency 47Hz to 63Hz
Power factor >0,80 (THD 15%)
Input current 550mA
Input max. 20W
Insulation strength (prim. sec.) 4kV (6sec.)
Insulation resistance 500V >20MΩ
Output power max. ?W
Efficiency 88%
Input current ripple ±3% @100Hz
Ambient operating temperature -25°C to +40°C
Ambient working humidity max. 90%
Dimensions -
Weight -
Lifespan 24 000hours @90% CL
LED LAMP PARAMETERS
Lamp dimensions 450mm x 160mm x 100mm
Diffuser dimensions 150mm x 100mm x 3mm
Storage temperature -25°C to+55°C
Weight 4,5kg
Specification IEC61000-3-2
Safety specification EN60950-1:2006 + A11:2009
Low electromagnet. interference EN55015:2010, EN55022:2006 + A1:2007, CISPR22
ECO design LED ballast stored in a pole and in the ground
Class ME5
Column height 6m to 8m
Optics MSO

LED lamp STREELIT 40W:
LED MODULE PARAMETERS
Luminous flux 4000lm
CCT: color temperature correlation 4000K ± 100K (contrasting white)
CRI: color rendering index 80
Efficiency 100lm/W
Coverage level IP 65
Lifespan 50 000hours @70% LM
Dimensions -
Weight -
Frame gray-aluminum
LED DRIVER PARAMETERS
Input network voltage 230VAC - (184VAC až 254VAC)
Network tolerance. voltage -20% do +10%
Input frequency 50Hz to 60Hz
Power factor >0,95 (THD 15%)
Input current 1,8A
Input max. 40W
Insulation strength (prim. sec.) 4kV (6sec.)
Insulation resistance 500V >20MΩ
Output power max. ?W
Efficiency 89%
Input current ripple ±3% @100Hz
Ambient operating temperature -25°C to +40°C
Ambient working humidity max. 90%
Dimensions -
Weight -
Lifespan 32 000hours @90% CL
LED LAMP PARAMETERS
Lamp dimensions 600mm x 160mm x 100mm
Diffuser dimensions 250mm x 100mm x 3mm
Storage temperature -25°C to +55°C
Weight 6kg
Specification IEC61000-3-2
Safety specification EN60950-1:2006 + A11:2009
Low electromagnet. interference EN55015:2010, EN55022:2006 + A1:2007, CISPR22
ECO design LED ballast stored in a pole and in the ground
Class ME4, ME5
Column height 8m to 12m
Optics MSO
DEVELOPMENT KIT

Warning shock hazard!!! High currents and high voltages, on the primary side galvanic connected with mains, may be hazardous, even lethal. Hence, the driver should be operated by qualified technicians only. PALCO IT takes no responsibility for any consequence that may result from the use of this document or the application described herein.

The development kit ACDC PFC 44 is the comprehensive set for the test and preproduction of the 44W LED driver, with active Power Factor correction. Topology is the typical FlyBack operating in quasi resonant mode. There is optimized for 12 LED string with nominal current 1,05A. Applications: home LED lighting, office panel LED lamps, industry high bay lamps, street LED lighting.

Technical parameters of the device:
NAME PARAMETERS
Input max. 44W
Configurable 700mA
Current 1,05A
Voltage 40V - (184VAC to 253VAC)
Power factor 0,93
Efficiency 89%
Frequency 47Hz to 63Hz
Insulation voltage (prim. sec.) 3kV (6sek.)
Safeness SELV
Operation temperature -20°C to +45°C
Storage temperature -20°C to +55°C
Optimized for 12pcs. @3W
Dimensions 89mm x 55mm x 35mm
Specification IEC61000-3-2
Safety specification EN61347-2-13
Low electromagnet. interference EN55015:2010
LED ballast design

LED DRIVER DESCRIPTION

Proper filtering is a must, there is a standard. Class D surge protection with varistor - use is inconsistency. This can cast a bad shadow on the conductor by frequently breaking the fuse caused by surges in the electricity. This is mainly the surge protection of the building's electricity as a whole.

The most used types of topologies:
  • Simpler quasi-resonant Flyback with implicit active power factor correction for input power up to 120W,
  • More complicated resonant LLC for input power over 200W,
Flyback, reliability or MTBF topology driver:
  • Input electrolytic BULK capacitors, active PFC topology eliminates them - higher reliability,
  • The damping capacitor is of the foil type, not the ceramic type,
  • The secondary rectifier is an ideal SiC diode using a schotky diode than the excessive dimension twice takes into account the assignment voltage the sum of the output voltage + the reflected primary voltage is divided by the input voltage by the ratio of transformation and rotation,
  • Secondary electrolytic capacitors - polymer type 4 or 6 in parallel or tantalum types. Two pieces applied - lower current ripple at 105 ° C with ESR,
  • Primary sensing is suitable e.g. LT3799-1 because the optocoupler is excluded as a potential source of failure. In SMPS, MosFET acts as the sum of four edges - rectified input voltage nominal 325V, Reflected secondary voltage ~ Vout * Ntransformer. Leak induction peak, can be suppressed by Snuber 50V-200V. A fault voltage of 900V MosFET is required. Primary sensing has a worse effect on the SMPS control loop - good current control + -2% secondary sensing predicted with very long PI correction below 10Hz of the current part of the control in constant current mode to suppress LED flicker caused by mains frequency - good result + -5%. Comparable to primary sensing with good control technology in the control circuit,

AndroLit LED lamp

ANDROLIT LED LAMP

AndroLit PALCO IT ©16 - Remote controlled luminaires for everyone. Controlled from any Android device Mobile, Tablet, TV, Watches. Wireless bi-directional control, management and regulation. Functions: time management, management of Artificial midnight, lighting management, management access of people. Remote management: evaluation of energy savings, evaluating the investment return, evaluation of annual revenue from investments.

Remote management of color LED lights PALCO IT. Remote control of colored LED lights PALCO IT, using an android device with Bluetooth. Luminous flux setting for individual color RGB channels in the range of 0% to 100%. The application contains 4 independent color scenes selectable with the 1 to 4 buttons. With the SET button, the luminous flux levels of the individual RGB channels are written to the non-volatile memory of the EEPROM LED ballast and at the same time for the respective selected theme, to the Android device. The DEMO button starts the color demo illumination with a minute cycle. Press again to turn off the demo.

The application remotely controls the colored LED lights PALCO IT, using an android device. Allows you to set the luminous flux of each color RGB channel in the range of 0% to 100%. We can choose, set and remember one of 4 color themes. The application also includes a color demo - illumination with a minute cycle.

Technical parameters of the device:
NAME PARAMETERS
Power 8W až 44W
Efficiency 120lm/W with difuser
CCT 2700K až 4000K
CRI 85 to 90
Adjustable 8W to 16W 0% to100%
Adjustable 32W to 44W 10% to100%
StandBy to 1W
Livespan 40 000hours


OPERATING PROFIT

Measurement of power consumption. Analysis of mains parameters. Evaluation of economic and statistical indicators.

Questions preceding the decision to invest: Increase technology machine production capacity over currently. Technology reduces operating costs and thus increase the efficiency. We will create some additional benefits. It is an investment in technology final.
Relative spectral emission, neutral white color temperature 4000K

Costs for investment:
  • Initial Cost: purchase, transportation, installation, commissioning,
  • Operation and Maintenance Cost: over the life of technology,
  • Fixed Cost: relatively constant for example levies, taxes, salaries,
  • Variable Cost: dependence on operating activities,
  • Incremental or Marginal Cost: determined from variable costs, eg. increase in performance of some of the technology,
  • Sunk Cost: usually ignored by them,
  • Adjustment Cost: on end of technical life,

Relative spectral emission, cool white color temperature 6000K

Economic variables related to the time:
  • The purchasing power of money finance: themselves typically declines over time. When investing associated with reward, in this case usually grows,
  • Price of technology: typically decreases by time,
  • Price of raw materials: grows by time,
  • The interest rate [%]: Interest - the amount of borrowed funds by banking institution for the use of funds . Depends not only on economic variables over time may rise or fall,
  • Strength of human thoughts: almost infinite value . Little used we act as thought patterns,
Methods for evaluating the profitability and return invesments predictive methods:
  • Payback Period PP: SPP - Single Payback Period, DPP - Discounted Payback Period. Counts with time value of money. Iterative calculation,
  • Return on Investment ROI: DPP - Discounted Payback Period. Involve with time value of money. Iteration method,
  • These two methods are not consistent there aren’t articulated, unsuited with cost over the technical life of technology, do not consider timing cash flow, do not include any costs associated with the specifics of accounting firms: DPP - Discounted Payback Period. Involve with time value of money. Iteration method,
  • Provide a rough approximation investment values. Rough predictive: DPP = year ago + Cost at beginning of year / Cash Flow during a year,
  • However, they are simple, quick, relatively denouncing to measure the profitability of future investments. Lower investment in capital, sufficient for the decision to invest. Weakest method is ROI, since time does not reflect cash flows, that we reduce economic efficiency of the project: ROI = Profit from investments - Investment costs / Invest costs
Other methods of evaluating the profitability of invesments:
  • The total lifetime costs of technology- total LCC - Life-Cycle Cost, present value method,
  • The ratio of savings to investment the method - benefit/cost ratio,
  • Net Present Value - NPV,
  • Internal Rate of Return - IRR,
  • These four methods ae more comprehensive, accurate, used for capital powerful investment,
  • Calculating the value of money present and future,
  • For MAU3 device, suitable methods are SPP for own investments and DPP in the case of credit,
The methods of evaluating the return on invesment SPP:
Relative spectral emission, warm white color temperature
Input parameters:
  • Initial Investment,
  • Annual cost 0 will not make,
  • The rate of electricity,
  • 2 and 3 parameter may be updated . An estimate of the number of years months, days to return investmen,
The methods of evaluating the return invesment DPP:
NAME AMOUNT END YIELD
Initial investment 10000 € - -
The discount rate 5% - -
Annual gross income 3000€ - -
1.year 3000€/1,05 =2857€ Returns net
2.year 3000€/1,1025 =2721€ Returns net
3.year 3000€/1,1576 =2592€ Σ=10638€
4.year 3000€/1,2155 =2468€ Σ=8170€

Return on investment in 3 years and 9 months ward parameters:
  • Initial Investment,
  • The rate of electricity,
  • Discount rate in % 2 and 3 parameter may be updated. An estimate of the number of years months, days to return investment,
Brief guide to better invesment. Before you decide to invest in the development. Making GO/NO-GO project decision:
  • Focus on „cash flows: less on profits. Better a sparrow in the hand than a pigeon on the roof proverb. Accounting profits contain a number of economic fictions assumptions, on the other hand, the flow of funds is economic fact manifested reality,
  • Focus on growth „cash flows: carefully imagine alternatives to the project affect change cash flows thus, the desired additions,
  • Calculate over time„Time is money: investors naturally prefer the timing of the flow of finance. Cash rather sooner than later preferably immediately. Just use the NPV method - obtained clean the present value of potential investments,
  • Calculate the investment: risk. way ride out variable risk is the use of variable discount rate in the calculations, there is most consistent with the investment risk . Recommended inverse relationship - the higher the risk the earlier calculated return on investment,
Example of using of PP method for the exchange of fluorescent tubes for LED light sources:
Binning - selection of LEDs according to chromaticity coordinates

Return on investment, SPP - Simple Pay back Period. 1 piece LED tube lamp, cold white: 120cm. Input parameters for the calculation of PP:
NAME PARAMETERS
The purchase price of energy saving LED tube 47,00€
Power consumption saving 15W
LED tube [W] The rate of electricity [€/kWh] 0.20€
Daytime running lights [hour] 10hrs.
Mode of operation [365-year round, 252-working days] 252days
Equivalent wattage fluorescent tube [W] A 36W
Annual reduction in electricity costs 10,58W
Payback Period (PP) [years] 4 to 5month

Evaluation of the cost over the life of technology LCC - Life-Cycle Cost. Calculation of efficiency LED light sources:
NÁZOV ŽIAROVKA - LED SVIETIDLO PARAMETER
Príkon 94,00 - 44,00 W
Počet 4,00 - 4,00 kusov
Prevádzka 8,00 - 8,00 hodín deň
Spotreba rok 1097,92 - 513,92 kWh
Spotreba rok 274,80 - 128,48 eur
Ročná úspora - 584,00 - kWh
Ročná úspora - 146,00 - eur
Návratnosť investície - 5,48 - rokov
Životnosť hodín - 11,99 - rokov
Úspora po dobu životnosti - 7002,16 - kWh
Úspora po dobu životnosti - 1750,54 - eur
Čistý zisk po dobu životnosti - 950,54 - eur
Ročný výnos z investície - 9,91% - %
Cena diela - 800,00 - eur
Rozdiel nákup ceny bez DPH - 200,00 - eur
Počet dní - 365,00 - v roku
Sadzba - 0,25 - eur
Životnosť - 35000,00 - hodín

Lighting technology:
  • Incandescent: Thomas Edison 1879, tungsten filament in a vacuum or gas halogen bromine, iodine. The efficacy 10lm/W to 18lm/W , CRI 90%-100%,
  • Discharge: fluorescent lamps, discharge lamps, electromagnetic discharge in mercury vapor, in the frequency domain UVB radiation initial issue, subsequently converted optical properties of phosphors to visible spectrum 400nm to 700nm. Efficacy 35lm/W to 200lm/W, CRI 20%-95%,
  • LED: Light Emitting Diode, photon emission from semiconductor transition two semiconductor N and P,
  • Initial electromagnetic emission in the blue spectrum converted in luminophore barite mixtures or phosphorus on the white spectrum the entire visible spectrum, filtered IR and UV,
  • Mixing: 2: dichromatic-BY, 3: RGB trichromatic 630nm, 525nm, 470nm, 4: Tetrachromatic-RGB Cyan for white light, lower CRI,
  • Efficacy: 65lm/W to 130lm/W, CRI 70%-95%. Per capita CO2 emissions in Slovakia: 2003-0,2kg/kWh, 2009-0,17kg/kWh,
  • Standard: EN 12464-1 interior, exterior. Table No.: 3.5 conference rooms 500lx, RA80 Lighting should be controllable,
  • Basic light physical quantities:
  • Light - electromagnetic radiation: which is due to its wavelength visible to the eye,
  • Luminous intensity I - unit: candela [cd] expressed about the ability of a point source of light in a particular direction induce visual perception,
  • Illumination E unit: lux [lx]. 1 lux is lighting caused by 1 lumen luminous flux incident on a surface 1 m². E=Φ/S (S is surface),
  • Luminous flux Φ unit: lumen [lm]. 1 lumen the luminous flux emitted into one steradian solid angle point source intensity in all directions 1 candela,
  • Brightness L unit: candela per square meter [cd/m2]. Share a uniform surface illumination light source and size of the surfaces,
The visible spectrum of light sources the relevant lighting standards:
  • EN 12464-1: light and lighting, lighting workspace, part 1 - indoor work areas,
  • EN 12464-2: light and lighting, lighting workspace, part 1 - outdoor work areas,
  • Conference and meeting facilities: 500lx, UGRL19, Ra80, lighting should be regulated,
Basic electrical quantities, measured analyzed and evaluated by equipment MAU3:
  • Voltage URMS [V]: Method of measuring RMS - Root Mean Square, mean square value is applicable only in the harmonic waveform,
  • Current IRMS [A]: mean square value is applicable only in the harmonic waveform,
  • Frequency [Hz]: of the mains, Mains Frequency,
  • The instantaneous power: Active [W], Reactive [VAr], Apparent[VA],
  • AHAP - Average hourly active power [W]: The share of active energy for operating hours,
  • PF - Power Factor [without unit]: the ratio of active to apparent power, range from 0.0 to 1.0 . Power factor cosΦ, the phase shift between voltage and current, can be applied only in the harmonic waveform,
  • DF - Distortion Factor: can by replaced PF by a very distortion the current,
  • CF - Crest factor: the ratio of peak values to the average value,
  • Consuption [kWh]: time integration of active power, electrical work,
  • Energydistortion [%]: contrast of the wide-spectrum active energy time integration of active power and its fundamental component 50Hz or 60Hz, expressed in a percentage,
Principle of evaluation electricity saving by device MAU3:
  • When an existing technology is approximated value AHAP, simultaneously recorded operating hours,
  • After installing the new more efficient technologies, the AHAP is zeroing and previous will be remembered as a value AHAP-old,
  • Create a new AHAP we get a percentage of the savings share AHAP and AHAP-old,
  • The percentage of savings derive a linear statistical concepts. Example of installing the measuring devices in the warehouse with connected load for lighting about 26kW. 73-phase pieces of MAU3 + SD data-logger,
  • AHAP: Example of installing the measuring devices in the warehouse with connected load for lighting about 26kW.73-phase pieces of MAU3 + SD data-logger,
ELECTRICITY SAVING CALCULATOR

This calculator saves electricity, when replacing the more efficient production technology of the usual lighting, you, what applies, savings, return, life, profit and yield, based on the entered parameters. In addition to saving electricity, economic variables such as the return on research and the annual percentage return on research are also evaluated. Calculation of savings between LEDs vs. light bulb.

Electricity saving calculator:


Economic evaluation calculator:




COMPARSION LAMPS

NAME LED BULB
Luminous flux 100% 100%
Power 52% 100%
CRI 85% 80%
CCT 100% 100%
Efficiency 89% 50%
Lifespan 85% 5%
SOURCE CODES OF SELECTED APPLICATIONS

Sample source codes of selected applications that can be easily copied and placed on your website or in a file on your computer.

V1 Economic evaluation calculator:

<!DOCTYPE html>
<html lang="en">
<head>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
  <link rel="icon" type="image/gif" href="/../../../../../media/system/images/palcoitsro.ico">
  <meta name="robots" content="noindex, nofollow">
  <meta name="description" content="This savings calculator, when replacing the usual lighting with a more efficient production technology, will calculate consumption, savings, return, profit.">
  <meta name="keywords" content="calculator, savings, electric, energy, energy saving, savings evaluation, LED calculator, LED bulbs, light bulb, savings, electricity">
  <meta name="rights" content="Copying, reissuing or distributing the content of the site without the prior written consent of the owner is expressly prohibited.">
  <meta name="author" content="PALCO IT, s.r.o.">
  <title>V1 Economic evaluation calculator - PALCO IT, s.r.o.</title>

<style>
table {
  table-layout: fixed;
}

input {
  text-align: center;
}

@media only screen and (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    clip: rect(0 0 0 0);
    overflow: hidden;
    position: absolute;
  }

  td {
    position: relative;
    padding-left: 200px;
    margin-left: 150px;
    text-align: center;
  }

  td:before {
    position: absolute;
    top: 12px;
    left: 5px;
    width: 200px;
    padding-right: 40px;
    margin-left: -150px;
    text-align: left;
    font-weight: bold;
  }

  td:nth-of-type(1):before {
    content: "TITLE"; 
  }

  td:nth-of-type(2):before {
    content: "VALUE"; 
  }

  td:nth-of-type(3):before {
    content: "PARAMETER";
  }
}
</style>

</head>
<body>

<script>
function Vypocet() {
  Prikon = ((parseFloat(RozdielNakupnejCeny.value) / parseFloat(JednotkovaCena.value)) / 1000).toFixed(2);
  document.getElementById("Prikon").innerHTML = Format(Prikon);
  DennaUsporaKwh = (parseFloat(Prikon) * parseFloat(PrevadzkaHodin.value) * (parseFloat(KoeficientUspory.value) - 1)).toFixed(2);
  document.getElementById("DennaUsporaKwh").innerHTML = Format(DennaUsporaKwh);
  DennaUsporaEur = (parseFloat(DennaUsporaKwh) * parseFloat(Sadzba.value)).toFixed(2);
  document.getElementById("DennaUsporaEur").innerHTML = Format(DennaUsporaEur);
  ZivotnostRokov = ((parseFloat(ZivotnostHodin.value) * 10) / (parseFloat(PrevadzkaHodin.value) * 365) / 10).toFixed(2);
  document.getElementById("ZivotnostRokov").innerHTML = Format(ZivotnostRokov);
  NavratnostInvesticieRokov = ((parseFloat(RozdielNakupnejCeny.value) * 10) / parseFloat(DennaUsporaEur) / 365 / 10).toFixed(2);
  document.getElementById("NavratnostInvesticieRokov").innerHTML = Format(NavratnostInvesticieRokov);
  ZiskPoDobuZivotnostiEur = (((parseFloat(ZivotnostRokov) - parseFloat(NavratnostInvesticieRokov)) / parseFloat(NavratnostInvesticieRokov)) * parseFloat(RozdielNakupnejCeny.value)).toFixed(2);
  document.getElementById("ZiskPoDobuZivotnostiEur").innerHTML = Format(ZiskPoDobuZivotnostiEur);
  RocnyVynosInvesticieEur = ((parseFloat(ZiskPoDobuZivotnostiEur) - parseFloat(RozdielNakupnejCeny.value)) / parseFloat(ZivotnostRokov)).toFixed(2);
  document.getElementById("RocnyVynosInvesticieEur").innerHTML = Format(RocnyVynosInvesticieEur);
  RocnyVynosInvesticiePercent = (((((parseFloat(ZiskPoDobuZivotnostiEur) * 10) / parseFloat(ZivotnostRokov)) / parseFloat(RozdielNakupnejCeny.value)) * 100) / 10).toFixed(2);
  document.getElementById("RocnyVynosInvesticiePercent").innerHTML = Format(RocnyVynosInvesticiePercent);
  
  function Format(num) {
    return (num.replace(' ', '.').replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1 '))
  }
}
</script>

<table class="table table-bordered table-striped table-hover">
  <thead>
    <tr class="alert alert-warning sticky-top text-center">
      <th>TITLE</th>
      <th>VALUE</th>
      <th>PARAMETER</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Unit price</td>
      <td class="text-center"><input type="text" value="7" placeholder="Unit price" class="form-control" id="JednotkovaCena" OnKeyUp="Vypocet()"></td>
      <td>eur</td>
    </tr>
    <tr>
      <td>Rate</td>
      <td><input type="text" value="0.223" placeholder="Rate" class="form-control" id="Sadzba" OnKeyUp="Vypocet()"></td>
      <td>eur</td>
    </tr>
    <tr>
      <td>Purchase price difference</td>
      <td class="text-center"><input type="text" value="1000" placeholder="Purchase price difference" class="form-control" id="RozdielNakupnejCeny" OnKeyUp="Vypocet()"></td>
      <td>eur</td>
    </tr>
    <tr>
      <td>Operation day</td>
      <td class="text-center"><input type="text" value="10" placeholder="Operation day" class="form-control" id="PrevadzkaHodin" OnKeyUp="Vypocet()"></td>
      <td>hours</td>
    </tr>
    <tr>
      <td>Lifespan</td>
      <td class="text-center"><input type="text" value="42000" placeholder="Lifespan" class="form-control" id="ZivotnostHodin" OnKeyUp="Vypocet()"></td>
      <td>hours</td>
    </tr>
    <tr>
      <td>Coefficient of savings</td>
      <td class="text-center"><input type="text" value="4" placeholder="Coefficient of savings" class="form-control" id="KoeficientUspory" disabled></td>
      <td>hours</td>
    </tr>
    <tr>
      <td>Input</td>
      <td class="text-center" id="Prikon"></td>
      <td>W</td>
    </tr>
    <tr>
      <td>Daily savings</td>
      <td class="text-center"><span id="DennaUsporaKwh"></span> ; <span id="DennaUsporaEur"></span></td>
      <td>kWh ; eur</td>
    </tr>
    <tr>
      <td>Lifespan</td>
      <td class="text-center" id="ZivotnostRokov"></td>
      <td>years</td>
    </tr>
    <tr>
      <td>Return on investment</td>
      <td class="text-center" id="NavratnostInvesticieRokov"></td>
      <td>years</td>
    </tr>
    <tr>
      <td>Lifetime profit</td>
      <td class="text-center" id="ZiskPoDobuZivotnostiEur"></td>
      <td>eur</td>
    </tr>
    <tr>
      <td>Annual return on investment</td>
      <td class="text-center"><span id="RocnyVynosInvesticieEur"></span> ; <span id="RocnyVynosInvesticiePercent"></span></td>
      <td>eur ; %</td>
    </tr>
  </tbody>
</table>
<script>Vypocet()</script>

</body>
</html>

V1 Electricity saving calculator:

<!DOCTYPE html>
<html lang="en">
<head>
  <link rel="icon" type="image/gif" href="/../../../../../media/system/images/palcoitsro.ico">
  <meta name="robots" content="noindex, nofollow">
  <meta name="description" content="This savings calculator, when replacing the usual lighting with a more efficient production technology, will calculate consumption, savings, return, profit.">
  <meta name="keywords" content="calculator, savings, electric, energy, energy saving, savings evaluation, LED calculator, LED bulbs, light bulb, savings, electricity">
  <meta name="rights" content="Copying, reissuing or distributing the content of the site without the prior written consent of the owner is expressly prohibited.">
  <meta name="author" content="PALCO IT, s.r.o.">
  <title>V1 Electricity saving calculator - PALCO IT, s.r.o.</title>

<style>
/*TABUĽKA KALKULAČKY POČÍTAČ*/
  body {
  font-size: 13px;
  font-family: verdana;
  font-weight: 300;
  color: #777;
}

input {
  font-weight: 700;
  text-align: center;
  color: #777;
  background-color: #ffcc99;
  border: 1px solid black;
  border-radius: 4px;
  width: 100%;
}

input:hover {
  background-color: #ffcc88;
}

input[type = submit],[type = button] {
  font-weight: 700;
  color: #777;
  background-color: #ffcc99;
  padding: 10px;
  width: 100%;
}

input[type = submit]:hover {
  background-color: #ffcc88;
}

input[type = text]:disabled {
  background-color: #cccccc;
  text-decoration: line-through;
}

select {
  font-weight: 700;
  text-align: center;
  color: #777;
  background-color: #ffcc99;
  border: 1px solid black;
  border-radius: 4px;
  width: 100%;
}

select:hover {
  background-color: #ffcc88;
}

a.Tlacidko {
  font-weight: 700;
  text-decoration: none;
  color: #777;
}

table {
  width: 100%;
  border: 1px solid #ccc;
  table-layout: fixed;
}

th {
  text-align: center;
  background-color: #ffcc99;
  padding: 5px;
}

tr {
  border: 1px solid #ddd;
}

tr:hover {
  background-color: #e4e4e4;
}

tr:nth-child(even):hover {
  background-color: #e4e4e4;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

td {
  text-align: left;
  padding: 5px;
}

.Hodnoty {
  text-align: center;
}

.Vysvetlivky {
  text-align: justify;
}


.Dlzka {
  width: 45%;
}

/*TABUĽKA KALKULAČKY MOBIL*/
@media screen and (max-width: 600px) {
table {
  border: 0;
}

table caption {
  font-size: 1.3em;
}

table thead {
  border: none;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

table tr {
  background-color: #f8f8f8;
  border-bottom: 3px solid #ddd;
  display: block;
  margin-bottom: .625em;
}

table td {
  border-bottom: 1px solid #ddd;
  display: block;
  font-size: .8em;
  text-align: right;
}

table td::before {
  content: attr(data-label);
  float: left;
  font-weight: bold;
  text-transform: uppercase;
}

table td:last-child {
  border-bottom: 0;
  text-align: right;
}

table input {
  font-size: 11px;
  text-align: right;
  width: 50px;
  padding-right: 3px;
}

table select {
  font-size: 11px;
  text-align: right;
  width: 57px;
  padding-right: 3px;
}

.Hodnoty {
  text-align: right;
}

.Vysvetlivky {
  text-align: right;
}
}

/*PREPÍNAČ MENU*/
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  line-height: 1.25;
  font-weight: 700;
  color: #777;
}

.tab button {
  background-color: inherit;
  float: left;
  font-size: 13px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  line-height: 1.25;
  font-weight: 700;
  color: #777;
}

.tab button:hover {
  background-color: #ffcc88;
}

.tab button.active {
  background-color: #ffcc99;
}

.TabContent {
  display: none;
  animation: fadeEffect 0s;
}

/*FADE EFEKT*/
  @keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/*COPYRIGHT*/
.Copyright {
  text-align: center;
  font-weight: 700;
  background-color: #ffcc99;
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
}

.Hlavny {
  margin-top: 100px;
}

/*TUČNÉ PÍSMO*/
.Pismo {
  font-weight: bold;
}

/*OBRÁZOK NA STRED*/
img {
  display: table-cell;
  vertical-align: middle;
}
</style>

</head>
<body>

<?php
/*VYPNUTIE CHÝB PHP*/
  error_reporting(0);
?>

<?php
/*PODMIENKY PREPINAČ JAZYKOV*/
$PrepinacJazykov = $_POST['Jazyk'];

  if ($PrepinacJazykov == "en") {
    $Strings = parse_ini_file("en.ini");
}
  else if ($PrepinacJazykov == "sk") {
    $Strings = parse_ini_file("sk.ini");
}
  else {
    $Strings = parse_ini_file("en.ini");
}
?>

<div class="tab">
<!--MENU-->
  <button class="TabLinks" ><img src="/../../../../../images/logo-velke.png" alt="Logo" width="90" height="32"></button>
  <button class="TabLinks" OnClick="MenuFade(event, 'JS')" id="HnedOtvorit">JS<br>a</button>
  <button class="TabLinks" OnClick="MenuFade(event, 'PHP')">PHP<br>b</button>

<?php
  echo '<form method="post">';
  echo '<button name="Jazyk" type="submit" value="sk" title="'."{$Strings["title-hlavny"]} {$Strings["sk"]}".'">SK<br>c</button>';
  echo '<button name="Jazyk" type="submit" value="en" title="'."{$Strings["title-hlavny"]} {$Strings["en"]}".'">EN<br>d</button>';
  echo '</form>';
?>
</div>

<div id="JS" class="TabContent">
<script>
/*JAVA SCRIPT KALKULAČKA*/
function KalkulackaUsporElektrickejEnergie() {

  PocetKusovZiarovka = parseFloat(document.Kalkulacka.PocetKusovLED.value);
  PocetKusovZiarovka = PocetKusovZiarovka.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("PocetKusovZiarovka").innerHTML = DesatinneMiesta(PocetKusovZiarovka);

  PrevadzkovaDobaZiarovka = parseFloat(document.Kalkulacka.PrevadzkovaDobaLED.value);
  PrevadzkovaDobaZiarovka = PrevadzkovaDobaZiarovka.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("PrevadzkovaDobaZiarovka").innerHTML = DesatinneMiesta(PrevadzkovaDobaZiarovka);

  SpotrebaRokKwhZiarovka = (parseFloat(document.Kalkulacka.PrikonZiarovka.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value) * parseFloat  (document.Kalkulacka.PrevadzkovaDobaLED.value) * parseFloat(document.Kalkulacka.PocetDni.value)) / parseFloat(document.Kalkulacka.PremenaJednotiek.value);
  SpotrebaRokKwhZiarovka = SpotrebaRokKwhZiarovka.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("SpotrebaRokKwhZiarovka").innerHTML = DesatinneMiesta(SpotrebaRokKwhZiarovka);

  SpotrebaRokEurZiarovka = parseFloat(SpotrebaRokKwhZiarovka) * parseFloat(document.Kalkulacka.Sadzba.value);
  SpotrebaRokEurZiarovka = SpotrebaRokEurZiarovka.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("SpotrebaRokEurZiarovka").innerHTML = DesatinneMiesta(SpotrebaRokEurZiarovka);

  SpotrebaRokKwhLED = (parseFloat(document.Kalkulacka.PrikonLED.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value) * parseFloat(document.Kalkulacka.PrevadzkovaDobaLED.value) *   parseFloat(document.Kalkulacka.PocetDni.value)) / parseFloat(document.Kalkulacka.PremenaJednotiek.value);
  SpotrebaRokKwhLED = SpotrebaRokKwhLED.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("SpotrebaRokKwhLED").innerHTML = DesatinneMiesta(SpotrebaRokKwhLED);

  SpotrebaRokEurLED = parseFloat(SpotrebaRokKwhLED) * parseFloat(document.Kalkulacka.Sadzba.value);
  SpotrebaRokEurLED = SpotrebaRokEurLED.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("SpotrebaRokEurLED").innerHTML = DesatinneMiesta(SpotrebaRokEurLED);

  RocnaUsporaKwh = parseFloat(SpotrebaRokKwhZiarovka) - parseFloat(SpotrebaRokKwhLED);
  RocnaUsporaKwh = RocnaUsporaKwh.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("RocnaUsporaKwh").innerHTML = DesatinneMiesta(RocnaUsporaKwh);

  RocnaUsporaEur = parseFloat(SpotrebaRokEurZiarovka) - parseFloat(SpotrebaRokEurLED);
  RocnaUsporaEur = RocnaUsporaEur.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("RocnaUsporaEur").innerHTML = DesatinneMiesta(RocnaUsporaEur);

  NavratnostInvesticie = (parseFloat(document.Kalkulacka.RozdielNakupnejCenyBezDPH.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value)) / parseFloat(RocnaUsporaEur);
  NavratnostInvesticie = NavratnostInvesticie.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("NavratnostInvesticie").innerHTML = DesatinneMiesta(NavratnostInvesticie);

  ZivotnostRokov = parseFloat(document.Kalkulacka.ZivotnostHodin.value) / (parseFloat(document.Kalkulacka.PocetDni.value) * parseFloat(document.Kalkulacka.PrevadzkovaDobaLED.value));
  ZivotnostRokov = ZivotnostRokov.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("ZivotnostRokov").innerHTML = DesatinneMiesta(ZivotnostRokov);

  UsporaPoDobuZivotnostiKwh = parseFloat(RocnaUsporaKwh) * parseFloat(ZivotnostRokov);
  UsporaPoDobuZivotnostiKwh = UsporaPoDobuZivotnostiKwh.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("UsporaPoDobuZivotnostiKwh").innerHTML = DesatinneMiesta(UsporaPoDobuZivotnostiKwh);

  UsporaPoDobuZivotnostiEur = parseFloat(RocnaUsporaEur) * parseFloat(ZivotnostRokov);
  UsporaPoDobuZivotnostiEur = UsporaPoDobuZivotnostiEur.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("UsporaPoDobuZivotnostiEur").innerHTML = DesatinneMiesta(UsporaPoDobuZivotnostiEur);

  CistyZiskPoDobuZivotnosti = parseFloat(UsporaPoDobuZivotnostiEur) - parseFloat(document.Kalkulacka.RozdielNakupnejCenyBezDPH.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value);
  CistyZiskPoDobuZivotnosti = CistyZiskPoDobuZivotnosti.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("CistyZiskPoDobuZivotnosti").innerHTML = DesatinneMiesta(CistyZiskPoDobuZivotnosti);

  RocnyVynosZInvesticie = parseFloat((CistyZiskPoDobuZivotnosti) / parseFloat(ZivotnostRokov) / (parseFloat(document.Kalkulacka.RozdielNakupnejCenyBezDPH.value) * parseFloat  (document.Kalkulacka.PocetKusovLED.value)) * 100);
  RocnyVynosZInvesticie = RocnyVynosZInvesticie.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("RocnyVynosZInvesticie").innerHTML = DesatinneMiesta(RocnyVynosZInvesticie);

  CenaDiela = parseFloat(document.Kalkulacka.RozdielNakupnejCenyBezDPH.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value);
  CenaDiela = CenaDiela.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
  document.getElementById("CenaDiela").innerHTML = DesatinneMiesta(CenaDiela);

  ZivotnostHodin = parseFloat(document.Kalkulacka.ZivotnostHodin.value);
  ZivotnostHodin = ZivotnostHodin.toFixed(0);
  document.getElementById("ZivotnostHodin").innerHTML = DesatinneMiesta(ZivotnostHodin);

  ZivotnostHodinCislo = parseFloat(document.Kalkulacka.ZivotnostHodin.value);
  ZivotnostHodinCislo = ZivotnostHodinCislo.toFixed(0);
  document.getElementById("ZivotnostHodinCislo").innerHTML = DesatinneMiesta(ZivotnostHodinCislo);

/*PODMIENKY mWh, Wh, kWh, MWh, GWh*/
var PremenaJednotiek = document.getElementById("PremenaJednotiek").value;

  if (PremenaJednotiek === "1000000000") {
    MwhWhKwhMwhGwh = "mWh";
}
  else if (PremenaJednotiek === "1000000") {
    MwhWhKwhMwhGwh = "Wh";
}
  else if (PremenaJednotiek === "1000") {
    MwhWhKwhMwhGwh = "kWh";
}
  else if (PremenaJednotiek === "1") {
    MwhWhKwhMwhGwh = "MWh";
}
  else if (PremenaJednotiek === "0,001") {
    MwhWhKwhMwhGwh = "GWh";
}
  else {
    MwhWhKwhMwhGwh = "kWh";
}
  document.getElementById("MwhWhKwhMwhGwh_1").innerHTML = MwhWhKwhMwhGwh;
  document.getElementById("MwhWhKwhMwhGwh_2").innerHTML = MwhWhKwhMwhGwh;
  document.getElementById("MwhWhKwhMwhGwh_3").innerHTML = MwhWhKwhMwhGwh;
  document.getElementById("MwhWhKwhMwhGwh_4").innerHTML = MwhWhKwhMwhGwh;
}

/*PREPÍNAČ MENU + FADE EFEKT*/
function MenuFade(evt, cityName) {

var i, TabContent, TabLinks;
TabContent = document.getElementsByClassName("TabContent");
for (i = 0; i < TabContent.length; i++) {
TabContent[i].style.display = "none";
}
TabLinks = document.getElementsByClassName("TabLinks");
for (i = 0; i < TabLinks.length; i++) {
TabLinks[i].className = TabLinks[i].className.replace(" active", "");
}
document.getElementById(cityName).style.display = "block";
evt.currentTarget.className += " active";
}

/*HNEĎ OTVORIŤ*/
document.getElementById("HnedOtvorit").click();

/*DESATINNÉ MIESTA*/
function DesatinneMiesta(num) {

return (
num
.replace(' ', '.')
.replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1 ')
)
}
</script>

<?php
/*JAVA SCRIPT SAMOTNÁ KALKULAČKA*/
echo '<form name="Kalkulacka">';
  echo '<table>';
    echo '<thead>';
      echo '<tr>';
        echo '<th>'."{$Strings["nazov"]}".'</th>';
        echo '<th>'."{$Strings["ziarovka"]}".'</th>';
        echo '<th>'."{$Strings["led-svietidlo"]}".'</th>';
        echo '<th>'."{$Strings["parameter"]}".'</th>';
        echo '<th class="Dlzka">'."{$Strings["vysvetlivky"]}".'</th>';
       echo '</tr>';
    echo '</thead>';
    echo '<tbody>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["prikon"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="PrikonZiarovka" placeholder="'."{$Strings["placeholder-prikon"]}".'" value="94" title="'."{$Strings["title-hlavny"]} {$Strings["title-prikon-ziarovka"]}".'"></td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="PrikonLED" placeholder="'."{$Strings["placeholder-prikon"]}".'" value="44" title="'."{$Strings["title-hlavny"]} {$Strings["title-prikon-led-svietidlo"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["W"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["pocet"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'" class="Hodnoty" id="PocetKusovZiarovka"></td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="PocetKusovLED" placeholder="'."{$Strings["placeholder-pocet"]}".'" value="4" title="'."{$Strings["title-hlavny"]} {$Strings["title-pocet-kusov-led-svietidlo"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["kusov"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["02"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["prevadzka"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'" class="Hodnoty" id="PrevadzkovaDobaZiarovka"></td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="PrevadzkovaDobaLED" placeholder="'."{$Strings["placeholder-prevadzka"]}".'" value="8" title="'."{$Strings["title-hlavny"]} {$Strings["title-prevadzkova-doba-led-svietidlo"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["hodin-den"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["03"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["spotreba-rok"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'" class="Hodnoty" id="SpotrebaRokKwhZiarovka"></td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'" class="Hodnoty" id="SpotrebaRokKwhLED"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'"><span id="MwhWhKwhMwhGwh_1"></span></td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["04"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["spotreba-rok"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'" class="Hodnoty" id="SpotrebaRokEurZiarovka"></td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'" class="Hodnoty" id="SpotrebaRokEurLED"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["05"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["rocna-uspora"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="RocnaUsporaKwh"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'"><span id="MwhWhKwhMwhGwh_2"></span></td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["06"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["rocna-uspora"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="RocnaUsporaEur"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["07"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["navratnost-investicie"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="NavratnostInvesticie"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["rokov"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["08"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'" >'."{$Strings["zivotnost-pri"]}".' <span id="ZivotnostHodinCislo"></span> '."{$Strings["hodin"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="ZivotnostRokov"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["rokov"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["09"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["uspora-po-dobu-zivotnosti"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="UsporaPoDobuZivotnostiKwh"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'"><span id="MwhWhKwhMwhGwh_3"></span></td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["10"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["uspora-po-dobu-zivotnosti"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="UsporaPoDobuZivotnostiEur"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["11"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["cisty-zisk-po-dobu-zivotnosti"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="CistyZiskPoDobuZivotnosti"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["12"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["rocny-vynos-z-investicie"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="RocnyVynosZInvesticie"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["percenta"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["13"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["cena-diela"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2" id="CenaDiela"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["14"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["rozdiel-nakupnej-ceny-bez-dph"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="RozdielNakupnejCenyBezDPH" placeholder="'."{$Strings["placeholder-rozdiel-nakupnej-ceny-bez-dph"]}".'" value="200" title="'."{$Strings["title-hlavny"]} {$Strings["title-rozdiel-nakupnej-ceny-bez-dph"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["pocet-dni"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="PocetDni" placeholder="'."{$Strings["placeholder-pocet-dni"]}".'" value="280" title="'."{$Strings["title-hlavny"]} {$Strings["title-pocet-dni"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["v-roku"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["sadzba"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="Sadzba" placeholder="'."{$Strings["placeholder-sadzba"]}".'" value="0.25" title="'."{$Strings["title-hlavny"]} {$Strings["title-sadzba"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["zivotnost"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="ZivotnostHodin" placeholder="'."{$Strings["placeholder-zivotnost"]}".'" value="35000" title="'."{$Strings["title-hlavny"]} {$Strings["title-zivotnost"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["hodin"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["zaokruhlovanie"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" OnKeyUp="KalkulackaUsporElektrickejEnergie()" id="Zaokruhlovanie" placeholder="'."{$Strings["placeholder-zaokruhlovanie"]}".'" value="2" title="'."{$Strings["title-hlavny"]} {$Strings["title-zaokruhlovanie"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["miesta"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["15"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["premena-jednotiek"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><select OnChange="KalkulackaUsporElektrickejEnergie()" id="PremenaJednotiek" title="'."{$Strings["title-hlavny"]} {$Strings["title-premena jednotiek"]}".'">';
          echo '<option value="" disabled="">'."{$Strings["select-premena-jednotiek"]}".'</option>';
          echo '<option value="1000000000">'."{$Strings["select-mWh"]} {$Strings["select-sipka"]} {$Strings["select-1000000000"]}".'</option>';
          echo '<option value="1000000">'."{$Strings["select-Wh"]} {$Strings["select-sipka"]} {$Strings["select-1000000"]}".'</option>';
          echo '<option value="1000" selected>'."{$Strings["select-kWh"]} {$Strings["select-sipka"]} {$Strings["select-1000"]}".'</option>';
          echo '<option value="1">'."{$Strings["select-MWh"]} {$Strings["select-sipka"]} {$Strings["select-1"]}".'</option>';
          echo '<option value="0,001">'."{$Strings["select-GWh"]} {$Strings["select-sipka"]} {$Strings["select-0,01"]}".'</option></select></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'"><span id="MwhWhKwhMwhGwh_4"></span></td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
    echo '</tbody>';
  echo '</table>';
echo '</form>';
echo '<script>KalkulackaUsporElektrickejEnergie()</script>';
?>
</div>

<div id="PHP" class="TabContent">
<?php
/*PHP SCRIPT KALKULAČKA*/
  $PocetKusovZiarovka = round($_POST['PocetKusovLED'] * 1,2);
  $PrevadzkovaDobaZiarovka = round($_POST['PrevadzkovaDobaLED'] * 1,2);
  $SpotrebaRokKwhZiarovka = round(($_POST['PrikonZiarovka'] * $_POST['PocetKusovLED'] * $_POST['PrevadzkovaDobaLED'] * $_POST['PocetDni']) / ($_POST['PremenaJednotiek'] + 0.000000000000000000001),2);
  $SpotrebaRokEurZiarovka = round($SpotrebaRokKwhZiarovka * $_POST['Sadzba'],2);
  $SpotrebaRokKwhLED = round(($_POST['PrikonLED'] * $_POST['PocetKusovLED'] * $_POST['PrevadzkovaDobaLED'] * $_POST['PocetDni']) / ($_POST['PremenaJednotiek'] + 0.000000000000000000001),2);
  $SpotrebaRokEurLED = round($SpotrebaRokKwhLED * $_POST['Sadzba'],2);
  $RocnaUsporaKwh = round($SpotrebaRokKwhZiarovka - $SpotrebaRokKwhLED,2);
  $RocnaUsporaEur = round($SpotrebaRokEurZiarovka - $SpotrebaRokEurLED,2);
  $NavratnostInvesticie = round(($_POST['RozdielNakupnejCenyBezDPH'] * $_POST['PocetKusovLED']) / ($RocnaUsporaEur + 0.000000000000000000001),2);
  $ZivotnostRokov = round($_POST['ZivotnostHodin'] / ($_POST['PocetDni'] * $_POST['PrevadzkovaDobaLED']  + 0.000000000000000000001),2);
  $UsporaPoDobuZivotnostiKwh = round($RocnaUsporaKwh * $ZivotnostRokov,2);
  $UsporaPoDobuZivotnostiEur = round($RocnaUsporaEur * $ZivotnostRokov,2);
  $CistyZiskPoDobuZivotnosti = round($UsporaPoDobuZivotnostiEur - ($_POST['RozdielNakupnejCenyBezDPH'] * $_POST['PocetKusovLED']),2);
  $RocnyVynosZInvesticie = round($CistyZiskPoDobuZivotnosti / ($ZivotnostRokov + 0.000000000000000000001) / ($_POST['RozdielNakupnejCenyBezDPH'] * $_POST['PocetKusovLED']  + 0.000000000000000000001) * 100,2);
  $CenaDiela = round($_POST['RozdielNakupnejCenyBezDPH'] * $_POST['PocetKusovLED'],2);
  $ZivotnostHodin = round($_POST['ZivotnostHodin'] * 1,0);

/*PODMIENKY mWh, Wh, kWh, MWh, GWh*/
$PremenaJednotiek = $_POST["PremenaJednotiek"];

  if ($PremenaJednotiek == "1000000000") {
    $MwhWhKwhMwhGwh = "mWh";
}
  else if ($PremenaJednotiek == "1000000") {
    $MwhWhKwhMwhGwh = "Wh";
}
  else if ($PremenaJednotiek == "1000") {
    $MwhWhKwhMwhGwh = "kWh";
}
  else if ($PremenaJednotiek == "1") {
    $MwhWhKwhMwhGwh = "MWh";
}
  else if ($PremenaJednotiek == "0,001") {
    $MwhWhKwhMwhGwh = "GWh";
}
  else {
    $MwhWhKwhMwhGwh = "kWh";
}

/*PHP SCRIPT SAMOTNÁ KALKULAČKA*/
echo '<form method="POST">';
  echo '<table>';
    echo '<thead>';
      echo '<tr>';
        echo '<th>'."{$Strings["nazov"]}".'</th>';
        echo '<th>'."{$Strings["ziarovka"]}".'</th>';
        echo '<th>'."{$Strings["led-svietidlo"]}".'</th>';
        echo '<th>'."{$Strings["parameter"]}".'</th>';
        echo '<th class="Dlzka">'."{$Strings["vysvetlivky"]}".'</th>';
      echo '</tr>';
    echo '</thead>';
    echo '<tbody>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["prikon"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'"><input type="text" name="PrikonZiarovka" placeholder="'."{$Strings["placeholder-prikon"]}".'" value="'.$_POST['PrikonZiarovka'].'" title="'."{$Strings["title-hlavny"]} {$Strings["title-prikon-ziarovka"]}".'"></td>';
echo '<td data-label="'."{$Strings["led-svietidlo"]}".'"><input type="text" name="PrikonLED" placeholder="'."{$Strings["placeholder-prikon"]}".'" value="'.$_POST['PrikonLED'].'" title="'."{$Strings["title-hlavny"]} {$Strings["title-prikon-led-svietidlo"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["W"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["pocet"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'" class="Hodnoty">'.number_format($PocetKusovZiarovka,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'"><input type="text" name="PocetKusovLED" placeholder="'."{$Strings["placeholder-pocet"]}".'" value="'.$_POST['PocetKusovLED'].'" title="'."{$Strings["title-hlavny"]} {$Strings["title-pocet-kusov-led-svietidlo"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["kusov"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["02"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["prevadzka"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'" class="Hodnoty">'.number_format($PrevadzkovaDobaZiarovka,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'"><input type="text" name="PrevadzkovaDobaLED" placeholder="'."{$Strings["placeholder-prevadzka"]}".'" value="'.$_POST['PrevadzkovaDobaLED'].'" title="'."{$Strings["title-hlavny"]} {$Strings["title-prevadzkova-doba-led-svietidlo"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["hodin-den"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["03"]}".'</td>';
      echo '</tr>';
     echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["spotreba-rok"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'" class="Hodnoty">'.number_format($SpotrebaRokKwhZiarovka,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'" class="Hodnoty">'.number_format($SpotrebaRokKwhLED,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'.$MwhWhKwhMwhGwh.'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["04"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["spotreba-rok"]}".'</td>';
        echo '<td data-label="'."{$Strings["ziarovka"]}".'" class="Hodnoty">'.number_format($SpotrebaRokEurZiarovka,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["led-svietidlo"]}".'" class="Hodnoty">'.number_format($SpotrebaRokEurLED,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["05"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["rocna-uspora"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($RocnaUsporaKwh,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'.$MwhWhKwhMwhGwh.'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["06"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["rocna-uspora"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($RocnaUsporaEur,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["07"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["navratnost-investicie"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($NavratnostInvesticie,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["rokov"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["08"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["zivotnost-pri"]}".' '.number_format($ZivotnostHodin,0,'.', ' ').' '."{$Strings["hodin"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($ZivotnostRokov,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["rokov"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["09"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["uspora-po-dobu-zivotnosti"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($UsporaPoDobuZivotnostiKwh,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'.$MwhWhKwhMwhGwh.'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["10"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["uspora-po-dobu-zivotnosti"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($UsporaPoDobuZivotnostiEur,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["11"]}".'</td>';
     echo '</tr>';
     echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["cisty-zisk-po-dobu-zivotnosti"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($CistyZiskPoDobuZivotnosti,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["12"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["rocny-vynos-z-investicie"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($RocnyVynosZInvesticie,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["percenta"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["13"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["cena-diela"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" class="Hodnoty" colspan="2">'.number_format($CenaDiela,2,'.', ' ').'</td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["14"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["rozdiel-nakupnej-ceny-bez-dph"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" name="RozdielNakupnejCenyBezDPH" placeholder="'."{$Strings["placeholder-rozdiel-nakupnej-ceny-bez-dph"]}".'" value="'.$_POST['RozdielNakupnejCenyBezDPH'].'" title="'."{$Strings["title-hlavny"]} {$Strings["title-rozdiel-nakupnej-ceny-bez-dph"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["pocet-dni"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" name="PocetDni" placeholder="'."{$Strings["placeholder-pocet-dni"]}".'" value="'.$_POST['PocetDni'].'" title="'."{$Strings["title-hlavny"]} {$Strings["title-pocet-dni"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["v-roku"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["sadzba"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" name="Sadzba" placeholder="'."{$Strings["sadzba"]}".'" value="'.$_POST['Sadzba'].'" title="'."{$Strings["title-hlavny"]} {$Strings["title-sadzba"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["eur"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["zivotnost"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" name="ZivotnostHodin" placeholder="'."{$Strings["placeholder-zivotnost"]}".'" value="'.$_POST['ZivotnostHodin'].'" title="'."{$Strings["title-hlavny"]} {$Strings["title-zivotnost"]}".'"></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["hodin"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["zaokruhlovanie"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><input type="text" name="Zaokruhlovanie" placeholder="'."{$Strings["placeholder-zaokruhlovanie"]}".'" value="2" title="'."{$Strings["title-hlavny"]} {$Strings["title-zaokruhlovanie"]}".'" disabled></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'."{$Strings["miesta"]}".'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["15"]}".'</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="'."{$Strings["nazov"]}".'">'."{$Strings["premena-jednotiek"]}".'</td>';
        echo '<td data-label="'."{$Strings["hodnota"]}".'" colspan="2"><select name="PremenaJednotiek" title="'."{$Strings["title-hlavny"]} {$Strings["title-premena jednotiek"]}".'">';
          echo '<option value="" disabled="">'."{$Strings["select-premena-jednotiek"]}".'</option>';
          echo '<option value="1000000000">'."{$Strings["select-mWh"]} {$Strings["select-sipka"]} {$Strings["select-1000000000"]}".'</option>';
          echo '<option value="1000000">'."{$Strings["select-Wh"]} {$Strings["select-sipka"]} {$Strings["select-1000000"]}".'</option>';
          echo '<option value="1000" selected>'."{$Strings["select-kWh"]} {$Strings["select-sipka"]} {$Strings["select-1000"]}".'</option>';
          echo '<option value="1">'."{$Strings["select-MWh"]} {$Strings["select-sipka"]} {$Strings["select-1"]}".'</option>';
          echo '<option value="0,001">'."{$Strings["select-GWh"]} {$Strings["select-sipka"]} {$Strings["select-0,01"]}".'</option></select></td>';
        echo '<td data-label="'."{$Strings["parameter"]}".'">'.$MwhWhKwhMwhGwh.'</td>';
        echo '<td data-label="'."{$Strings["vysvetlivky"]}".'" class="Vysvetlivky">'."{$Strings["01"]}".'</td>';
      echo '</tr>';
    echo '</tbody>';
  echo '</table>';
echo '<input type="submit" value="'."{$Strings["tlacidko-vypocet"]}".'" title="'."{$Strings["title-hlavny"]} {$Strings["tlacidko-vypocet-hodnot"]}".'">';
echo '</form>';
?>
</div>

<!--<?php
/*COPYRIGHT*/
  echo '<div class="Hlavny"></div>';
  echo '<div class="Copyright"><p><a href="https://www.palcoit.eu/" target="_blank" class="Tlacidko" title="'."{$Strings["copyright-hlavny"]}".'">PALCO IT, s.r.o. 2011 -  '.date("Y").' © All Rights Reserved<br/>'."{$Strings["copyright-slogan"]}".'</a></p></div>';
?>-->

</body>
</html>

V2 Electricity saving calculator:

<!DOCTYPE html>
<html lang="en">
<head>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
  <link rel="icon" type="image/gif" href="/../../../../../media/system/images/palcoitsro.ico">
  <meta name="robots" content="noindex, nofollow">
  <meta name="description" content="This savings calculator, when replacing the usual lighting with a more efficient production technology, will calculate consumption, savings, return, profit.">
  <meta name="keywords" content="calculator, savings, electric, energy, energy saving, savings evaluation, LED calculator, LED bulbs, light bulb, savings, electricity">
  <meta name="rights" content="Copying, reissuing or distributing the content of the site without the prior written consent of the owner is expressly prohibited.">
  <meta name="author" content="PALCO IT, s.r.o.">
  <title>V2 Electricity saving calculator - PALCO IT, s.r.o.</title>

<style>
  table {
    table-layout: fixed;
  }

  input {
    text-align: center;
  }

@media
  only screen and (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  table thead {
    clip: rect(0 0 0 0);
    overflow: hidden;
    position: absolute;
  }

  td {
    position: relative;
    padding-left: 200px;
    margin-left: 150px;
    text-align: center;
  }

  td:before {
    content: attr(data-label);
    position: absolute;
    top: 12px;
    left: 5px;
    width: 200px;
    padding-right: 40px;
    margin-left: -150px;
    text-align: left;
    font-weight: bold;
  }
}
</style>

</head>
<body>

<ul class="nav nav-pills justify-content-center card-header" id="myTab" role="tablist">
  <li class="nav-item" role="presentation">
    <button class="nav-link active" id="js-tab" data-bs-toggle="tab" data-bs-target="#js" type="button" role="tab" aria-controls="js" aria-selected="true">JS</button>
  </li>
  <li class="nav-item" role="presentation">
    <button class="nav-link" id="php-tab" data-bs-toggle="tab" data-bs-target="#php" type="button" role="tab" aria-controls="php" aria-selected="false">PHP</button>
  </li>
</ul>
<div class="tab-content" id="myTabContent">
  
<div class="tab-pane fade show active" id="js" role="tabpanel" aria-labelledby="js-tab">
<script>
  function KalkulackaUsporElektrickejEnergie() {

    PocetKusovZiarovka = parseFloat(document.Kalkulacka.PocetKusovLED.value);
    PocetKusovZiarovka = PocetKusovZiarovka.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("PocetKusovZiarovka").innerHTML = DesatinneMiesta(PocetKusovZiarovka);

    PrevadzkovaDobaZiarovka = parseFloat(document.Kalkulacka.PrevadzkovaDobaLED.value);
    PrevadzkovaDobaZiarovka = PrevadzkovaDobaZiarovka.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("PrevadzkovaDobaZiarovka").innerHTML = DesatinneMiesta(PrevadzkovaDobaZiarovka);

    SpotrebaRokKwhZiarovka = (parseFloat(document.Kalkulacka.PrikonZiarovka.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value) * parseFloat  (document.Kalkulacka.PrevadzkovaDobaLED.value) * parseFloat(document.Kalkulacka.PocetDni.value)) / 1000;
    SpotrebaRokKwhZiarovka = SpotrebaRokKwhZiarovka.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("SpotrebaRokKwhZiarovka").innerHTML = DesatinneMiesta(SpotrebaRokKwhZiarovka);

    SpotrebaRokEurZiarovka = parseFloat(SpotrebaRokKwhZiarovka) * parseFloat(document.Kalkulacka.Sadzba.value);
    SpotrebaRokEurZiarovka = SpotrebaRokEurZiarovka.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("SpotrebaRokEurZiarovka").innerHTML = DesatinneMiesta(SpotrebaRokEurZiarovka);

    SpotrebaRokKwhLED = (parseFloat(document.Kalkulacka.PrikonLED.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value) * parseFloat(document.Kalkulacka.PrevadzkovaDobaLED.value) *  parseFloat(document.Kalkulacka.PocetDni.value)) / 1000;
    SpotrebaRokKwhLED = SpotrebaRokKwhLED.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("SpotrebaRokKwhLED").innerHTML = DesatinneMiesta(SpotrebaRokKwhLED);

    SpotrebaRokEurLED = parseFloat(SpotrebaRokKwhLED) * parseFloat(document.Kalkulacka.Sadzba.value);
    SpotrebaRokEurLED = SpotrebaRokEurLED.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("SpotrebaRokEurLED").innerHTML = DesatinneMiesta(SpotrebaRokEurLED);

    RocnaUsporaKwh = parseFloat(SpotrebaRokKwhZiarovka) - parseFloat(SpotrebaRokKwhLED);
    RocnaUsporaKwh = RocnaUsporaKwh.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("RocnaUsporaKwh").innerHTML = DesatinneMiesta(RocnaUsporaKwh);

    RocnaUsporaEur = parseFloat(SpotrebaRokEurZiarovka) - parseFloat(SpotrebaRokEurLED);
    RocnaUsporaEur = RocnaUsporaEur.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("RocnaUsporaEur").innerHTML = DesatinneMiesta(RocnaUsporaEur);

    NavratnostInvesticie = (parseFloat(document.Kalkulacka.RozdielNakupnejCenyBezDPH.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value)) / parseFloat(RocnaUsporaEur);
    NavratnostInvesticie = NavratnostInvesticie.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("NavratnostInvesticie").innerHTML = DesatinneMiesta(NavratnostInvesticie);

    ZivotnostRokov = parseFloat(document.Kalkulacka.ZivotnostHodin.value) / (parseFloat(document.Kalkulacka.PocetDni.value) * parseFloat(document.Kalkulacka.PrevadzkovaDobaLED.value));
    ZivotnostRokov = ZivotnostRokov.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("ZivotnostRokov").innerHTML = DesatinneMiesta(ZivotnostRokov);

    UsporaPoDobuZivotnostiKwh = parseFloat(RocnaUsporaKwh) * parseFloat(ZivotnostRokov);
    UsporaPoDobuZivotnostiKwh = UsporaPoDobuZivotnostiKwh.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("UsporaPoDobuZivotnostiKwh").innerHTML = DesatinneMiesta(UsporaPoDobuZivotnostiKwh);

    UsporaPoDobuZivotnostiEur = parseFloat(RocnaUsporaEur) * parseFloat(ZivotnostRokov);
    UsporaPoDobuZivotnostiEur = UsporaPoDobuZivotnostiEur.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("UsporaPoDobuZivotnostiEur").innerHTML = DesatinneMiesta(UsporaPoDobuZivotnostiEur);

    CistyZiskPoDobuZivotnosti = parseFloat(UsporaPoDobuZivotnostiEur) - parseFloat(document.Kalkulacka.RozdielNakupnejCenyBezDPH.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value);
    CistyZiskPoDobuZivotnosti = CistyZiskPoDobuZivotnosti.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("CistyZiskPoDobuZivotnosti").innerHTML = DesatinneMiesta(CistyZiskPoDobuZivotnosti);

    RocnyVynosZInvesticie = parseFloat((CistyZiskPoDobuZivotnosti) / parseFloat(ZivotnostRokov) / (parseFloat(document.Kalkulacka.RozdielNakupnejCenyBezDPH.value) * parseFloat  (document.Kalkulacka.PocetKusovLED.value)) * 100);
    RocnyVynosZInvesticie = RocnyVynosZInvesticie.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("RocnyVynosZInvesticie").innerHTML = DesatinneMiesta(RocnyVynosZInvesticie);

    CenaDiela = parseFloat(document.Kalkulacka.RozdielNakupnejCenyBezDPH.value) * parseFloat(document.Kalkulacka.PocetKusovLED.value);
    CenaDiela = CenaDiela.toFixed(document.Kalkulacka.Zaokruhlovanie.value);
    document.getElementById("CenaDiela").innerHTML = DesatinneMiesta(CenaDiela);

    ZivotnostHodin = parseFloat(document.Kalkulacka.ZivotnostHodin.value);
    ZivotnostHodin = ZivotnostHodin.toFixed(0);
    document.getElementById("ZivotnostHodin").innerHTML = DesatinneMiesta(ZivotnostHodin);

    ZivotnostHodinCislo = parseFloat(document.Kalkulacka.ZivotnostHodin.value);
    ZivotnostHodinCislo = ZivotnostHodinCislo.toFixed(0);
    document.getElementById("ZivotnostHodinCislo").innerHTML = DesatinneMiesta(ZivotnostHodinCislo);

  function DesatinneMiesta(num) {
    return (
      num
        .replace(' ', '.')
        .replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1 ')
      )
    }
  }
</script>

<form name="Kalkulacka">
  <table class="table table-bordered table-striped table-hover">
    <thead>
      <tr class="alert alert-warning text-center sticky-top">
        <th>TITLE</th>
        <th>BULB</th>
        <th>LED</th>
        <th>PARAMETER</th>
      </tr>
    </thead>
    <tbody>
      <tr class="align-middle">
        <td data-label="TITLE">Power</td>
        <td data-label="BULB"><input type="text" value="94" class="form-control" placeholder="Power" id="PrikonZiarovka" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="LED"><input type="text" value="44" class="form-control" placeholder="Power" id="PrikonLED" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="PARAMETER">W</td>
      </tr>
      <tr class="align-middle">
        <td data-label="TITLE">Count</td>
        <td data-label="BULB" class="text-center" id="PocetKusovZiarovka"></td>
        <td data-label="LED"><input type="text" value="4" class="form-control" placeholder="Count" id="PocetKusovLED" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="PARAMETER">pieces</td>
      </tr>
      <tr class="align-middle">
        <td data-label="TITLE">Operation</td>
        <td data-label="BULB" class="text-center" id="PrevadzkovaDobaZiarovka"></td>
        <td data-label="LED"><input type="text" value="8" class="form-control" placeholder="Operation" id="PrevadzkovaDobaLED" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="PARAMETER">hours a day</td>
      </tr>
      <tr>
        <td data-label="TITLE">Consumption year</td>
        <td data-label="BULB" class="text-center" id="SpotrebaRokKwhZiarovka"></td>
        <td data-label="LED" class="text-center" id="SpotrebaRokKwhLED"></td>
        <td data-label="PARAMETER">kWh</td>
      </tr>
      <tr>
        <td data-label="TITLE">Consumption year</td>
        <td data-label="BULB" class="text-center" id="SpotrebaRokEurZiarovka"></td>
        <td data-label="LED" class="text-center" id="SpotrebaRokEurLED"></td>
        <td data-label="PARAMETER">eur</td>
      </tr>
      <tr>
        <td data-label="TITLE">Annual savings</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="RocnaUsporaKwh"></td>
        <td data-label="PARAMETER">kWh</td>
      </tr>
      <tr>
        <td data-label="TITLE">Annual savings</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="RocnaUsporaEur"></td>
        <td data-label="PARAMETER">eur</td>
      </tr>
      <tr>
        <td data-label="TITLE">Return on investment</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="NavratnostInvesticie"></td>
        <td data-label="PARAMETER">years</td>
      </tr>
      <tr>
        <td data-label="TITLE">Lifespan <span id="ZivotnostHodinCislo"></span> hours</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="ZivotnostRokov"></td>
        <td data-label="PARAMETER">years</td>
      </tr>
      <tr>
        <td data-label="TITLE">Lifetime savings</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="UsporaPoDobuZivotnostiKwh"></td>
        <td data-label="PARAMETER">kWh</td>
      </tr>
      <tr>
        <td data-label="TITLE">Lifetime savings</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="UsporaPoDobuZivotnostiEur"></td>
        <td data-label="PARAMETER">eur</td>
      </tr>
      <tr>
        <td data-label="TITLE">Net profit over life</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="CistyZiskPoDobuZivotnosti"></td>
        <td data-label="PARAMETER">eur</td>
      </tr>
      <tr>
        <td data-label="TITLE">Annual return on investment</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="RocnyVynosZInvesticie"></td>
        <td data-label="PARAMETER">%</td>
      </tr>
      <tr>
        <td data-label="TITLE">Price of the work</td>
        <td data-label="VALUE" colspan="2" class="text-center" id="CenaDiela"></td>
        <td data-label="PARAMETER">eur</td>
      </tr>
      <tr class="align-middle">
        <td data-label="TITLE">Purchase price difference no VAT</td>
        <td data-label="VALUE" colspan="2"><input type="text" value="200" class="form-control" placeholder="Purchase price difference no VAT" id="RozdielNakupnejCenyBezDPH" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="PARAMETER">eur</td>
      </tr>
      <tr class="align-middle">
        <td data-label="TITLE">Number of days</td>
        <td data-label="VALUE" colspan="2"><input type="text" value="280" class="form-control" placeholder="Number of days" id="PocetDni" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="PARAMETER">in years</td>
      </tr>
      <tr class="align-middle">
        <td data-label="TITLE">Rate</td>
        <td data-label="VALUE" colspan="2"><input type="text" value="0.25" class="form-control" placeholder="Rate" id="Sadzba" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="PARAMETER">eur</td>
      </tr>
      <tr class="align-middle">
        <td data-label="TITLE">Lifespan</td>
        <td data-label="VALUE" colspan="2"><input type="text" value="35000" class="form-control" placeholder="Lifespan" id="ZivotnostHodin" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="PARAMETER">hours</td>
      </tr>
      <tr class="align-middle">
        <td data-label="TITLE">Rounding</td>
        <td data-label="VALUE" colspan="2"><input type="text" value="2" class="form-control" placeholder="Rounding" id="Zaokruhlovanie" OnKeyUp="KalkulackaUsporElektrickejEnergie()"></td>
        <td data-label="PARAMETER">places</td>
      </tr>
   </tbody>
  </table>
</form>
<script>KalkulackaUsporElektrickejEnergie()</script>
</div>

<div class="tab-pane fade" id="php" role="tabpanel" aria-labelledby="php-tab">
<?php
  error_reporting(0);

  $PocetKusovZiarovka = round($_POST['PocetKusovLED'] * 1,2);
  $PrevadzkovaDobaZiarovka = round($_POST['PrevadzkovaDobaLED'] * 1,2);
  $SpotrebaRokKwhZiarovka = round(($_POST['PrikonZiarovka'] * $_POST['PocetKusovLED'] * $_POST['PrevadzkovaDobaLED'] * $_POST['PocetDni']) / 1000,2);
  $SpotrebaRokEurZiarovka = round($SpotrebaRokKwhZiarovka * $_POST['Sadzba'],2);
  $SpotrebaRokKwhLED = round(($_POST['PrikonLED'] * $_POST['PocetKusovLED'] * $_POST['PrevadzkovaDobaLED'] * $_POST['PocetDni']) / 1000,2);
  $SpotrebaRokEurLED = round($SpotrebaRokKwhLED * $_POST['Sadzba'],2);
  $RocnaUsporaKwh = round($SpotrebaRokKwhZiarovka - $SpotrebaRokKwhLED,2);
  $RocnaUsporaEur = round($SpotrebaRokEurZiarovka - $SpotrebaRokEurLED,2);
  $NavratnostInvesticie = round(($_POST['RozdielNakupnejCenyBezDPH'] * $_POST['PocetKusovLED']) / ($RocnaUsporaEur + 0.000000000000000000001),2);
  $ZivotnostRokov = round($_POST['ZivotnostHodin'] / ($_POST['PocetDni'] * $_POST['PrevadzkovaDobaLED']  + 0.000000000000000000001),2);
  $UsporaPoDobuZivotnostiKwh = round($RocnaUsporaKwh * $ZivotnostRokov,2);
  $UsporaPoDobuZivotnostiEur = round($RocnaUsporaEur * $ZivotnostRokov,2);
  $CistyZiskPoDobuZivotnosti = round($UsporaPoDobuZivotnostiEur - ($_POST['RozdielNakupnejCenyBezDPH'] * $_POST['PocetKusovLED']),2);
  $RocnyVynosZInvesticie = round($CistyZiskPoDobuZivotnosti / ($ZivotnostRokov + 0.000000000000000000001) / ($_POST['RozdielNakupnejCenyBezDPH'] * $_POST['PocetKusovLED']  + 0.000000000000000000001) * 100,2);
  $CenaDiela = round($_POST['RozdielNakupnejCenyBezDPH'] * $_POST['PocetKusovLED'],2);
  $ZivotnostHodin = round($_POST['ZivotnostHodin'],0);

echo '<form method="POST">';
  echo '<table class="table table-bordered table-striped table-hover">';
    echo '<thead>';
      echo '<tr class="alert alert-warning text-center sticky-top">';
        echo '<th>TITLE</th>';
        echo '<th>BULB</th>';
        echo '<th>LED</th>';
        echo '<th>PARAMETER</th>';
      echo '</tr>';
    echo '</thead>';
    echo '<tbody>';
      echo '<tr class="align-middle">';
        echo '<td data-label="TITLE">Power</td>';
        echo '<td data-label="BULB"><input type="text" value="'.$_POST['PrikonZiarovka'].'" class="form-control" placeholder="Power" name="PrikonZiarovka"></td>';
        echo '<td data-label="LED"><input type="text" value="'.$_POST['PrikonLED'].'" class="form-control" placeholder="Power" name="PrikonLED"></td>';
        echo '<td data-label="PARAMETER">W</td>';
      echo '</tr>';
      echo '<tr class="align-middle">';
        echo '<td data-label="TITLE">Count</td>';
        echo '<td data-label="BULB" class="text-center">'.number_format($PocetKusovZiarovka,2,'.', ' ').'</td>';
        echo '<td data-label="LED"><input type="text" value="'.$_POST['PocetKusovLED'].'" class="form-control" placeholder="Count" name="PocetKusovLED"></td>';
        echo '<td data-label="PARAMETER">pieces</td>';
      echo '</tr>';
      echo '<tr class="align-middle">';
        echo '<td data-label="TITLE">Operation</td>';
        echo '<td data-label="BULB" class="text-center">'.number_format($PrevadzkovaDobaZiarovka,2,'.', ' ').'</td>';
        echo '<td data-label="LED"><input type="text" value="'.$_POST['PrevadzkovaDobaLED'].'" class="form-control" placeholder="Operation" name="PrevadzkovaDobaLED"></td>';
        echo '<td data-label="PARAMETER">hours a day</td>';
      echo '</tr>';
     echo '<tr>';
        echo '<td data-label="TITLE">Consumption year</td>';
        echo '<td data-label="BULB" class="text-center">'.number_format($SpotrebaRokKwhZiarovka,2,'.', ' ').'</td>';
        echo '<td data-label="LED" class="text-center">'.number_format($SpotrebaRokKwhLED,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">kWh</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Consumption year</td>';
        echo '<td data-label="BULB" class="text-center">'.number_format($SpotrebaRokEurZiarovka,2,'.', ' ').'</td>';
        echo '<td data-label="LED" class="text-center">'.number_format($SpotrebaRokEurLED,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">eur</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Annual savings</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($RocnaUsporaKwh,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">kWh</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Annual savings</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($RocnaUsporaEur,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">eur</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Return on investment</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($NavratnostInvesticie,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">years</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Lifespan '.number_format($ZivotnostHodin,0,'.', ' ').' hours</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($ZivotnostRokov,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">years</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Lifetime savings</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($UsporaPoDobuZivotnostiKwh,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">kWh</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Lifetime savings</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($UsporaPoDobuZivotnostiEur,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">eur</td>';
     echo '</tr>';
     echo '<tr>';
        echo '<td data-label="TITLE">Net profit over life</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($CistyZiskPoDobuZivotnosti,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">eur</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Annual return on investment</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($RocnyVynosZInvesticie,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">%</td>';
      echo '</tr>';
      echo '<tr>';
        echo '<td data-label="TITLE">Price of the work</td>';
        echo '<td data-label="VALUE" colspan="2" class="text-center">'.number_format($CenaDiela,2,'.', ' ').'</td>';
        echo '<td data-label="PARAMETER">eur</td>';
      echo '</tr>';
      echo '<tr class="align-middle">';
        echo '<td data-label="TITLE">Purchase price difference no VAT</td>';
        echo '<td data-label="VALUE" colspan="2"><input type="text" value="'.$_POST['RozdielNakupnejCenyBezDPH'].'" class="form-control" placeholder="Purchase price difference no VAT" name="RozdielNakupnejCenyBezDPH"></td>';
        echo '<td data-label="PARAMETER">eur</td>';
      echo '</tr>';
      echo '<tr class="align-middle">';
        echo '<td data-label="TITLE">Number of days</td>';
        echo '<td data-label="VALUE" colspan="2"><input type="text" value="'.$_POST['PocetDni'].'" class="form-control" placeholder="Number of days" name="PocetDni"></td>';
        echo '<td data-label="PARAMETER">in years</td>';
      echo '</tr>';
      echo '<tr class="align-middle">';
        echo '<td data-label="TITLE">Rate</td>';
        echo '<td data-label="VALUE" colspan="2"><input type="text" value="'.$_POST['Sadzba'].'" class="form-control" placeholder="Rate" name="Sadzba"></td>';
        echo '<td data-label="PARAMETER">eur</td>';
      echo '</tr>';
      echo '<tr class="align-middle">';
        echo '<td data-label="TITLE">Lifespan</td>';
        echo '<td data-label="VALUE" colspan="2"><input type="text" value="'.$_POST['ZivotnostHodin'].'" class="form-control" placeholder="Lifespan" name="ZivotnostHodin"></td>';
        echo '<td data-label="PARAMETER">hours</td>';
      echo '</tr>';
    echo '</tbody>';
  echo '</table>';
  echo '<input type="submit" class="btn btn-success w-100 p-3" value="C A L C U L A T I O N">';
echo '</form>';
?>
  </div>
</div>

</body>
</html>

V3 Electricity saving calculator:

<!DOCTYPE html>
<html lang="en">
<head>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
  <link rel="icon" type="image/gif" href="/../../../../../media/system/images/palcoitsro.ico">
  <meta name="robots" content="noindex, nofollow">
  <meta name="description" content="This savings calculator, when replacing the usual lighting with a more efficient production technology, will calculate consumption, savings, return, profit.">
  <meta name="keywords" content="calculator, savings, electric, energy, energy saving, savings evaluation, LED calculator, LED bulbs, light bulb, savings, electricity">
  <meta name="rights" content="Copying, reissuing or distributing the content of the site without the prior written consent of the owner is expressly prohibited.">
  <meta name="author" content="PALCO IT, s.r.o.">
  <title>V3 Electricity saving calculator - PALCO IT, s.r.o.</title>

<style>
table {
  table-layout: fixed;
}

input {
  text-align: center;
}

@media only screen and (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    clip: rect(0 0 0 0);
    overflow: hidden;
    position: absolute;
  }

  td {
    position: relative;
    padding-left: 200px;
    margin-left: 150px;
    text-align: center;
  }

  td:before {
    content: attr(data-label);
    position: absolute;
    top: 12px;
    left: 5px;
    width: 200px;
    padding-right: 40px;
    margin-left: -150px;
    text-align: left;
    font-weight: bold;
  }
}
</style>

</head>
<body>

<script>
function Vypocet() {
  PocetKusovZiarovka = (parseFloat(PocetKusovLED.value)).toFixed(2);
  document.getElementById("PocetKusovZiarovka").innerHTML = Format(PocetKusovZiarovka);
  PrevadzkovaDobaZiarovka = (parseFloat(PrevadzkovaDobaLED.value)).toFixed(2);
  document.getElementById("PrevadzkovaDobaZiarovka").innerHTML = Format(PrevadzkovaDobaZiarovka);
  RocnaSpotrebaKwhZiarovka = (parseFloat(PrikonZiarovka.value) * parseFloat(PocetKusovLED.value) * parseFloat(PrevadzkovaDobaLED.value) * parseFloat(PocetDni.value) / 1000).toFixed(2);
  document.getElementById("RocnaSpotrebaKwhZiarovka").innerHTML = Format(RocnaSpotrebaKwhZiarovka);
  RocnaSpotrebaEurZiarovka = (parseFloat(RocnaSpotrebaKwhZiarovka) * parseFloat(Sadzba.value)).toFixed(2);
  document.getElementById("RocnaSpotrebaEurZiarovka").innerHTML = Format(RocnaSpotrebaEurZiarovka);
  RocnaSpotrebaKwhLED = (parseFloat(PrikonLED.value) * parseFloat(PocetKusovLED.value) * parseFloat(PrevadzkovaDobaLED.value) * parseFloat(PocetDni.value) / 1000).toFixed(2);
  document.getElementById("RocnaSpotrebaKwhLED").innerHTML = Format(RocnaSpotrebaKwhLED);
  RocnaSpotrebaEurLED = (parseFloat(RocnaSpotrebaKwhLED) * parseFloat(Sadzba.value)).toFixed(2);
  document.getElementById("RocnaSpotrebaEurLED").innerHTML = Format(RocnaSpotrebaEurLED);
  RocnaUsporaKwh = (parseFloat(RocnaSpotrebaKwhZiarovka) - parseFloat(RocnaSpotrebaKwhLED)).toFixed(2);
  document.getElementById("RocnaUsporaKwh").innerHTML = Format(RocnaUsporaKwh);
  RocnaUsporaEur = (parseFloat(RocnaSpotrebaEurZiarovka) - parseFloat(RocnaSpotrebaEurLED)).toFixed(2);
  document.getElementById("RocnaUsporaEur").innerHTML = Format(RocnaUsporaEur);
  NavratnostInvesticie = ((parseFloat(RozdielNakupnejCeny.value) * parseFloat(PocetKusovLED.value)) / parseFloat(RocnaUsporaEur)).toFixed(2);
  document.getElementById("NavratnostInvesticie").innerHTML = Format(NavratnostInvesticie);
  ZivotnostRokov = (parseFloat(ZivotnostHodin.value) / (parseFloat(PocetDni.value) * parseFloat(PrevadzkovaDobaLED.value))).toFixed(2);
  document.getElementById("ZivotnostRokov").innerHTML = Format(ZivotnostRokov);
  UsporaPoDobuZivotnostiKwh = (parseFloat(RocnaUsporaKwh) * parseFloat(ZivotnostRokov)).toFixed(2);
  document.getElementById("UsporaPoDobuZivotnostiKwh").innerHTML = Format(UsporaPoDobuZivotnostiKwh);
  UsporaPoDobuZivotnostiEur = (parseFloat(RocnaUsporaEur) * parseFloat(ZivotnostRokov)).toFixed(2);
  document.getElementById("UsporaPoDobuZivotnostiEur").innerHTML = Format(UsporaPoDobuZivotnostiEur);
  ZiskPoDobuZivotnosti = (parseFloat(UsporaPoDobuZivotnostiEur) - parseFloat(RozdielNakupnejCeny.value) * parseFloat(PocetKusovLED.value)).toFixed(2);
  document.getElementById("ZiskPoDobuZivotnosti").innerHTML = Format(ZiskPoDobuZivotnosti);
  RocnyVynosInvesticie = ((parseFloat((ZiskPoDobuZivotnosti) / parseFloat(ZivotnostRokov) / (parseFloat(RozdielNakupnejCeny.value) * parseFloat(PocetKusovLED.value)) * 100))).toFixed(2);
  document.getElementById("RocnyVynosInvesticie").innerHTML = Format(RocnyVynosInvesticie);
  CenaDiela = (parseFloat(RozdielNakupnejCeny.value) * parseFloat(PocetKusovLED.value)).toFixed(2);
  document.getElementById("CenaDiela").innerHTML = Format(CenaDiela);
  ZivotnostHodinCislo = parseFloat(ZivotnostHodin.value).toFixed(0);
  document.getElementById("ZivotnostHodinCislo").innerHTML = Format(ZivotnostHodinCislo);

  function Format(num) {
    return (num.replace(' ', '.').replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1 '))
  }
}
</script>

<table class="table table-bordered table-striped table-hover">
  <thead>
    <tr class="alert alert-warning sticky-top text-center">
      <th>TITLE</th>
      <th>BULB</th>
      <th>LED</th>
      <th>PARAMETER</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td data-label="TITLE">Power</td>
      <td data-label="BULB"><input type="text" value="94" class="form-control" placeholder="Power" id="PrikonZiarovka" OnKeyUp="Vypocet()"></td>
      <td data-label="LED"><input type="text" value="44" class="form-control" placeholder="Power" id="PrikonLED" OnKeyUp="Vypocet()"></td>
      <td data-label="PARAMETER">W</td>
    </tr>
    <tr>
      <td data-label="TITLE">Count</td>
      <td data-label="BULB" class="text-center" id="PocetKusovZiarovka"></td>
      <td data-label="LED"><input type="text" value="4" class="form-control" placeholder="Count" id="PocetKusovLED" OnKeyUp="Vypocet()"></td>
      <td data-label="PARAMETER">pieces</td>
    </tr>
    <tr>
      <td data-label="TITLE">Operation</td>
      <td data-label="BULB" class="text-center" id="PrevadzkovaDobaZiarovka"></td>
      <td data-label="LED"><input type="text" value="8" class="form-control" placeholder="Operation" id="PrevadzkovaDobaLED" OnKeyUp="Vypocet()"></td>
      <td data-label="PARAMETER">hours a day</td>
    </tr>
    <tr>
      <td data-label="TITLE">Annual consumption</td>
      <td data-label="BULB" class="text-center" id="RocnaSpotrebaKwhZiarovka"></td>
      <td data-label="LED" class="text-center" id="RocnaSpotrebaKwhLED"></td>
      <td data-label="PARAMETER">kWh</td>
    </tr>
    <tr>
      <td data-label="TITLE">Annual consumption</td>
      <td data-label="BULB" class="text-center" id="RocnaSpotrebaEurZiarovka"></td>
      <td data-label="LED" class="text-center" id="RocnaSpotrebaEurLED"></td>
      <td data-label="PARAMETER">eur</td>
    </tr>
    <tr>
      <td data-label="TITLE">Annual savings</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="RocnaUsporaKwh"></td>
      <td data-label="PARAMETER">kWh</td>
    </tr>
    <tr>
      <td data-label="TITLE">Annual savings</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="RocnaUsporaEur"></td>
      <td data-label="PARAMETER">eur</td>
    </tr>
    <tr>
      <td data-label="TITLE">Return on investment</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="NavratnostInvesticie"></td>
      <td data-label="PARAMETER">years</td>
    </tr>
    <tr>
      <td data-label="TITLE">Lifespan <span id="ZivotnostHodinCislo"></span> hours</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="ZivotnostRokov"></td>
      <td data-label="PARAMETER">years</td>
    </tr>
    <tr>
      <td data-label="TITLE">Lifetime savings</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="UsporaPoDobuZivotnostiKwh"></td>
      <td data-label="PARAMETER">kWh</td>
    </tr>
    <tr>
      <td data-label="TITLE">Lifetime savings</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="UsporaPoDobuZivotnostiEur"></td>
      <td data-label="PARAMETER">eur</td>
    </tr>
    <tr>
      <td data-label="TITLE">Net profit over life</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="ZiskPoDobuZivotnosti"></td>
      <td data-label="PARAMETER">eur</td>
    </tr>
    <tr>
      <td data-label="TITLE">Annual return on investment</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="RocnyVynosInvesticie"></td>
      <td data-label="PARAMETER">%</td>
    </tr>
    <tr>
      <td data-label="TITLE">Price of the work</td>
      <td data-label="VALUE" colspan="2" class="text-center" id="CenaDiela"></td>
      <td data-label="PARAMETER">eur</td>
    </tr>
    <tr>
      <td data-label="TITLE">Purchase price difference</td>
      <td data-label="VALUE" colspan="2"><input type="text" value="200" class="form-control" placeholder="Purchase price difference" id="RozdielNakupnejCeny" OnKeyUp="Vypocet()"></td>
      <td data-label="PARAMETER">eur</td>
    </tr>
    <tr>
      <td data-label="TITLE">Number of days</td>
      <td data-label="VALUE" colspan="2"><input type="text" value="280" class="form-control" placeholder="Number of days" id="PocetDni" OnKeyUp="Vypocet()"></td>
      <td data-label="PARAMETER">in years</td>
    </tr>
    <tr>
      <td data-label="TITLE">Rate</td>
      <td data-label="VALUE" colspan="2"><input type="text" value="0.25" class="form-control" placeholder="Rate" id="Sadzba" OnKeyUp="Vypocet()"></td>
      <td data-label="PARAMETER">eur</td>
    </tr>
    <tr>
      <td data-label="TITLE">Lifespan</td>
      <td data-label="VALUE" colspan="2"><input type="text" value="35000" class="form-control" placeholder="Lifespan" id="ZivotnostHodin" OnKeyUp="Vypocet()"></td>
      <td data-label="PARAMETER">hours</td>
    </tr>
  </tbody>
</table>
<script>Vypocet()</script>

</body>
</html>

Napozerateľnejšie