Create Javascript Counter from a Formula

Closed

Description

The formula for calculating its value is through an equation of the type:

Value = A x (T-T0) + B

Where

B is a constant supplied by us, which corresponds to saving the time value T0 (for example the 0 hour 1/Jan/2012) in kWh

A is a constant supplied by us, which corresponds to the current rate of savings in kWh / h, ie kW.

T0 is a constant supplied by us, which corresponds to the time of counting time, for example the 0 hour 1/Jan/2012.

T is the time in hours from the time T0 which must be calculated by Francis each refresh counter.

I'll give you an example of the calculation of these constants, considering the 1418 LEDs that were installed at traffic lights in Jul/2011 (PPEC 2009-2010).

These LEDs generate savings of 470 MWh / year compared to incandescent lamps that were replaced.

So now saved half a year in 2011, then on 1/Jan/2012 electricity savings of 235,000 kWh was already. Then:

B = 235,000 kWh

 As a year has 8760 h, then the rate of savings is [url removed, login to view] kW (470 000 kWh / 8760 h). Then:

A = [url removed, login to view] kWh / s

Now imagine that the meter was already running, what is the value this Monday by 10 am, Francis would have to submit?

The day is 316 days since 12/Nov/2012 1/Jan/2012, and we will add 10 hours. Thus no. seconds is 24 * 315 = 10h + = 7570 hours

Value = [url removed, login to view] x 7570 + 235000 = 641130.5 kWh

For that value of A, 1 kWh will pass on the counter every 67 seconds.

The values ??of A, B and T0 would be provided by us at Francis with a periodicity set, or, ideally, you were empowered to enter these values ??on the site.

Naturally we have previously set the report justifying technically these 3 values ??and should always be available for consultation. I would say that a click on the counter was open that document.

The conversion to CO2 or € is always very confusing because the relationship to the kWh is always vary. In CO2 due to the importance of renewables, due to increases in €.

Skills: Javascript, PHP, Software Architecture, Website Design

See more: mwh, 8760, what is javascript, javascript what is, jan francis, A B, francis, electricity meter, create 5 to 10 seconds, Counter, counter php, nov 2013, php report create, php meter, javascript calculating days, hour meter, running counter, hour counter, counter time, electricity saving, counter counting, formula equation, php add equation, time refresh javascript, javascript set value

Project ID: #4147806

6 freelancers are bidding on average $46 for this job

toinnisfree

quick pro help. ftp and milestone required.

$85 USD in 1 day
(531 Reviews)
7.8
esafeguard

Ready to start. Regards.

$60 USD in 2 days
(7 Reviews)
3.9
guitarhead

Dear Sir/Madam My name is Duane Scarlett and I have 6 years of experience in Web and Mobile Development. The technologies I use are Html 5, CSS 3, C, C++, PHP, MySql, Javascript, Java and Python, along with those More

$40 USD in 10 days
(5 Reviews)
3.5
krishnadubey

Hello, I'll be happy to create java script counter formula within a couple hours. Regards, Krishna

$30 USD in 1 day
(9 Reviews)
3.1
deepanker70

I am an experienced Web developer

$30 USD in 3 days
(4 Reviews)
2.9
tamarachl

Hello m2d, i am professional web-developer and i hope to be usefull for you :) Please see example in PM.

$30 USD in 1 day
(0 Reviews)
0.0