Commit 826619ef authored by Topi Rasku's avatar Topi Rasku
Browse files

Added diagnostic result "d_capacityFactor" to better examine forecast errors.

parent e85f1432
......@@ -53,6 +53,7 @@ r_totalRealizedCost
// Diagnostics
d_cop
d_eff
d_capacityFactor
// Dummy variables for solution feasibility reasons
r_qGen
......
......@@ -85,4 +85,5 @@ Option clear = r_shutdown;
Parameters
d_cop(unit, f, t) "Coefficients of performance of conversion units"
d_eff(unit, f, t) "Efficiency of generation units using fuel"
d_capacityFactor(flow, node, f, t) "Diagnostic capacity factors (accounting for GAMS plotting error)"
;
......@@ -192,6 +192,10 @@ d_eff(uft(unit_fuel, ft_realized(f, t)))
+ 1${not sum(uFuel(unit_fuel, param_fuel, fuel), r_fuelUse(fuel, unit_fuel, f, t))}
]
;
d_capacityFactor(flow, node, fSolve(f), tActive(t))${ sum(flowUnit(flow, unit), nu(node, unit)) }
= ts_cf_(flow, node, f, t)
+ ts_cf(flow, node, f, t)${ not ts_cf_(flow, node, f, t) }
- 1e-3${ not ts_cf_(flow, node, f, t) and not ts_cf(flow, node, f, t) }
* --- Model Solve & Status ----------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment