-
Notifications
You must be signed in to change notification settings - Fork 11
Library
To access the Campus Energy Modeling Simulink library, open the Simulink library browser in MATLAB and select NREL - Campus Energy Modeling in the drop-down list.
The library contains six sections:
This wiki page summarizes the blocks available in the library. For detailed descriptions and guidance, see the Simulink block help for each block.
The Buildings library provides EnergyPlus cosimulation of buildings and thermal systems via MLE+.
| Block | Description |
|---|---|
| EnergyPlus | Simulate a building model using EnergyPlus |
The Electrical library provides source and load models for SimPowerSystems, enabling connections between an electrical distribution system model and other energy models.
| Block | Description |
|---|---|
| Constant Power Source or Load | Supply or consume constant single-phase power |
| Three-Phase Constant Power Source or Load | Supply or consume constant three-phase power |
| Measurement | Ideal three-phase voltage and current measurements |
| Power Factor Conversion | Convert from real power and power factor to real and reactive power |
The Electric Vehicles library provides block models for electric vehicles (EVs), charging stations, and supervisory controllers. The EV charging station blocks interface with SimPowerSystems.
| Block | Description |
|---|---|
| Electric Vehicle | Models an electric vechicle, including the battery |
| EV Battery | Implements a simplified model of an electric vehicle (EV) battery |
| EV Charging Supervisory Control | Models a supervisory controller for demand management of EV charging |
| AC Charging Station | Models an AC electric vehicle charging station |
| DC Charging Station | Models a DC electric vehicle charging station |
The PV library provides cosimulation of photovoltaic (PV) arrays in PVWatts via SSC and supplemental PV-related models in Simulink.
| Block | Description |
|---|---|
| PVWatts Cosimulation | Simulate a photovoltaic array using PVWatts |
| Generic Inverter | Simulate the efficiency characteristic of a generic PV inverter |
| PV Smoothing | Model the smoothing effect of a utility-scale PV array |
The Weather library provides blocks for importing weather data into Simulink.
| Block | Description |
|---|---|
| Weather Data | Import weather data from file |
The Data Acquisition library provides blocks for live data acquisition and pseudo real-time simulation.
| Block | Description |
|---|---|
| Pseudo Real-Time Clock | Enable simulation in approximately real time |