This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="font-family:sans-serif;padding:15px;background:#f5f5f5;border-radius:8px;"> | |
<h4>Interactive Spark-Spread & Break-Even Calculator</h4> | |
Power (€/MWh): <input id="p_elec" type="number" value="60" step="0.1"/><br> | |
Gas (€/MWh): <input id="p_gas" type="number" value="35.29" step="0.1"/><br> | |
EF (tCO₂/MWh): <input id="ef" type="number" value="0.404" step="0.001"/><br> | |
CO₂ Price (€/t): <input id="p_co2" type="number" value="72.79" step="0.1"/><br><br> | |
<button onclick="calc()">Calculate</button> | |
<p id="result"></p> | |
</div> | |
<script> |