Commit 85188ad1 authored by Topi Rasku's avatar Topi Rasku
Browse files

More output, this time total startup and shutdown counts.

parent 8d1f9d24
......@@ -87,6 +87,10 @@ r_shutdown
r_uTotalOnline
r_uTotalOnlinePerUnit
// Interesting unit startup and shutdown results
r_uTotalStartup
r_uTotalShutdown
* --- Reserve Provision Result Symbols ----------------------------------------
// Reserve provision results required for model structure !!!!!!!!!!!!!!!!!!!!!
......
......@@ -89,6 +89,10 @@ Parameters
r_uTotalOnline(unit) "Total online sub-unit-hours of units over the simulation"
r_uTotalOnlinePerUnit(unit) "Total unit online hours per sub-unit over the simulation"
// Interesting unit startup and shutdown results
r_uTotalStartup(unit, starttype) "Number of sub-unit startups over the simulation"
r_uTotalShutdown(unit) "Number of sub-unit shutdowns over the simulation"
* --- Reserve Provision Results -----------------------------------------------
// Reserve provision results required for model structure
......
......@@ -182,4 +182,17 @@ r_uTotalOnlinePerUnit(unit)${ p_unit(unit, 'unitCount') }
= r_uTotalOnline(unit)
/ p_unit(unit, 'unitCount');
// Total sub-unit startups over the simulation
r_uTotalStartup(unit, starttype)
= sum(ft_realizedNoReset(f, t),
+ r_startup(unit, starttype, f, t)
); // END sum(ft_realizedNoReset)
// Total sub-unit shutdowns over the simulation
r_uTotalShutdown(unit)
= sum(ft_realizedNoReset(f, t),
+ r_shutdown(unit, f, t)
); // END sum(ft_realizedNoReset)
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