Skip to main content

Scripts and wrappers for Solstice ray-tracing software

Project description

Introduction

This repository contains the wrappers for running the Solstice ray-tracing software.

(The development is in progress ...)

Solstice Installation

  • In Linux system (e.g. Ubuntu 16.04):
wget 'https://www.meso-star.com/projects/solstice/downloads/Solstice-0.8.2-GNU-Linux64.tar.gz'
tar xzf ~/Solstice-0.8.2-GNU-Linux64.tar.gz
rm ~/Solstice-0.8.2-GNU-Linux64.tar.gz
  • In Windows system (e.g. Windows 10, 64-bit):

    (coming soon ... )

Running the wrapper scripts in this repository

  • In Linux system (e.g. Ubuntu 16.04):

(1) download the repository and save it in the Solstice directory, e.g.

~/Solstice-0.8.2-GNU-Linux64

or clone the develop branch in the Solstice directory
git clone https://github.com/anustg/solstice-scripts.git
git checkout develop

(2) Setup the python source scripts

cd ~/Solstice-0.8.2-GNU-Linux64
sudo python setup.py install

(3) Initialisation

3.1 initialise the Solstice directory in the '.\runSolstice\run.py' Python script
cd ~/Solstice-0.8.2-GNU-Linux64/runSolstice
gedit run.py
Set the 'solstice_dir' = 'your Solstice directory'

3.2 Define the simulation case
gedit set_case.py
The set_case.py is the script that initialises the Solstice directory, casefolder, detailed parameters of the case: (I) the sun, (II) the field, (III) the target  

-- the example case is a solar tower system, including a heliostat field and a billboard receiver       

-- the example parameters are the case C1.1 in Wang et al., 2019 (in progress), for verification purposes

-- users are welcome to define their own test cases by changing these parameters

(4) Run

python run.py

(5) Visualise the results in Paraview, e.g.

~/ParaView-5.6.0-MPI-Linux-64bit/bin/paraview 

Reference

  • Solstice: https://www.meso-star.com/projects/solstice/solstice.html
  • Wang, Y., Potter, D., Asselineau, C.-A., Corsi, C., Wagner, M., Caliot, C., Piaud, B., Blanco, M., Kim, J.-S., Pye, J., 2019. Verification of Optical Modeling on Sunshape and Surface Slope Error. Solar Energy – in progress

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

solsticepy-0.1.6.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solsticepy-0.1.6-py2-none-any.whl (38.4 kB view details)

Uploaded Python 2

File details

Details for the file solsticepy-0.1.6.tar.gz.

File metadata

  • Download URL: solsticepy-0.1.6.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for solsticepy-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cf6bdb188a668bc1d0924b137cc6f2473694b046a203e08ecd2e454bde23d175
MD5 227a831c001d090dfc3571edadb8066f
BLAKE2b-256 23b8ceff15cae27882550aa7e71db85a792e6de0a1e8b03a8486a2e1cb1802a5

See more details on using hashes here.

File details

Details for the file solsticepy-0.1.6-py2-none-any.whl.

File metadata

  • Download URL: solsticepy-0.1.6-py2-none-any.whl
  • Upload date:
  • Size: 38.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for solsticepy-0.1.6-py2-none-any.whl
Algorithm Hash digest
SHA256 c7521aa9f4a27c1c4d5b85752c5436433fec8f66bc340ed47ac1626f0ca9d10f
MD5 b2ed6fcccb9957ca3d80d57b4b259af4
BLAKE2b-256 9f0f766fc7b1baf4e2b5cb2ced9fbf89c1bcf1a1c0fdb8bc2e34f7d2f10abb95

See more details on using hashes here.

Supported by

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