Skip to content

gridlabd-tutorials/lesson-9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulation

Lesson 9 - Importing Data

The goal of this lesson is to introduce the most direct way of importing data into the simulation while it is running. The specific learning objectives are the following.

  1. Learn how to use the player object.
  2. Learn how to loop input data.

The player read values from a CSV files and updates object based on the timestamp associated with the values. There are two formats for timestamps.

  • YYYY-MM-DD HH:MM:SS [ZZZ], which is used to specify absolute time.

  • +[DIGITS][UNIT], which is used to specify relative time. When this format is used the first timetamp must be absolute. If the loop option is used, the player data will be repeated the specified number of times.

Tasks

  1. Play load data into load 114 (see main.glm@11)
  2. Record the voltage at load 114 (see main.glm@20)
  3. Setup the clock (see main.glm@29)
  4. Generate the voltage plot (see main.glm@37)

Exercices

  1. Place meters on all the loads added by tasks 1-5.

More Information

Releases

No releases published

Packages

No packages published