I am trying to figure out a formula that will work with different scenarios
btc stable up or down.
The formula is not that complicated. Here's a list of variables in the equation for your profit:
- Bitcoin value
- Bitcoin difficulty
Everything else is fixed.
Of course you are purposely being vague about the details of your deal which is the thing that actually sets you apart from other miners.
Let's look at this in terms of 14 day periods (about the same amount of time as a difficulty retarget period)
FixedB
i = number of Bitcoins mined per initial period (22.04 - trust me...)
t = number of hours per period (336 - trust me 'cause I'm not showing all the math)
P = power required (according to Bitmain Specs 194.922 kW) for 153 S9s
c = Cost of electricity per kWh (you know it but wont say)
d
i = Initital Difficulty (317,688,400,354)
f
p = power factor (efficiency of power supplies)
C= P*t*c/f
p total power cost for one period (this is actually fixed but you haven't told us the value for c)
VariableV
c = current value of Bitcoin
d
c = Current Difficulty
When B
i*V
c*(d
i/d
c)-C → 0; shut down the miners
That's the simplest math. If you want a more detailed analysis - you'll have to pay.