Description
Calculate signed cost for supplied energy and a possibly negative price.
Energy prices and charges depend on energy units, demand units, standing-charge days, tariff periods and settlement sign conventions. Purchased-energy losses differ from delivered-energy fractions, and signed prices can produce negative monetary terms. Nominal battery cost allocations are supplied scenarios rather than physical aging forecasts.
Calculate signed cost for supplied energy and a possibly negative price.
When to use this tool
Use Hourly Market Negative Price Charge when you already have marketPricePerEnergy, purchasedEnergy and need to calculate signed cost for supplied energy and a possibly negative price.
How to use the tool and how it works
- Enter marketPricePerEnergy, purchasedEnergy. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signedCost, negativePrice. Inspect negativePrice before interpreting the associated values.
Require purchasedEnergy>=0; signedCost=price*energy and negativePrice=price<0.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| marketPricePerEnergy | Market Price Per Energy | Required. Finite number. |
| purchasedEnergy | Purchased Energy | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| signedCost | Signed Cost | Required. Finite number. |
| negativePrice | True whenever marketPricePerEnergy<0, including a zero-energy case with zero cost. | Required. Boolean. |
{
"input": {
"marketPricePerEnergy": -20,
"purchasedEnergy": 3
},
"output": {
"signedCost": -60,
"negativePrice": true
}
} Limitations and assumptions
- A negative price can flag true even with zero energy/cost. No market trade, fee, grid restriction or actual payment is verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Reconcile the actual meter series, tariff, contract and billing definitions for an account or market question. Use a complete cash-flow or physical-energy model when needed; a single block overlap, index ratio or supplied settlement term cannot establish actual charges or performance.
References
Similar or alternative tools
- Renewable Capture Price Discount
Calculate a capture-price gap and signed relative discount.
- PPA Settlement Price Difference
Calculate a supplied PPA price-difference settlement term.