Metadata-Version: 2.1
Name: KlucherModelSDas
Version: 1.0.1
Summary: Simulator for Klucher Model
Home-page: https://github.com/SubhayanDas08/KlucherModelSimuator_Package
Author: Subhayan Das
Author-email: nips.subhayan@gmail.com
License: MIT
Keywords: klucher,solar,simulator
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: XlsxWriter (~=1.3.7)
Provides-Extra: dev
Requires-Dist: pytest (>=3.7) ; extra == 'dev'

# Klucher Model Simulator

This is a simulation package for klucher model built on Python to calculate solar radiations on a tilted surface at a particular place for a whole year.

# Installation

Run the following  to install :

```python
pip install XlsxWriter
pip install KlucherModelSDas
```

## Usage

```python
from KlucherModelSDas import klucher
```

#### Generate Data for Any Year:

klucher(*year*, *latitude_of_the_place*, *tilt_angle*, *azimuth_angle*, *interval_of_time_in_minutes*)`



## Customizing Klucher Model

To install Klucher Model Simulator, along with the tools you need to develop and run tests, run the following in your virtualenv:

```bash
$pip install -e .[dev]
```

## Example

### Generating Data for 2020, Latitude: 25.58, Tilt Angle: 10 deg, Azimuth Angle: -51 deg and Interval of 15 minutes

```
from KlucherModelSDas import klucher

klucher(2020, 28.58, 10, -51, 15)
```

This creates an excel sheet named 'data.xlsx':

![](image/README/1611088978209.png)

### Notations

```
n :day of the year
hra :hour angle
dec :declination angle
tilt :tilt angle
azi :azimuth angle
cosQ :angle of incidence of solar radiation
cosQz :zenith angle
F :correction coefficient

Ig :Hourly Global Radiation
Ib :Hourly Beam Radiation
Id :Hourly Diffused Radiation
It :Solar Radiation on Tilted Surface
```


CHANGE LOG
**********

1.0.1 (20/01/2021)
-----------------
-FIRST RELEASE

