Quake4 / MindMiner

MindMiner - the miner manager programm with online monitoring
http://mindminer.online
GNU General Public License v3.0
110 stars 33 forks source link

Add in config option for rig_power_cost like +100W to total cost calc #329

Closed platinum4 closed 2 years ago

platinum4 commented 5 years ago

Hi,

When idle and doing nothing, rig draws 92-100W depends on CPU sort of; want to add to config rig_power_cost_offset or something so it add +100W

maybe AdditionalRigElectricityUsage: 100, or RigIdleWattage: 100

or something like that.

platinum4 commented 5 years ago
[void] SetPower([decimal] $draw, [decimal] $price) {
    $this.PowerDraw = $draw
    $this.PowerPrice = $price
    $this.Power = $price * ($draw+100) * 24 / 1024
    if ($this.AccountPower) {
        $this.Profit = $this.ProfitRaw - $this.Power;
    }
}
platinum4 commented 3 years ago

@Quake4 this is a really easy implementation if you add and make a setting in config.txt for RigIdleWattage or something similar; remember that if you add that value it will split in half if CPU/GPU is enabled so will take away all profit from CPU; add to GPU calcs only.

platinum4 commented 2 years ago

Yes, there is such a task on github.