This little script enables you to see when it is worth replacing an old machine with a new one. We have prefilled a few example values. Feel free to adapt to your case. Read the full blog article here green-coding.io/blog/when-to-replace-a-machine

The model calculates 15 years into the future, as we don't see any real server run any longer in production.

Old machine

New machine

and

Accumulated Emissions Over the Years

Why does the new machine not start at 0 CO2eq?
Because we calculate the total emissions over time. If you would replace the old machine the emissions have still happened so we need to add them to the sum.

The data in kg CO2e

Year Emissions Old Machine Accumulated Emissions Old Machine Emissions New Machine Accumulated Emissions New Machine

This project is brought to you by Green Coding Solutions. If you want to contribute or you found an error the code can be found on GitHub