Text this: Energy Risk Analysis With Dynamic Amplitude Estimation and Piecewise Approximate Quantum Compiling