Describe the bug
The battery does not appear to charge from the fuel cell during grid outages. Seems similar to #977.
To Reproduce
Steps to reproduce the behavior:
-
Create a new Fuel Cell, Commercial case
-
Change fuel cell unit nameplate to 50 kW
-
Enable the battery
-
Set battery dispatch to "input grid power targets" with monthly values all set to 0
-
Enable "battery can charge from fuel cell"
-
Simulate
-
View "Electricity to battery from fuel cell (kW)" output:

-
Go to Grid Outage, set "Critical load percent of electric load" to 100%
-
Set the Grid outage array to 1 in all 8760 time steps.
-
Simulate, and compare new "Electricity to battery from fuel cell (kW)" output with previous (note Y-axis is very small):

-
Also note that the fuel cell operates continuously, despite electricity appearing to not go to the grid, load, or battery:

Expected behavior
The battery should be able to charge from the fuel cell during grid outages. Results should be similar to a grid power target of 0 and no outage.
Screenshots
If applicable, add screenshots to help explain your problem.
Operating System and Version
- OS: Windows
- Version: 2021.12.2 r2
Describe the bug
The battery does not appear to charge from the fuel cell during grid outages. Seems similar to #977.
To Reproduce
Steps to reproduce the behavior:
Create a new Fuel Cell, Commercial case
Change fuel cell unit nameplate to 50 kW
Enable the battery
Set battery dispatch to "input grid power targets" with monthly values all set to 0
Enable "battery can charge from fuel cell"
Simulate
View "Electricity to battery from fuel cell (kW)" output:

Go to Grid Outage, set "Critical load percent of electric load" to 100%
Set the Grid outage array to 1 in all 8760 time steps.
Simulate, and compare new "Electricity to battery from fuel cell (kW)" output with previous (note Y-axis is very small):

Also note that the fuel cell operates continuously, despite electricity appearing to not go to the grid, load, or battery:

Expected behavior
The battery should be able to charge from the fuel cell during grid outages. Results should be similar to a grid power target of 0 and no outage.
Screenshots
If applicable, add screenshots to help explain your problem.
Operating System and Version