Академический Документы
Профессиональный Документы
Культура Документы
GLM Files
GLM files describe simulations
Input files (Grid Lab Model)
Classes, objects, players, recorders and clocks
Strengths
Weaknesses
Not compatible with any other software
Power flow
Underground line, transformer, bus
Climate
Climate
Modules Completed
Climate (handles weather data)
Buildings
Commercial (single-zone office buildings)
Residential (single-family homes, washer/dryer, dishwasher, lights,
refrigerator, microwave/range, occupancy, plugs, waterheater)
Electric network
Residential Module
House (Class)
Comes with default properties intrinsic values
Floor_area(sf)
Gross_wall_area(sf)
Ceiling_ht(ft)
Dishwasher
Dryer
Freezer
Clothes washer
What is a module?
Collects classes that are related
Delivers all model functionality
Loaded on-demand
Example
Object properties
Simple value or distribution of values
Parent-child relation
Primary dependency relationship
Child is dependent on parent before parent is
dependent on child
Parent aggregates information from child
Clock
clock {
timestamp '2000-01-01 0:00:00';
timezone PST+8PDT;
}
object house:1 {
floor_area random.normal(1500,300) sf; //property
heating_setpoint 70.0 degF; //property
cooling_setpoint 76.0 degF; //property
thermostat_deadband 1.0 degF; //property
Model representation
XML Files
XML files describe models
Classes, objects, players, recorders and clocks
Strengths
Highly compatible with other software
Faithful representation of a single model instance
Weaknesses
Exercises 1.1
1. You want to get the total energy consumed by
all houses of more than 2500 sf. Which object
would you use?
2. Object A is the parent of object B. Which
object is processed first on a top-down pass?
3. What is an example of a module?
4. What is an example of an object?
5. What module would you use to write files or
read files?