A power supply system to supply electric power to a building, the power supply system comprising:
- a power-generating apparatus that supplies the building with electric power generated by using natural energy;
- a first electric storage apparatus that stores electric power generated by the power-generating apparatus and electric power supplied from an electrical grid and is capable of supplying stored electric power to the building;
- a second electric storage apparatus that has a larger capacity than the first electric storage apparatus, stores electric power generated by the power-generating apparatus and electric power supplied from the electrical grid, and is capable of supplying stored electric power to the building;
- a first controller that controls charge and discharge of the first electric storage apparatus;
- and
- a second controller that controls charge and discharge of the second electric storage apparatus,
- wherein:
- the first controller includes:
- a first scheduling portion that generates first scheduling data indicating transition of electric power to be charged and discharged from the first electric storage apparatus during a first prediction period, based on
- first demand prediction data indicating transition of electric power predicted to be consumed in the building during the first prediction period,
- first power generation prediction data indicating transition of electric power predicted to be generated in the power-generating apparatus during the first prediction period, and
- an actual measurement value of stored electricity amount of the first electric storage apparatus;
- and
- a first control portion that controls charge and discharge of the first electric storage apparatus to comply with the generated first scheduling data;
- the second controller includes:
- a second scheduling portion that generates second scheduling data indicating transition of electric power to be charged and discharged from the second electric storage apparatus during a second prediction period containing the first prediction period, based on:
- second demand prediction data indicating transition of electric power predicted to be consumed in the building during the second prediction period;
- second power generation prediction data indicating transition of electric power predicted to be generated in the power-generating apparatus during the second prediction period;
- and
- an actual measurement value of stored electricity amount of the second electric storage apparatus;
- and
- a second control portion that controls charge and discharge of the second electric storage apparatus to comply with the generated second scheduling data;
- and
- the first scheduling portion generates the first scheduling data based on the second scheduling data previously generated by the second scheduling portion.