Home > By category > Scripts >Development Tools > MSPA



MSPA

  • Downloads: 
  • Views: 
  • Rating:

The MATLAB function mspa is a mex interface function to the C function spa.c developed by National Renewable Energy Laboratory (NREL) for accurately computing the position of the sun on the sky.

The algorithm on which the reference implementation spa.c is based is described in the report "Solar position algorithm for solar radiation application" by Ibrahim Reda and Afshin Andreas, National Renewable Energy Laboratory (NREL) Technical report NREL/TP-560-34302, Revised January 2008.

The report is available from
http://rredc.nrel.gov/solar/codesandalgorithms/spa/
There is also a link from which the reference implementation spa.c and a corresponding spa.h file can be downloaded.

Once the zip-file in this submission is unpacked and the files spa.c and spa.h downloaded to the same directory, the mex interface function can be compiled with mex mspa.c spa.c

The calling syntax of mspa is
res = mspa( arg )
where arg is a column vector with 17 rows containing the arguments to the function spa.c, and res is a column vector containing the results of the function spa. The ordering of individual parameters in the argument follows the one described in the report, look at the file mspa_tester.m for details.

A valid argument arg can also hold multiple columns, i.e. it can be a 17 x n matrix where n > 1. If so, the result is also a matrix with equally many columns and each column of the result holds the result of the function spa evaluated for the corresponding column of the argument matrix.

Free download from Shareware Connection - The MATLAB function mspa is a mex interface function to the C function spa.c developed by National Renewable Energy Laboratory (NREL) for accurately computing the position of the sun on the sky.

Publisher: Anders Lennartsson | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 08-02-2013 | Rating: 0 | Title: MSPA

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/32507/2/mspa_r92.zip

MSPA keywords:
MSPA related downloads:

Nearest Neighbor algorithm for the Travelling Salesman Problem - The 2-column vector contains cities' coordinates

Extract solution from CPLEX .sol file - Reads a CPLEX .sol xml file and extracts the solution. Returned is the solution in form of a column vector x

Full factorial - This script is similar to fullfact, however instead of number of levels, value of levels are required as input usage: des_mat = full_fact([-1 1],[100 200 300],[1:4]); arguments: (input) x1,x2, x3- variable levels either in row or column vector.

FB512fm(LU,y) - This scrip determines the column vector 'x', given the LU decomposition of matrix 'A'.

Find optimal FIR Wiener filter for multiple inputs - MISO_FIRWIENER(N, X, Y) computes the optimal FIR Wiener filter of order N, given any number of (stationary) random input signals as the columns of matrix X, and one output signal in column vector Y

Shareware Connection periodically updates pricing and software information of 'MSPA' from company source 'Anders Lennartsson' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'MSPA' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of MSPA.

New Reviews

SnapCrab - Nearly every PC users need to take screenshots from time to time, whether it is for personal or professional needs. While using the basic Windows screenshot capture method is available, it is not adequate for everyone. When you want to capture ...

Voila - Mac users have never felt much hassle as far as image editing goes, given the fact Apple itself offers two compelling image editing suites. However, serious users may find the inbuilt screen capturing options basic, the fact they are much ahead ...

Avira Ultimate Protection Suite - With time the importance of PC security has gone up by leaps and bounds. Earlier, people used to rely on standalone antivirus software. However, security conscious users prefer having a more robust form of protection. They opt for Internet ...

RawTherapee - There are so many image editors out there but when it comes to powerful and versatile RAW file editors, the choices are somewhat limited. With Adobe switching to Cloud-based subscriptions for most of its apps, semiprofessional users including ...

Auslogics BitReplica - With storage capacity and options going up with time, PC users have got numerous options to back up their important data, whether you need to store your music, movie collection or other types of data safely, using the PC’s HDD may not be ...

NovaBench - PC performance benchmarking is something that may not interest average users much but tech savvy lot resort to such apps to find out prowess and capability of their laptops and desktops. While there are quite a few PC benchmarking apps in market, ...

PureSync Personal - When you use computers, there is no way you can escape using specialized third party software. These need to be used for various needs including office productivity, web access, taking back-up and ensuring proper synchronization across multiple ...

Quick Heal PCTuner - Performance deficit or unexpected slowdown is something most PC users are acquainted with. Even those with powerful laptops and desktops have to face these issues from time to time. A PC can run slowly when temporary files clutter the HDD or ...

TrustPort Tools - Nowadays, PC users need to deal with several types of third party apps to ensure security and privacy of data. From encrypting files to getting rid of sensitive data, the needs can be numerous. There are many such tools that can be used in this ...

Tiranium Premium Security 2014 - Antivirus or Internet security software has become a mandatory requirement for computer users, including casual users and network administrators. However, it is quite commonplace for average PC users to get a little confused when selecting a ...




New Downloads

EarCatch Ringtone Express

EarCatch Ringtone Express is
an advanced solution for
making ringtones from any
sound. It is very easy to
customize ...

Dropbox

Allow site visitors to upload
files to multiple directories
without being able to modify
or change those files. ...

Instant Position Website
Promotion

Large collection of search
engine optimization and
submission tools designed for
webmasters, site owners,
marketers or ...

WP Random Posts Widget fast
and easy

This simple plugin is a widget
that displays a list of random
posts on your widgetized
sidebar.

Optimal Distribution
Substations Placement using
Genetic Algorithm

This program uses an Excel
data file "DATA.xls" as an
input to the program. the
input file consists these
worksheets: ...

Quote Scroller for Graphics
and Animations

Quote Scroller script shows an
array of quotes flowing across
the screen at several
different speeds and colours.

DirectNet

DirectNet is a serverless
instant messaging system.

Real Number to N-digit
String

Floors a real number and
converts it to an N-digit
string

3D Peano space filling
curve

For a given level

Ajax
autosuggest/autocomplete
from database

Ajax autosuggest/autocomplete
from database helps the
visitor and presents in real
time some possible results
based on ...

MySQL backups manager

MySQL backups manager script
will make saving and restoring
your MySQL databases.

Clipping Indicator

Clipping is the main program.
There are three inputs: y is
the time record,
threshhold_value is the
clipping threshhold, ...