Skip to main content

No project description provided

Project description

Limão calculates projected direct sunlight intensities over time for arbitrary building elevations. See how direct sunlight varies throughout the year for windows at different orientations, and heights above ground level, or compare sunlight intensities for different locations.

Primarily this depends on the the building orientation, the latitude, and the time of the year, but also on occluding obstacles. Limão incorporates time and location dependent sunlight intensity projections, with digital surface and terrain maps, to determine an estimated overall intensity as a function of time.

Applications

For illumination of a wall (for example, for photovoltaic panel placement), Limão provides predicted sunlight intensities on a user-defined vertical plane in real space:

Here the intensities are averaged over the year, and the variation is mostly due to occluding buildings. The intensities over time for a single point (lat, lon, height) can also be queried:

This is useful for comparing the intensity from different directions, and the produced plots indicate the maximum and minimum intensity during daylight hours.

Installation

Either from the PyPI release

pip install limao

or the bleeding edge via GitHub

git clone git@github.com:dpohanlon/limao.git
cd limao
pip install .

Usage

Limão requires digital surface models (DSM) and digital terrain models (DTM) for the region of interest, in addition to the latitude and longitude. For the UK these are available from DEFRA (direct link), and are derived from satellite LIDAR measurements. Latitude and longitude can be obtained from Google Maps, and must correspond to a point on the DSM and DTMs.

Currently this assumes UK DSM/DTMs, as the lat/lon is converted into UK Ordnance Survey map coordinates.

Limão ships with a standalone executable and as a library - here we'll just use the command line interface. All use cases require the latitude, longitude, a DSM, and a DTM:

limao --lat 52.198 --lon 0.135 -s TL45ne_LZ_DSM_2m.tif -t TL45ne_DTM_2m.tif

By default this will just produce the intensity from the north and south on the point defined by the latitude and longitude coordinates. To produce the 2D projection, additionally pass the --proj argument, with optional horizontal and vertical extent of the surface in metres:

--proj --horizontal 20 --vertical 8

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

limao-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

limao-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file limao-0.1.0.tar.gz.

File metadata

  • Download URL: limao-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for limao-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4a17b40b4d371b57ad448a2a30b6feb5d93a8f9b517a7e128f2b591ead0fe97
MD5 651f71ae12e5273ad04ce550796a8a9e
BLAKE2b-256 02dcb08673f8981d3c8f8e043a3f0583ff29e7b570a6140fba40b86f76aaab9b

See more details on using hashes here.

File details

Details for the file limao-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: limao-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for limao-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e48116ed04a90914a13af4457130dfb59df30916a796c883a9db0f5738b5036
MD5 a30e2bb3e07865354414e0d2cea71e97
BLAKE2b-256 5e7d1210dd756ea84bcfc22f9b600e634578c73c0c77367c13aa54db9672d59a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page