Gridlab-D is a computer program that helps simulate how the power grid works. It can help show how electricity is generated, transmitted, and used by people. It can also help in figuring out the best ways to save energy. Gridlab-D can also be used to help with planning for an electrical grid – like deciding if new power lines are needed or where a power plant should be located.