### Implementing new total dummy result arrays.

parent 142e52ae
 ... ... @@ -108,7 +108,10 @@ r_nTotalReserve // Results regarding solution feasibility r_qGen r_gnTotalqGen r_gTotalqGen r_qResDemand r_nTotalqResDemand r_solveStatus // Diagnostics ... ...
 ... ... @@ -110,7 +110,10 @@ Parameters // Results regarding solution feasibility r_qGen(inc_dec, grid, node, f, t) "Dummy energy generation (increase) or consumption (generation decrease) to ensure equation feasibility (MW)" r_gnTotalqGen(inc_dec, grid, node) "Total dummy energy generation/consumption in gn over the simulation (MWh)." r_gTotalqGen(inc_dec, grid) "Total dummy energy generation/consumption in g over the simulation (MWh)." r_qResDemand(restype, up_down, node, f, t) "Dummy to decrease demand for a reserve (MW)" r_nTotalqResDemand(restype, up_down, node) "Total dummy reserve provisions in n over the simulation" r_solveStatus(t, solve_info) "Information about the solve" \$ontext ... ...
 ... ... @@ -46,6 +46,13 @@ loop(m, * p_stepLengthNoReset(m, f, t) ); // END sum(ft_realizedNoReset) // Total dummy generation/consumption r_gnTotalqGen(inc_dec, gn(grid, node)) = sum(ft_realizedNoReset(f,t), + r_qGen(inc_dec, grid, node, f, t) * p_stepLengthNoReset(m, f, t) ); // END sum(ft_realizedNoReset) // Total transfer of energy between nodes r_gnnTotalTransfer(gn2n(grid, from_node, to_node)) = sum(ft_realizedNoReset(f, t), ... ... @@ -67,6 +74,13 @@ loop(m, * p_stepLengthNoReset(m, f, t) ); // END sum(ft_realizedNoReset) // Total dummy reserve provisions over the simulation r_nTotalqResDemand(restypeDirectionNode(restype, up_down, node)) = sum(ft_realizedNoReset(f, t), + r_qResDemand(restype, up_down, node, f, t) * p_stepLengthNoReset(m, f, t) ); // END sum(ft_realizedNoReset) // Total sub-unit-hours for units over the simulation r_uTotalOnline(unit) = sum(ft_realizedNoReset(f, t), ... ... @@ -105,6 +119,12 @@ r_gnTotalGenShare(gn(grid, node))\${ r_gTotalGen(grid) } = r_gnTotalGen(grid, node) / r_gTotalGen(grid); * --- Total Dummy Generation Results ------------------------------------------ // Total dummy generaion in g r_gTotalqGen(inc_dec, grid) = sum(gn(grid, node), r_gnTotalqGen(inc_dec, grid, node)); * --- Total Energy Consumption Results ---------------------------------------- // Total consumption on each gn over the simulation ... ...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!