jgulick48 / NiceHashProfitabilityCalculator

A quick GUI to monitor your profitability on NiceHash and store numbers in an sqlite db
GNU General Public License v2.0
22 stars 0 forks source link

[ER] Add electricity cost calculations #36

Closed smoochy closed 6 years ago

smoochy commented 6 years ago

In wide parts of the world electricity is not as cheap as in the US or even free.

For instance where I live I have to pay 0.02611 Euro cent per kWh.

Hence it is important for me to know, if it is more efficient to limit the GPU TDP to 65% and get a decrease in hashing power, or if it is better at 85% with increased power consumption (and electricity bill) and hash rate.

I thought of having the ability to enter the costs per kWh somewhere (or just set them in a config file for the beginning) and that the Live views of Rig Stats and of course the Exports contain calculations. In addition I need to be able to add the consumption of the rest of the mining rig (i.e. my computer has a power consumption of about 80W when running in idle modus. When I am mining with both cards and 65% TDP on each, the cards are having a consumption of 223W. But my computer in total has a consumption of 305W. Hence I need to take the 305W into calculation about efficiency.

In the live view I can see my estimated earnings and the power consumption of the cards. There it could be possible to add information about power consumption per day and costs per day.

jgulick48 commented 6 years ago

I think the best way to handle this is going to be allowing the Monitor application to set a power cost and base power amount on each individual rig. I can then update the live view to include the estimated power usage per day. One other thing I'm looking at adding is a way to track/show a recent BTC/FIAT currency conversion so that you can see dollar amounts as well. This may be a bit further in the future but I'll get the power cost and base power usage added to the Monitor app.

Converted to Jira so you can monitor progress at https://jira.threegm.com/browse/NPC-18

smoochy commented 6 years ago

I just found an article, which is dealing with efficiency. An a measurement of hashes per Watt (H/W).

This being added would also be a huge benefit.

PS: Don't forget that there also other currencies than just Dollars :)

Thanks for your effort.

jgulick48 commented 6 years ago

Yeah, this is where the raw exports will probably help in the short term. I'm going to see if I can put together a few shells that you can drop data into for easy calculations. I think I'm also going to add in logging to get the current TDP % on the cards to help out with this.

jgulick48 commented 6 years ago

As for the conversions, I was looking at adding a currency table and then record the BTC conversion rates for various currencies and so you select your currency type on the monitor and it changes how it displays in the app.

smoochy commented 6 years ago

Yes, this would be helpful. Just don't forget that auto start thingy with the monitor :)

jgulick48 commented 6 years ago

Yep, ticket already logged for that and that should be one of the first things done since its an easy to do thing.

smoochy commented 6 years ago

Sorry that came out wrong.

You said

so you select your currency type on the monitor and it changes how it displays in the app.

I meant to say, that once I have set the currency I would like to use (for me it is EUR), that should be saved and that, when I later start the monitor again, it should not ask again, but directly start the monitor app (and start monitoring) like described in https://github.com/jgulick48/NiceHashProfitabilityCalculator/issues/35

jgulick48 commented 6 years ago

Yep.

jgulick48 commented 6 years ago

This change has been released with v1.0.0.74