Assessment of sustainability tradeoffs in renewable energy generation and additive manufacturing