Commit 2644b5b5 authored by Tomi J. Lindroos's avatar Tomi J. Lindroos
Browse files

Adding a result table for gen in gnuGroups

parent 1941e334
......@@ -159,6 +159,11 @@ r_resDemandLargestInfeedUnit
r_invest
r_investTransfer
* --- Sum results for groups --------------------------------------------------
// gnTotalgen in units that belong to gnuGroups over the simulation
r_gnTotalGenGnuGroup
* --- Dummy and Diagnostic Variable Result Symbols ----------------------------
// Results regarding solution feasibility
......
......@@ -168,6 +168,11 @@ Parameters
r_invest(unit) "Number/amount of invested sub-units"
r_investTransfer(grid, node, node, t) "Amount of invested transfer link capacity"
* --- Group results -----------------------------------------------------------
// gnTotalgen in units that belong to gnuGroups over the simulation
r_gnTotalGenGnuGroup(grid, node, group) "gnTotalGen in units that belong to gnuGroup (MWh)"
* --- Dummy Variable Results --------------------------------------------------
// Results regarding solution feasibility
......
......@@ -573,6 +573,14 @@ r_uTotalShutdown(unit)
* sum(msft_realizedNoReset(m, s, f, t), p_msProbability(m, s) * p_msWeight(m, s))
); // END sum(ft_realizedNoReset)
* --- Sum results for groups --------------------------------------------------
// gnTotalgen in units that belong to gnuGroups over the simulation
r_gnTotalGenGnuGroup(grid, node, group)
= sum(unit $ {gnuGroup(grid, node, unit, group)},
+ r_gnuTotalGen(grid, node, unit)
); // END sum(unit)
* --- Diagnostic Results ------------------------------------------------------
// Only include these if '--diag=yes' given as a command line argument
......
Markdown is supported
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