Rayoptix
Rayoptix is a Python library designed to run from the terminal. It facilitates the creation and evaluation of simulations for complex bifacial photovoltaic systems using ray tracing techniques. With this tool, users can define modules, set up experimental conditions, and run simulations to analyze the energy performance of these systems.
Installation
To install Rayoptix, simply run:
pip install rayoptix
Note: It is necessary to have the Radiance, bifacial_radiance, pandas, matplotlib, sutil, GPUtil, seaborn, and psutil libraries installed beforehand.
References
Ayala Pelaez, S. and Deline, C. (2020). bifacial_radiance: a Python package for modeling bifacial solar photovoltaic systems. Journal of Open Source Software, 5(50), 1865. https://doi.org/10.21105/joss.01865
Function Documentation
For more details on each of the functions in Rayoptix, please refer to the specific documentation:
- Folder Setup (
setup_folders): Allows creating and configuring folders to store simulation configurations. - Create Module (
make_module): Creates a bifacial radiance module based on CSV parameters. - Add Torque Tube (
add_torque_tube): Adds a torque tube to a bifacial radiance module. - Add Cell Module (
add_cell_module): Adds a cell module to a bifacial radiance module. - Add Omega Profile (
add_omega): Adds an omega profile to a bifacial radiance module. - Add Frame (
add_frame): Adds a frame to a bifacial radiance module. - Show Module (
show_module): Displays the current module configuration. - Read Module (
read_module): Reads and loads a module configuration file. - Compile Text (
compile_text): Compiles text data for a module configuration. - Return Material Files (
return_material_files): Returns material file paths for a bifacial radiance simulation. - Set Ground (
set_ground): Sets the ground material for the simulation. - Set 1-Axis Tracker (
set_1axis): Sets the 1-axis tracker configuration for the simulation. - Create Scene (
make_scene): Creates a scene based on CSV parameters. - Create 1-Axis Tracker Scene (
make_scene1axis): Creates a 1-axis tracker scene based on CSV parameters. - Generate OCT File (
make_oct): Generates an .oct file for the simulation. - Generate 1-Axis OCT File (
make_oct1axis): Generates an .oct file for a 1-axis tracker configuration. - Show Scene (
show_scene): Displays the scene for the simulation. - Create Custom Object (
make_customobject): Creates a custom object based on CSV parameters. - Append to Scene (
append_to_scene): Appends a custom object to the scene. - Generate Cumulative Sky (
gen_cum_sky): Generates a cumulative sky for the simulation folder. - Generate Cumulative Sky for 1-Axis Tracker (
gen_cum_sky_1axis): Generates a cumulative sky for a 1-axis tracker configuration. - Generate Daylighting Data (
gen_daylit): Generates daylighting data for a specific time index. - Manually Generate Daylighting Data (
gen_daylit_manual): Manually generates daylighting data using specified values. - Generate Daylighting Data for 1-Axis Tracker (
gen_daylit_1axis): Generates daylighting data for a 1-axis tracker configuration. - Set Weather (
set_weather): Configures the weather files for the simulation folder using parameters from a specified CSV file. - Set Module Analysis (
set_module_analysis): Configures and runs the module analysis for a bifacial radiance simulation using parameters from a specified CSV file. - Set Back Scan (
set_back_scan): Updates the back scan parameters for a bifacial radiance simulation using values from a specified CSV file. - Set Front Scan (
set_front_scan): Updates the front scan parameters for a bifacial radiance simulation using values from a specified CSV file. - Save Results (
save_results): Generates a heatmap from the results of a bifacial radiance simulation and saves it to a specified path or displays it. - Multi-Point Analysis (
multi_analysis): Runs a multi-point analysis for bifacial radiance, executing multiple analyses based on the specified sensor configuration. - Perform Analysis (
make_analysis): Performs the analysis for a bifacial radiance simulation using previously defined scan points. - Setup Analysis Object (
make_analysis_obj): Sets up the analysis object for a bifacial radiance simulation. - Get Timestamp (
get_timestamp): Retrieves a timestamp from the simulation data based on the provided time.
Each link leads to detailed documentation on how to use the corresponding commands, their options, and usage examples.
Metadata
Release files for rayoptix 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rayoptix-1.0.2.tar.gz | 24.6 kB | Without provenance | Details for rayoptix-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rayoptix-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for rayoptix-1.0.2-py3-none-any.whl |
Total release size: 53.7 kB
Release files / rayoptix-1.0.2.tar.gz
| Download URL | rayoptix-1.0.2.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74b0add09e512cef5227dfc761cb200966af0b89ebc3657a32cc6e2f01ba104c
|
|
BLAKE2b-256 checksum How to use checksums |
be6414122402c90e48bc6af763079b7f450494254fe90006ef988ed2613b9b15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / rayoptix-1.0.2-py3-none-any.whl
| Download URL | rayoptix-1.0.2-py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63686958556840cd4a2587b1172d4ebbc7e47b801dd790ace52d28374dd5384d
|
|
BLAKE2b-256 checksum How to use checksums |
9dd6afaa182324fc0c82a960aaf9e09aa1de3c3362b8f744b62cdf35a810456f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for rayoptix 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.