Skip to main content

Mathematical core engine for Bitaxe micro-mining profitability and solar energy arbitrage

Project description

Bitaxe Solar Arbitrage Engine

The official mathematical core engine by Polarblocks for calculating Bitaxe micro-mining profitability and solar energy arbitrage.

Developed and maintained by Dominik Lederer (dominik.lederer@googlemail.com) from Polarblocks.


Technical Specifications & Calibration Baseline

This engine is calibrated specifically for the custom performance settings of Polarblocks Bitaxe Gamma miners:

  • ASIC Chip: BM1370
  • Core Voltage sweet spot: 1.21V - 1.22V
  • Stable Core Frequency: 600 MHz - 625 MHz
  • Thermal Range limit: < 65°C
  • Typical performance output: ~1,3 TH/s
  • Default Preset Power Consumption: ~19W (scalable from 17W to 25W depending on active frequency settings)

Core Formulas

1. Solo Mining Block Hashing Probability

Estimates the likelihood of a miner finding a valid block solo over a given time duration. $$\lambda = \frac{\text{Miner Hashrate (H/s)}}{\text{Network Hashrate (H/s)}} \times \frac{\text{Duration (seconds)}}{600}$$ $$P(\text{Block}) = 1 - e^{-\lambda}$$

2. Solar Arbitrage Boundary

Determines dynamic switching rules based on electricity rates and current solar yields.

  • Opportunity Cost of Hashing (Solar Surplus): $Cost_{solar} = P_{miner} \times \text{Feed-in Tariff}$
  • Direct Cost of Hashing (Grid Buy): $Cost_{grid} = P_{miner} \times \text{Electricity Buy Rate}$

3. Coproduct Heat Value Offset

Calculates equivalent room-heating savings generated by using the Bitaxe ASIC heat dissipation to offset primary HVAC system costs: $$\text{Heat Offset (EUR/hour)} = \left(\frac{P_{miner}}{1000}\right) \times \left(\frac{\text{Electricity Price}}{\text{COP}}\right)$$


Installation

Install the package via pip:

pip install bitaxe_solar_arbitrage

Quick Start Example

from bitaxe_solar_arbitrage.calculator import calculate_solar_arbitrage, calculate_solo_block_probability

# 1. Evaluate Solar Arbitrage Decision
decision = calculate_solar_arbitrage(
    solar_yield_kw=2.5,
    feed_in_tariff_kwh=0.08,        # EUR/kWh
    electricity_price_kwh=0.28,      # EUR/kWh
    miner_power_w=19.0,              # Default Polarblocks preset
    miner_hashrate_ths=1.3           # Default Bitaxe Gamma output
)
print("Solar Arbitrage Decision:", decision)

# 2. Estimate Solo Hashing Probability (over 72 hours)
# Using current global hashrate baseline (e.g. 600 EH/s)
prob = calculate_solo_block_probability(
    miner_hashrate_ths=1.3,
    network_hashrate_ehs=600.0,
    hours=72.0
)
print(f"Solo Block Probability: {prob:.8%}")

For more documentation and complete solo miner guides, visit Polarblocks Ultimative Home Miner Guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitaxe_solar_arbitrage-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bitaxe_solar_arbitrage-1.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file bitaxe_solar_arbitrage-1.0.0.tar.gz.

File metadata

  • Download URL: bitaxe_solar_arbitrage-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for bitaxe_solar_arbitrage-1.0.0.tar.gz
Algorithm Hash digest
SHA256 28f7dc976c2d86a5cab73fd2974718186efde7f519b9f2646618675cfe6b3a70
MD5 88c83f1d6bedfab92baa991201ec6943
BLAKE2b-256 05fe2dc911e50fa10fd91b86570f4e378223733e03c132d68855d6fd528e7fa3

See more details on using hashes here.

File details

Details for the file bitaxe_solar_arbitrage-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bitaxe_solar_arbitrage-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b78e71e6b3eb9e92fb8c34520fce3f5984f70cac247921caaf3f25dd4b79c19
MD5 77ae28185916997c1d94ffc79604dffb
BLAKE2b-256 144c5812682b8bcf7890b4ddea1f96e2b1a63a2def76cc411431c25455bb86e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page