Modelica Buildings library training at LBL
Schedule
Wednesday
Location: LBNL, Room 15-253
Time | Description | Downloads |
---|---|---|
8:00 | Welcome & Coffee | |
8:30 | SOEP architecture and implementation Goal: Understand how SOEP is structured, what are its key modules and how it fits into a larger ecosystem of tools. |
Slides |
10:30 | Break | |
10:45 | Principles of FMI. Goal: Understand how FMI works and how it is implemented. How to generate and test an FMU. |
Slides |
11:45 | Lunch at the cafeteria | |
12:45 | Ptolemy II. Discrete event and QSS. |
Slides |
14:00 | How to debug SOEP - when results are not plausible (FMU testing, Modelica testing) - stepping through debugger (system-level testing) |
Slides |
14:30 | Break | |
15:00 | Modelica training, following http://book.xogeny.com. Basic equations Discrete behavior Vectors and arrays Functions Packages Connectors Components Subsystems Architectures Principles of thermofluid flow modeling (stream connectors) |
Slides |
16:30 | Design of Buildings library | Slides |
17:00 | Adjourn |
Thursday
Location: LBNL, Room 15-253
Time | Description | Downloads |
---|---|---|
8:00 | Coffee | |
8:30 | Modelica Buildings library. Structure and model implementation. | Slides continue from previous day |
10:00 | Break | |
10:30 | Continue | |
11:45 | Lunch at the cafeteria | |
12:45 | Hands-on tutorials Implement air-system and hydronic heating system. Export components as FMU. |
|
15:00 | Break | |
15:30 | Continue | |
17:00 | Adjourn |
18:30 Dinner at Great China, 2190 Bancroft Way, Berkeley, CA 94704
Friday and Saturday morning will be EnergyPlus team meetings.
Pre-requisites
Java
Install a 64-bit Java Runtime Environment from Oracle.
Ptolemy II
Windows
Install Ptolemy II.
Linux
Download Ptolemy II source files.
To install and start Ptolemy II, first make sure you have ant
and a Java compiler installed. Then, type the following
After compilation, if you restart a new shell, simply type
or type $PTII/bin/vergil
to access the full functionality of Ptolemy II.
Dymola 2016
Windows
Install Dymola 2016 trial version from Dassault. The instructions to access the non-trial license for the training will be sent by email.
Install a C/C++ compiler such as Microsoft Visual Studio Express 2013 from Microsoft.
Linux
To install the Linux 64 bit version of Dymola, proceed as follows:
- Register at the link at Dassault.
- Download Dymola 64 bit.
- Follow the installation instructions.
Notes
Dymola license
Some users had the error message ‘‘Error connecting to Dymola license server’’. If this is the case, try
- to disconnect from vpn, and
- to enter the port number 27000 under ‘‘Help -> License -> Setup -> Port (optional).’’.
For the server name, please see the email from July 14 as we cannot share it publicly.
Failed compilation on Windows
Some users could not compile and simulate the example. If this is the case, try to adjust the path to your compiler under ‘‘Simulation-> Setup -> Compiler’’.
FMI files
Download and unzip the Functional Mock-up Interface training material from here.
Modelica ‘‘Buildings’’ library
To install the ‘‘Buildings’’ library version 2.1,
- download Buildings 2.1.0,
- unzip the file, and to test the installation ‘‘after’’ you updated the license as described in the email,
- open with Dymola the file
Buildings 2.1.0/package.mo
, - open the model
Buildings.Examples.Tutorial.SpaceCooling.System3
, and - select from the pull-down menu ‘‘Commands->Simulate and plot’’. This will simulate the model and generate a plot.
Site access
The workshop will be held onsite at LBNL, in the 15-253 conference room (‘'’Building 15’’’).
All attendees will automatically be added to the LBNL security access list IF THEY HAVE REGISTERED for this workshop.
BERKELEY LAB SHUTTLE SERVICE
Blue Route Shuttle:
The Berkeley Lab Blue Route shuttle runs frequently from the Downtown Berkeley BART station to the lab (Uphill). It picks up passengers from various stops in downtown Berkeley. For locations, please refer to http://www2.lbl.gov/Workplace/Facilities/Support/Busses/off-site_blue.html#sched.
Note that the lab shuttle stop closest to BART is located at the corner of Addison Street and Shattuck Avenue, on the same side as (and next to) the Bank of America.
The shuttle stops will all be marked with the Berkeley Lab shuttle bus sign.
Get off at the B52 (ALS) shuttle stop, walk down Segre Road towards Lawrence Road, turn right onto “N” Road, and follow the path all the way to Building 15. See Grid C4 on site map. Conference Room 15-253 is located on the 2nd floor.
A site Map to the location is at http://www2.lbl.gov/Workplace/lab-site-map.html.
An interactive map to the location is at http://map.lbl.gov/#UMAP_2012091840117%7CBLD_2012092167088.
For detailed information including schedules, please see LBNL Shuttle Service at http://www2.lbl.gov/Workplace/Facilities/Support/Busses/off-site_blue.html#sched, or http://www.nextbus.com/#!/lbl/blue/up/bart.
IMPORTANT: You are required to show a Shuttle Pass, along with a government issued photo ID (Drivers License or Passport) in order to access the lab.