The grid page used by stand alone battery doesn't have the grid outage input, and the resiliency calculations variable is fixed to "calculate resiliency only for outage time steps," so specifying a critical load does not result in any change to the simulation outputs. This is case 5 in the help file.
Additionally, if one attempts to specify a critical load, one gets the error:
Could not evaluate callback function:crit_load_pct->on_change
[45]: reference to unassigned variable:is_grid_outage
[45]: error: _s
[45]: error: _s
[45]: error: _s
[44]: eval error in statement list
[44]: error inside function call
[19]: eval error in statement list
There are three options to remedy this:
- Add the grid outage input and enable the resiliency calculations, bringing the code in line with pv-battery and generic battery
- Fix the resiliency calculations to "calculate for all timesteps" so that specifying a critical load triggers the resiliency runner
- Disable the inputs for critical load
The grid page used by stand alone battery doesn't have the grid outage input, and the resiliency calculations variable is fixed to "calculate resiliency only for outage time steps," so specifying a critical load does not result in any change to the simulation outputs. This is case 5 in the help file.
Additionally, if one attempts to specify a critical load, one gets the error:
Could not evaluate callback function:crit_load_pct->on_change
There are three options to remedy this: