Skip to main content

UBC Solar Physics

Documentation Status

UBC Solar's physics and environment models for simulating our groundbreaking solar cars.

The API is currently unstable, and backwards compatibility may not be maintained.

Requirements

Versions indicated are recommended

  • Git 1
  • Python >=3.10 2
  • Rustc >=1.79.0 3
  • Cargo >=1.79.0 4

Installation

First, clone this repository.

git clone https://github.com/UBC-Solar/physics.git

Then, create and activate a virtual environment. Next, install dependencies in editable mode.

pip3 install -e .

Getting Started

Example of calculating solar arrays produced energy

from physics.models.arrays import BasicArray
import numpy as np

efficiency = 0.25  # 25.0% efficient
panel_size = 4.0   # 4.0m^2 of panels
tick = 1.0         # 1.0s interval

arrays = BasicArray(panel_efficiency=efficiency, panel_size=panel_size)

irradiance = np.full([5], 400.0)  # 10 seconds of 400.0W/m^2 irradiance

solar_power_produced = arrays.calculate_produced_energy(solar_irradiance=irradiance, tick=tick)

assert np.array_equal(solar_power_produced, np.array([400.0, 400.0, 400.0, 400.0, 400.0]))

Appendix

  1. use git --version to verify version ↩

  2. use python3 --version to verify version ↩

  3. use rustc --version to verify version ↩

  4. use cargo --version to verify version ↩

Metadata

Release files for ubc-solar-physics 1.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ubc-solar-physics 1.9.3
File Size Uploaded Provenance Actions
ubc_solar_physics-1.9.3.tar.gz 22.5 MB Without provenance Details for ubc_solar_physics-1.9.3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for ubc-solar-physics 1.9.3
File Actions
ubc_solar_physics-1.9.3-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for ubc_solar_physics-1.9.3-cp313-cp313-win_amd64.whl
ubc_solar_physics-1.9.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for ubc_solar_physics-1.9.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ubc_solar_physics-1.9.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for ubc_solar_physics-1.9.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
ubc_solar_physics-1.9.3-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for ubc_solar_physics-1.9.3-cp313-cp313-macosx_11_0_arm64.whl
ubc_solar_physics-1.9.3-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for ubc_solar_physics-1.9.3-cp313-cp313-macosx_10_13_x86_64.whl
ubc_solar_physics-1.9.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ubc_solar_physics-1.9.3-cp312-cp312-win_amd64.whl
ubc_solar_physics-1.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for ubc_solar_physics-1.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ubc_solar_physics-1.9.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for ubc_solar_physics-1.9.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
ubc_solar_physics-1.9.3-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for ubc_solar_physics-1.9.3-cp312-cp312-macosx_11_0_arm64.whl
ubc_solar_physics-1.9.3-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details for ubc_solar_physics-1.9.3-cp312-cp312-macosx_10_12_x86_64.whl
ubc_solar_physics-1.9.3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ubc_solar_physics-1.9.3-cp311-cp311-win_amd64.whl
ubc_solar_physics-1.9.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for ubc_solar_physics-1.9.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ubc_solar_physics-1.9.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for ubc_solar_physics-1.9.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
ubc_solar_physics-1.9.3-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for ubc_solar_physics-1.9.3-cp311-cp311-macosx_11_0_arm64.whl
ubc_solar_physics-1.9.3-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details for ubc_solar_physics-1.9.3-cp311-cp311-macosx_10_12_x86_64.whl
ubc_solar_physics-1.9.3-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for ubc_solar_physics-1.9.3-cp310-cp310-win_amd64.whl
ubc_solar_physics-1.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for ubc_solar_physics-1.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ubc_solar_physics-1.9.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for ubc_solar_physics-1.9.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
ubc_solar_physics-1.9.3-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for ubc_solar_physics-1.9.3-cp310-cp310-macosx_11_0_arm64.whl
ubc_solar_physics-1.9.3-cp310-cp310-macosx_10_12_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.12+ x86-64 Details for ubc_solar_physics-1.9.3-cp310-cp310-macosx_10_12_x86_64.whl

Total release size: 29.8 MB

Release files / ubc_solar_physics-1.9.3.tar.gz

Download URL ubc_solar_physics-1.9.3.tar.gz
Size 22.5 MB
Tags Source
SHA-256 checksum
How to use checksums
f7d910e6df5816496bc0b67e1845c3679f3e905238ad41f07c54d37280183c5c
BLAKE2b-256 checksum
How to use checksums
c19a86ac5467cdf76f0de4b57bb834474cc6747e154879d6e4c86c5dc3eb57a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp313-cp313-win_amd64.whl

Download URL ubc_solar_physics-1.9.3-cp313-cp313-win_amd64.whl
Size 268.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
579eefa68f0c234ccda8ddd9b5838c1ae5d1c43deb2f877a5dd03d1a4c3cd49f
BLAKE2b-256 checksum
How to use checksums
e1ffb5b1102e7a40ad80d22f649b68051c1203e82abf68b99eb0cee0dabc0486
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ubc_solar_physics-1.9.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 413.4 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
abd2e4f5c005f136eaedbe391e9b9eacb62620053a225dbfa6eb36c60041d83b
BLAKE2b-256 checksum
How to use checksums
d6c578524964c45f9c2c819835bec40a6d9f0b0c033dd1fb6df86d89b40bf5e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL ubc_solar_physics-1.9.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 402.9 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
739a64efbb562ea1eaad9bb149c92791b661b526b04821d1cc702e91861bed92
BLAKE2b-256 checksum
How to use checksums
d2c61a347ef83ba54c4896865b184f47e10a28a5a44f292b30429f4bec676277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp313-cp313-macosx_11_0_arm64.whl

Download URL ubc_solar_physics-1.9.3-cp313-cp313-macosx_11_0_arm64.whl
Size 368.9 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
029c56c1c55a1cb7afd62b13257c30ce78db5916014624458711898db5ac8796
BLAKE2b-256 checksum
How to use checksums
6464581d2c1e3d03e5de2816a05a87f2aee7e0524aa678ac37c05d0d66302159
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp313-cp313-macosx_10_13_x86_64.whl

Download URL ubc_solar_physics-1.9.3-cp313-cp313-macosx_10_13_x86_64.whl
Size 373.9 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
9737bb68453d9630b7d1acb19e5010b4556d748ae015a0a9cf3ef422edf5338c
BLAKE2b-256 checksum
How to use checksums
e9e2e499528cd92c6100848e73e9226c780825d1a8dfdf570196695596eecd1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp312-cp312-win_amd64.whl

Download URL ubc_solar_physics-1.9.3-cp312-cp312-win_amd64.whl
Size 268.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f1e085d2fe9e5719a9441d249183ab392cb613f6d8a180fa9f9b93dbfc308cd1
BLAKE2b-256 checksum
How to use checksums
e75e51473c0d4b38d4278ab86be4e9be84c6472f208e7dd2a74c70a13f1ac1e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ubc_solar_physics-1.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 413.4 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2af9cd6ddd3da90f4da646d8c36c62f4920e61dec3b317735938c93e72e4e229
BLAKE2b-256 checksum
How to use checksums
d85e3c332294b6108dfac8bcf887c905e70adce88331ae23f056f6c4eb5924df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL ubc_solar_physics-1.9.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 402.9 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
55a0313a9e029cda1cb530ecdecb59edb131eb4587e536b39b1d52bbb6ab325f
BLAKE2b-256 checksum
How to use checksums
a27b1f39c8e27e170a5516e2849a7ab0352fb0e9d112876d07d34d1354b85aaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp312-cp312-macosx_11_0_arm64.whl

Download URL ubc_solar_physics-1.9.3-cp312-cp312-macosx_11_0_arm64.whl
Size 368.9 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7248b01f31742938f6341308c27c6c6f220213d1bf41f8466ff37245837ff9e9
BLAKE2b-256 checksum
How to use checksums
74cf7be16707e5ae0736bbf4d1e86d8a6283dc21d2157c46d288b1022bb377ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp312-cp312-macosx_10_12_x86_64.whl

Download URL ubc_solar_physics-1.9.3-cp312-cp312-macosx_10_12_x86_64.whl
Size 373.9 kB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e5cd4848cfb9e87e01bfb63e3e06323b4a7e853e75a49e4969ed04a17be3d34f
BLAKE2b-256 checksum
How to use checksums
11817290f65c98655512337f6020c186cc1d25605e11d0000644354cccd5b663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp311-cp311-win_amd64.whl

