Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 2.24 KB

README.md

File metadata and controls

32 lines (20 loc) · 2.24 KB

Simulation

Lesson 8 - Exporting Data

The tape module recorder object is used to record data from an object. The object must specify the file name, the sampling interval, and the object properties to be sampled.

The tape module can output CSV files with a single header line using the csv_header_type module variable using the NAME option.

Output data can be plotted using the plot subcommand. The plot is run when the simulation exits successfully with exit code 0 using the #on_exit macro.

Tasks

  1. Setup the building schedule (see main.glm@6).
  2. Import the tape module (see main.glm@16).
  3. Add the commercial building to load_1 (see main.glm@22).
  4. Add the data recorder to the building (see main.glm@45).
  5. Get and load the weather forecast (see main.glm@54).
  6. Set the simulation clock (see main.glm@58).
  7. Plot the load when the simulation exits successfully (see main.glm@66).

Exercices

  1. Plot the load of a residential building on load 2.

More Information

Next Lesson