The goal of this lesson is to introduce the various ways of simulating loads that vary in time. The specific learning objectives are the following.
- How to model buildings.
- How to model industrial and agricultural loads.
- How to model public service loads.
There are many types of commercial buildings that can be modeled in GridLAB-D. The most common are:
- Education
- Grocery
- Healthcare
- Large office
- Restaurant
- Retail
- Small office
Buildings often use schedules to create time-varying properties. In GridLAB-D schedules are defined using the schedule
directive, which allows you to specify a time window during which a value is used. The specification of a time window is MINUTES HOURS DAYS MONTHS WEEKDAYS VALUE;
. The MINUTES
, HOURS
, DAYS
, MONTHS
, and WEEKDAYS
are specified as comma-separated values or ranges, e.g., 1,2,4-6
or *
for all allowed values. For example the following schedule specifies a daytype weekday value of 22, and a nighttime weekday and weekend value of 18.
schedule setpoint
{
* 7-17 * * 1-5 22.0;
* 18-6 * * 1-5 18.0;
* * * * 6-0 18.0;
}
Commercial building models have many parameters. For details, see the building
object documentation
There five types of residential buildings:
- Apartment
- Condo
- House
- Lodging
- Townhouse
Residential building models are like commercial buildings in that they can have many parameters. For details, see the building
object documentation
Industrial loads are identified by their NAICS code. For details on how to model industrial loads, see the industrial
object documentation
Agricultural loads can be sensitive to different weather variables from buildings. See the agricultural
object documentation for details.
Public service loads are for street lights and other public services. They are typically sensitive to daylight and rainfall. See public_service
object documentation for details.
- Add a commercial schedule and building to load 1 (see
main.glm@6
). - Add 4 residential buildings to load 2 (see
main.glm@37
). - Add an industrial load to load 4 (see
main.glm@88
). - Add an agricultural load to load 5 (see
main.glm@99
). - Add a public service load to load 6 (see
main.glm@112
). - Use the weather forecast for Denver Colorado (see
main.glm@122
).
- Place meters on all the loads added by tasks 1-5.