{"id":22672743,"url":"https://github.com/jimlynchcodes/capacity-testing-sieve-stack","last_synced_at":"2025-03-29T11:42:50.813Z","repository":{"id":181540257,"uuid":"666933273","full_name":"JimLynchCodes/capacity-testing-sieve-stack","owner":"JimLynchCodes","description":"Math stuff for measuring solar panel performance. 📊","archived":false,"fork":false,"pushed_at":"2023-10-01T03:43:52.000Z","size":189,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T12:01:40.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JimLynchCodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-16T04:39:25.000Z","updated_at":"2023-07-17T15:29:30.000Z","dependencies_parsed_at":"2025-02-04T12:01:19.367Z","dependency_job_id":"47c39d3e-2f80-481a-97ca-ee3418e3261b","html_url":"https://github.com/JimLynchCodes/capacity-testing-sieve-stack","commit_stats":null,"previous_names":["jimlynchcodes/photovoltaic-capacity-testing","jimlynchcodes/capacity-testing-sieve-stack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2Fcapacity-testing-sieve-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2Fcapacity-testing-sieve-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2Fcapacity-testing-sieve-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2Fcapacity-testing-sieve-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JimLynchCodes","download_url":"https://codeload.github.com/JimLynchCodes/capacity-testing-sieve-stack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246180891,"owners_count":20736459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T16:21:17.256Z","updated_at":"2025-03-29T11:42:50.410Z","avatar_url":"https://github.com/JimLynchCodes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Capacity Testing Data Point Sieve Stack\n\nA function that filters data points for ASTM 2848-13 capacity and performance ratio tests!\n\n\u003cbr/\u003e\n\n\u003cimg src=\"./Capacity-Testing-Sieve-Stack-Diagram.jpg\"\u003e\n\n\u003cbr/\u003e\n\n## What's Here\n\nCustom Types:\n\n- CapacityTestDataPoint: All the input data from observed weather, numbers from the models, and timestamp.\n\nFunctions:\n\n- send_through_sieve_stack: Takes a collection of one or more CapacityTestDataPoints and returns the subset of data points that should be used for the capacity performance ratio tests.\n\n\u003cbr/\u003e\n\n## Inputs\nThe CapacityTestDataPoint represents all the inputs needed for the send_through_sieve_stack logic. This includes:\n\n- Raw data from the PVSYST model:\n    1. Global Horizontal (GHI) irradiance\n    2. Ambient temperature\n    3. Wind speed\n    4. Correction factors (relevant to calculate plane of array (POA) irradiance)\n    5. Timestamp\n\n-  Climate and performance data from your data acquisition system:\n    1. Temperature\n    2. Wind speed\n    3. Plane of array (POA) irradiance\n    4. Timestamp\n\n\u003cbr/\u003e\n\n## Filtering Logic\n\nThis is roughly how the sieve stack decides which data points keep and which to filter out.\n\n- 50 / 15-minute points (huh?)\n- Exclude data below 400w/m2 \n- Exclude data above the clipping point of the inverter \n- Reporting condition POA should be sorted in a +/-20% range \n\n- Temperature sorting requirements?\n\n- Wind sorting requirements?\n\n- Exclusions applied \"because they do not correlate with the performance\"? \n\n\u003cbr/\u003e\n\n## Running The Code\n\nSteps for running the Rust code here.\n\n\u003cbr/\u003e\n\n### 0) Install \nThe command line tool _\"cargo\"_ is used for this Rust project. It can be easily installed on linux, mac, and windows via [rustup](https://rustup.rs/).\n\n\u003cbr/\u003e\n\n### 1) Run Unit Tests \nThe unit tests are sets of inputs and expected filtered outputs for different situations in order to check that send_through_sieve_stack function correctly sieves in all cases.\n```sh\ncargo test\n```\n\n\u003cbr/\u003e\n\n### 2) Run Locally\nAllows you to run the send_through_sieve_stack function with your own custom input data points and inspect the result.\n\nFirst, edit the `input_data_points.cvs` file with your desired custom input data.\n\nThen run the start command:\n```\ncargo start\n```\n\n\u003cbr/\u003e\n\n### 3) Deploy?\nDeploy the \"send_through_sieve_stack\" function and a Rust _library_ so that it can be used... somewhere else?\n\n\u003cbr/\u003e\n\n## More Info On ASTM E2848 Capacity Testing\n\n- [ASTM E2848 Capacity Test For Beginners Blog Post](https://www.purepower.com/blog/astm-e2848-capacity-test-for-beginners)\n\n\u003cbr/\u003e\n\n## Other Possible Names\nHere are some other potential names for this project:\n\n- Sieve Stack 6000\n- Pure Sieve Stack\n- DSD Sieve Stack\n- Sievester Stallone\n- Sievezilla\n- Keanu Sieves\n- A Sieve Sieves\n- Sieve City\n- The Grim Siever\n- Savage Sieve Stack\n- Let's Sieve We Can Do This\n- New Year's Sieve Stack\n- Sieveral Names At Once\n- Sieven Spielberg\n- Sieve You Can Think Of Any!\n\n  \u003cbr/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimlynchcodes%2Fcapacity-testing-sieve-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimlynchcodes%2Fcapacity-testing-sieve-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimlynchcodes%2Fcapacity-testing-sieve-stack/lists"}