My ecosystem has token sinks...

About this model

My ecosystem has token sinks but I’m unsure if they offset emissions. Simulate 6 monthly supply cycles and evaluate net inflation.Create a tower defense economy and combat simulation with a 30-second tick cycle. The system should model resource dependencies and combat outcomes over time.

Resources: Credits, Energy, Ore

Starting conditions: Credits = 0 Energy = 20 Ore = 0 Turrets = 0

Add a Command Center that generates 60 Credits and 20 Energy every tick.

Add Miners that consume 5 Energy per tick and produce 60 Ore per tick.

Add Power Generators that consume 60 Ore per tick and produce 15 Energy per tick.

Add Data Centers that consume 5 Energy per tick and produce 120 Credits per tick.

Add Turret construction: Turrets cost 200 Credits to build.

Add Turret upkeep: Each Turret consumes 8 Energy and 60 Credits per tick.

Add Turret damage: Each Turret produces 20 DPS (damage per second). Convert DPS into damage over time continuously.

Model enemy waves: Each tick, spawn a wave with increasing total HP using the formula: EnemyHP = BaseHP * (1 + tick * 0.15) Set BaseHP = 100 per enemy and start with 5 enemies per wave.

Aggregate total enemy HP per wave.

Combat system: Turrets deal continuous damage to EnemyHP. Calculate Time To Kill (TTK) as EnemyHP divided by total DPS.

Set TimeToReachBase = 10 seconds.

If TTK is greater than TimeToReachBase, mark as defeat. If TTK is less than TimeToReachBase, mark as success.

Track and graph over time: Credits, Energy, Ore, Turret count, Total DPS, EnemyHP, TTK, and win/lose state.

Ensure the system accounts for resource shortages: If there is not enough Energy or Credits, Turrets should not operate at full capacity. Model this as reduced effectiveness rather than full shutdown if possible.

Goal: Allow simulation of balance between economy growth, turret scaling, and enemy difficulty over multiple ticks to identify when the player loses.

"My ecosystem has token sinks..." is a public Machinations diagram shared in the Community by Daniel Zagumennyi, with 31 components.

It was created in March 2026 and last edited in March 2026.

Open the diagram in the Machinations app and press Play to watch the resources move, adjust its values to test how the system responds, or remix it to make an editable copy in My diagrams.