Framework for lighting and energy simulations
Project description
frads: Framework for lighting and energy simulation
This is the repository for frads development. frads faciliates lighting and energy simulation by calling Radiance and EnergyPlus within the Python environment. Radiance is a free and open-source, raytracing-based lighting engine that is used extensively by engineering firms for innovative solar control, lighting, and daylighting design to improve the energy efficiency of buildings. With matrix algebraic methods, climate-based annual simulations can now be conducted in less than two minutes. frads automates setup of these simulations by providing end users with an open-source, high-level abstraction of the Radiance command-line workflow (Unix toolbox model), helping to reduce the steep learning curve and associated user errors. frads also provides the necessary infrastructure needed for seamless integration of Radiance and other modeling tools, such as EnergyPlus.
Documentation
Contact/ Support
We welcome beta users of frads. Feel free to post questions and suggestions in the Discussion section of this GitHub site or contact the principal author at taoningwang@lbl.gov. Information about Radiance can be found at: https://www.radiance-online.org . The Radiance community is active and welcomes new users via the Radiance Discourse site or Unmet Hours.
Testing
frads uses Radiance tools in its implementation. Radiance models have been rigorously tested and validated using laboratory and outdoor field data, demonstrating its superior performance in delivering photometrically accurate, photorealistic results. Each Radiance commit and release is tested using the GitHub Action system. Unit tests were developed for most of the major Radiance programs. Tests are performed using Radiance radcompare, which was designed specifically to test Monte Carlo ray-tracing algorithms. Integration tests are the main type of test performed for frads commit and releases. These tests also use the GitHub Action system.
Releases
frads is a work in progress (see to-do list below). frads has been tested on the latest official release of Radiance (September 2020, v5.3) but may not have been tested on the latest HEAD release, which contains source code changes made as recently as yesterday. frads has also been tested on the latest official EnergyPlus release (> v9.3).
Installation
Before you can use frads, you need to install it.
Install Python
Being a Python based library, you'll need to install Python first. Python version 3.8 or newer is required for frads.
Get the latest version of Python at https://www.python.org/downloads/ or with your operating system’s package manager.
You can verify that Python is installed by typing python from your cmd/powershell/terminal; you should see something like:
$ python
Python 3.X.X
[GCC 4.x] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
After you have Python installed, you should have pip
command available in your shell environment as well. You can then use pip
to install frads
:
Install frads
After you have pyenergyplus installed, you can then use pip
to install frads
:
$ python -m pip install frads
Verifying
To verify that frads
can be seen by Python, type python
from your shell. Then at the Python prompt, try to import frads
>>> import frads
>>> print(frads.__version__)
1.0.0
Reference
Wang, T., "Frads: A Python Library for Radiance Simulation Control", 2021 Radiance workshop, Bilbao, Spain, August 19, 2021, ppt , voice recording
Wang, T., Ward, G., and Lee, E.S. (2021), A Python Library for Radiance Matrix-based Simulation Control and EnergyPlus Integration, Proceedings of Building Simulation 2021, International Building Performance Simulation Association, Bruges, September 1-3, 2021. Publication to be posted: pdf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file frads-1.2.10.tar.gz
.
File metadata
- Download URL: frads-1.2.10.tar.gz
- Upload date:
- Size: 613.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 512728dce87bee556746899792732a5cf9ced5d87042997c4abcb3d3049018db |
|
MD5 | b9f597a6b4afd6ec2dca770c39c6900b |
|
BLAKE2b-256 | ed12ad4ce1fc68b2eb38baf43496b3f3d28597d31a2495057dd1efdbcdc77618 |
File details
Details for the file frads-1.2.10-py3-none-any.whl
.
File metadata
- Download URL: frads-1.2.10-py3-none-any.whl
- Upload date:
- Size: 72.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eb559064ec243188798699b32d94de4a2e3dd179ddac977250d9fd48e376acc |
|
MD5 | 7708ebf1f6cb916236652656f00bd6ee |
|
BLAKE2b-256 | 956bfa6154286f884083818516f26716c15a6bd85c75e314aca27dcd64ad6cb8 |