Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Different prices per hour
#1
In a database I have real-time energy data with the consumption (kW) every minute, now I want to apply dynamic prices and thus actually first sum 60 minutes to 1 hour and then the consumption x the right price applies for that hour. Who can help me with this?
The prices are €0,20 € for the first 7 hours of the day, € 0,22 per hour for the hours 7 am – 5 pm and €0,24 for the hours 5 pm – 8 am € and € 0,22 for the hours of 8 pm till 00 am.

How can I best deal with this?
Quote
#2
First you should make an effort at writing the code.
Then we will be glad to help where you are having problems.
buran likes this post
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Bill calculator with different prices JHPythonLearner 10 791 Sep-15-2018, 12:14 AM
Last Post: volcano63

Forum Jump:


Users browsing this thread: 1 Guest(s)