EnergyPlus Co-simulation Toolbox
Description
---------------
The toolbox facilitates simultaneous simulation of EnergyPlus and Matlab (co-simulation). The main component is the mlep class containing all the necessary tools to configure and run EnergyPlus co-simulation within the Matlab environment.
System Requirements
-----------------------------
* Windows. The toolbox has only been tested for Windows, but considerable preparations for other OS has already been done.
* EnergyPlus installed. You can obtain the software here https://energyplus.net/. If you install the EnergyPlus to the default location ('C:\EnergyPlusVx-x-x') then it might be detected automatically by the toolbox.
Installation
--------
Obtain a copy of the toolbox from
* Matlab Add-on Manager
* or Mathworks File Exchange https://uk.mathworks.com/matlabcentral/fileexchange/69074-energyplus-co-simulation-toolbox
* or a GitHub repository https://github.com/dostaji4/EnergyPlus-co-simulation-toolbox/releases
and install.
Features
-----------
The toolbox contains:
* Parsing of the IDF file to determine co-simulation inputs/outputs.
* Automatic socket communication configuration (on localhost).
* Background start of the EnergyPlus process with an output to the Matlab command line.
* System Object implementation usable in Matlab & Simulink.
* Bus input/output integration for easy Simulink model setup.
Examples
-------------
See the GettingStarted.mlx guide delivered with the Matlab toolbox or the documentation residing under Help -> Supplemental Software -> EnergyPlus co-simulation toolbox
Troubleshooting
---------------------
* Always be sure that EnergyPlus itself is working. To check run "EP-Launch.exe" from the EnergyPlus installation folder and try running one of its examples (located at <EP folder>/ExampleFiles/).
* If you have issues with "EnergyPlus not found." run "setupMlep.m".
* If you have an issue with a "Vector to Bus" block not having its bus types correctly specified, run the model again. Bus objects should now be in the workspace and it should work.
Copyright (C) 2019, Jiri Dostal (jiri.dostal@cvut.cz)
All rights reserved.
This software builds on the free software by Truong Nghiem(truong@seas.upenn.edu), Willy Bernal (Willy.BernalHeredia@nrel.gov) and several other third-party open-source tools.
Citar como
Dostal, Jiri, and Tomas Baumelt. “Model Predictive Control for Buildings with Active One-Pipe Hydronic Heating.” E3S Web of Conferences, edited by S.I Tanabe et al., vol. 111, EDP Sciences, 2019, p. 04050, doi:10.1051/e3sconf/201911104050.
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Code Generation > HDL Verifier > Algorithm Verification > Simulink Cosimulation >
- FPGA, ASIC, and SoC Development > HDL Verifier > Algorithm Verification > Simulink Cosimulation >
Etiquetas
Agradecimientos
Inspirado por: dirPlus, xml2struct , with bug fix and added features, Process manager, Line-wrap a string, findPropByAttr
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
@mlep
examples/legacy_example
library
third_party/compatibility
third_party/dirPlus
third_party/findPropByAttr
third_party/linewrap
third_party/processManager
third_party/xml2struct
examples/legacy_example
library
doc
No se pueden descargar versiones que utilicen la rama predeterminada de GitHub
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.2.3.1 | added short Troubleshooting section in this description. |
|
|
1.2.3 | Updated IDF files to EnergyPlus 9.2 version.
|
|
|
1.2.2.2 | CITE THE SOURCE WHEN USING THE TOOLBOX, please. |
|
|
1.2.2.1 | * minor bug in ExternalInterface:Actuator & ExternalInterface:Variable. Working now as intended. |
|
|
1.2.2 | * updated examples to EnergyPlus version 9.1.0
|
|
|
1.2.1.1 | * corrected a bug in the setup routine. Made first time use through Simulink end in a neverending loop.
|
|
|
1.2.1 | Added better documentation |
|
|
1.2 | ### Added
|
|
|
1.1.1.2 | * compatibility issues in r18b |
|
|
1.1.1.1 | forgot to add the update binary |
|
|
1.1.1 | * using Matlab's internal JRE instead of searching for external one. |
|
|
1.1 | Added
|
|
|
1.0.3 | Adding the binary to the repository code. Hopefully, the Matlab Add-on Explorer will detect it now. |
|
|
1.0.2 | Adding further info. Mainly for manual toolbox installation (The binary is obtainable at GitHub) |
|
|
1.0.1 |
|