Coder Social home page Coder Social logo

csd-library's People

Contributors

jamiembright avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

csd-library's Issues

Misaligned timestamps in sample_data.mat?

The 10th column is a Matlab timestamp. It appears to me that these timestamps aren't aligned with the data either in local or UTC time.

to recreate:

load('sample_data.mat')
plot(data(1:1200, 10), data(1:1200, 2))
datetick('x')
grid on
xlabel('Time')
ylabel('GHI clear')

example_data_ghi_clear_timestamp_not_aligned

Criteria 1 limit in BrightSun2020CSDs.m

The calculation of c1_lim appears different than described in the JRSE paper.

z = (20:0.01:90)';
% produce a linearly spaced correction factor as proposed by Larraneta
% 2017. Note that they used three fixed bins whereas we smooth this
% through interpolation
c1_lim = flip([linspace(BrightSunCriteria.ghi_c1_big_zenith,BrightSunCriteria.ghi_c1_mean_diff,find(z==zenith_turn_around))';...
linspace(BrightSunCriteria.ghi_c1_mean_diff,BrightSunCriteria.ghi_c1_small_zenith,length(z)-find(z==zenith_turn_around))']);

This calculation produces c1_lim that has a break at zenith=80, rather than at zenith_turn_around = 30 as described in Table 3 of the paper.

>> plot(z, c1_lim)
>> xlabel('z')
>> ylabel('c1\_lim')

c1_lim_no_flip

Should there be a flipud(z) in the function somewhere? Flipping z produces the right picture:

>> plot(flipud(z), c1_lim)
>> xlabel('z')
>> ylabel('c1\_lim')

c1_lim_flip_z

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.