Перейти к содержимому
Hub Nexus

Автора пока нетВзять себе

Версия 3Обновлено 3 мин чтения

Поддержка

SAMA (Solar Alone Multi-objective Advisor) is an open-source (GNU GPL v3) energy system optimizer and analyzer. It is mainly concentrated on stand-alone, off-grid, solar photovoltaic (PV)-based renewable energy systems, and it also allows hybrid systems for locations that need a form of non-battery backup generation. Users can find the optimum size of a hybrid energy system for their property.

SAMA logo without typography

SAMA logo (Seyyed Ali Sadat on Appropedia, CC BY-SA 4.0).

What it does

From an electric load profile and meteorological data (irradiation, temperature and wind speed), SAMA finds the optimum size of a hybrid energy system for a property, and the user gets economic data for the optimal system. It is written in Python 3.9 with NumPy, Numba, time, pandas, math, matplotlib and seaborn. The tool is described in a paper by Seyyed Ali Sadat, Jonathan Takahashi and Joshua M. Pearce in Energy Conversion and Management 298 (2023), article 117686.

Its optimization is a swarm-based algorithm, run from the file pso.py. By default it runs for up to 200 iterations with a swarm of 50 particles, and the simulated system's lifetime is 25 years. With one setting the only objective is the net present cost; with another, the objectives are net present cost and levelized emissions. Constraints include a maximum acceptable loss of power supply probability and a minimum share of renewable energy.

Running it

The page describes the current version as plain Python code, with a web tool and application with a user interface planned. The newest version is on the project's GitHub repository, and a user manual describes the back end.

  1. Get the input data. Hourly electrical load data for a year (8,760 values) for U.S. cities can be downloaded from the NREL library on OpenEI; its values go into Eload.csv in the content folder. Meteorological data for any location in the world come from NREL's National Solar Radiation Database (NSRDB), saved as METEO.csv. The time interval must be 60 minutes, and all meteorological data fields should be downloaded. Other inputs, including costs, are set in Input_Data.py.
  2. Run it. Open pso.py in a Python environment such as PyCharm and run it, after installing the required packages.

What you can define

InputOptions
Electrical loadNine ways: a CSV file, monthly hourly or daily averages, monthly totals, a generic profile, or an annual hourly average, daily average or total
IrradianceA built-in plane-of-array calculator that uses the weather file, tilt, azimuth and soiling losses, or a CSV file (soiling is then not applied)
Temperature and wind speedSimulated from the weather data, read from a CSV file, given as monthly averages, or a single annual average
ComponentsPV, wind turbine, diesel generator, battery and grid, each switched on or off; net metering with credits reconciled after 12 months
Technical parametersPanel derating and efficiency, turbine hub height and cut-in, rated and cut-out speeds, diesel fuel curve and emissions, battery state of charge limits, round-trip efficiency and lifetime, inverter and charger lifetimes
CostsTop-down pricing, which breaks PV system costs down from NREL PV cost benchmarks, or bottom-up pricing, where each piece of equipment gets its capital, replacement and maintenance cost
Utility ratesFlat, seasonal, monthly, tiered, seasonal tiered, monthly tiered or time-of-use buying prices, with monthly service charges flat or tiered
Selling to the gridA flat rate, a monthly rate, or the same rate as buying, with limits on hourly purchases and sales and emission factors for grid power

Sources

  • Appropedia contributors, Solar Alone Multi-objective Advisor (SAMA), licensed under CC BY-SA 4.0. Logo by Seyyed Ali Sadat, CC BY-SA 4.0. Changed here: rewritten in hubnx's own words and shortened, with the parameter-by-parameter listing, code defaults and related links left out; this page stays under CC BY-SA 4.0.
  • Seyyed Ali Sadat, Jonathan Takahashi and Joshua M. Pearce, A Free and open-source microgrid optimization tool: SAMA the solar alone Multi-Objective Advisor, Energy Conversion and Management 298, 2023, 117686, https://doi.org/10.1016/j.enconman.2023.117686.

Комментарии

Spinner Logo

Ещё на тему «Природа»

Автор: Hub Nexus Nomad
From the glowing waves of the ocean to fireflies lighting up the night sky, bioluminescence is one of nature’s most mesmerizing phenomena. This article dives into the science behind bioluminescence, its role in nature, and how this glowing phenomenon has inspired both innovation and awe in the human world.
CC0 1.0 (общественное достояние)
From a Networking Event to a Seed Study: Tracking Eelgrass Flowers in Barnegat Bay
CC0 1.0 (общественное достояние)
What Ohio gets from being mapped by laser
CC0 1.0 (общественное достояние)
Delta 2020 Intensifies into a Major Hurricane
CC0 1.0 (общественное достояние)
Florence Finch