Download URL ubc_solar_physics-1.9.3-cp311-cp311-win_amd64.whl
Size 269.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a1d2be4fc7317be387f2a8aa0a411b61892e26b5378721c72316aed08101c251
BLAKE2b-256 checksum
How to use checksums
942243a32938c75334cbf0ca613e555bd497d1cbcf45bc7a681644f9c6e9147f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ubc_solar_physics-1.9.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 413.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9219cf035609f80b4936fc03a22f332c9c0db26acf87a65710cb1b37b23bd58f
BLAKE2b-256 checksum
How to use checksums
7d7257859bb359aba1f9458c323abb5833173d677949e3962bf2b30a6d283a5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL ubc_solar_physics-1.9.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 403.7 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
2e8af4e458711454300196ff80d5e685b92f07b1868a51f527dea624308ad64a
BLAKE2b-256 checksum
How to use checksums
611a47b50c1189e86d40fb191b898124878e0c3e0992d9887afd4c95e9eadce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp311-cp311-macosx_11_0_arm64.whl

Download URL ubc_solar_physics-1.9.3-cp311-cp311-macosx_11_0_arm64.whl
Size 369.0 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9a96b2f761830e2f06829bb0684d117c7153e04593629e3bcde93565ccd1cfb1
BLAKE2b-256 checksum
How to use checksums
5e5c38a2bbd4692b381c18443ab9180726364a5c620e72b2e30107ab2f59dd52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp311-cp311-macosx_10_12_x86_64.whl

Download URL ubc_solar_physics-1.9.3-cp311-cp311-macosx_10_12_x86_64.whl
Size 375.2 kB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e6dc5a7d888eed6519106d27c63470ac83c7b87d81adc0528a02dca551babf98
BLAKE2b-256 checksum
How to use checksums
2f1fa5c670feb7c357eb2de094b0ef75abaa912038c73ecc0e1b8ed7bf7a0706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp310-cp310-win_amd64.whl

Download URL ubc_solar_physics-1.9.3-cp310-cp310-win_amd64.whl
Size 268.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
5340d79749e826d49066521791d1bcfbca1dffb121f82720425c94ee3cc11d18
BLAKE2b-256 checksum
How to use checksums
041158b33ef3f57f52aad332c0d856645cd9d67db1b7690e29d536040d1c4cf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ubc_solar_physics-1.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 413.2 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7f3889dabf2c71111c343aa0ca3f82d36a5f0e6c40e5847d0ab79110ed18ea14
BLAKE2b-256 checksum
How to use checksums
1f392591445a6ca7f8d83bd0460f9288e94ea2b1e913843b9b0a5b315af81fb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL ubc_solar_physics-1.9.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 403.6 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
20d89b5bac0618a9b738fd5193ff1c71f60e8e438c733796be8b20aa3d5e3bd3
BLAKE2b-256 checksum
How to use checksums
be8d213a8219eed08fd30991e841a60e6fe367df5930b79338375cb34cbad383
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.22

Release files / ubc_solar_physics-1.9.3-cp310-cp310-macosx_11_0_arm64.whl

Download URL ubc_solar_physics-1.9.3-cp310-cp310-macosx_11_0_arm64.whl
Size 368.7 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7f05c0442d18ba5dd6532232ffa53f4fd27dd1d55f90a3fd5473113e16581140
BLAKE2b-256 checksum
How to use checksums
32f572ea72944a7155e9e90a86896bab7fb6a9eaaaaf6460979d1b7c594cd7c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / ubc_solar_physics-1.9.3-cp310-cp310-macosx_10_12_x86_64.whl

Download URL ubc_solar_physics-1.9.3-cp310-cp310-macosx_10_12_x86_64.whl
Size 374.4 kB
Tags CPython 3.10 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
2d88e44677f9395d93a2e8f06a8002c673074f393e09c68ba341fb06baabc1b4
BLAKE2b-256 checksum
How to use checksums
b445ade044611a7847a8745b0a8d45e0e18f5e9f9cda8430a6da6b907bdff168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Security for ubc-solar-physics 1.9.3

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.

Release history Release notifications | RSS feed

This release

1.9.3 This release

21 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page