Helionyx
v0.3.0Size hybrid solar PV, wind, battery, diesel and grid systems: hourly simulation, NPC ranking.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_site
Register a site (location, time zone and country pack). Returns site_id.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | WGS84 decimal degrees |
longitude * | number | WGS84 decimal degrees |
name * | string | |
country_pack | string | |
elevation_m | ||
timezone | IANA zone; default from the country pack |
fetch_resource
Get one year of hourly GHI, temperature and wind for a site, aligned to local civil time. Returns summary statistics only; the hourly series is available as a resource.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
fill_long_gaps | boolean | |
source | string | |
year | integer |
import_timeseries
Import a measured load or resource series from CSV (one year, 15/30/60-minute resolution), or extend at least four weeks of measured load to a full year.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
site_id * | string | |
base_resource_id | Resource dataset to copy other variables from | |
csv_text | CSV content; header encodes the unit, e.g. load_kw | |
extend_partial | boolean | Load only: extend 4+ weeks of timestamped data to a full year (partly synthetic) |
file_path | Path inside the Helionyx workspace | |
height_m | Anemometer height for wind data | |
monthly_kwh | ||
resolution_min | integer |
synthesize_load
Build an 8,760-hour load from pack archetypes, optionally calibrated to monthly bills.
| Parameter | Type | Description |
|---|---|---|
components * | array | Archetypes with a count, annual_kwh or peak_kw, e.g. [{archetype: 'hotel', count: 60}] |
site_id * | string | |
monthly_kwh | 12 monthly kWh values (January–December), e.g. from bills, to calibrate the profile | |
seed | integer | |
variability |
list_tariffs
Browse the tariff pack (utility, category, effective dates, export schemes).
| Parameter | Type | Description |
|---|---|---|
as_of | ||
category | ||
country_pack | string | |
utility |
get_tariff
Show a tariff's charge structure, TOU periods, export schemes, provenance and staleness warnings.
| Parameter | Type | Description |
|---|---|---|
tariff_id * | string | Revision ID (lk.ceb.H2@2025-01-01) or category ID (lk.ceb.H2) |
as_of | ||
country_pack | string |
compute_bill
Monthly and annual bill for a load with no system (baseline), or for import/export series.
| Parameter | Type | Description |
|---|---|---|
tariff_id * | string | |
country_pack | string | |
demand_peak_factor | number | |
export_id | ||
export_scheme | string | |
import_id | ||
load_id |
list_components
Browse the component library: technical parameters, costs, currency, cost year and source.
| Parameter | Type | Description |
|---|---|---|
country_pack | string | |
query | ||
type |
create_scenario
Combine site, loads, resource, grid/tariff, components and search space into a scenario. Unset fields take pack defaults; call validate_scenario next to see them.
validate_scenario
Check a scenario: errors block a run, warnings do not; assumptions list every value with its origin (user, pack_default or system_default), source and date.
| Parameter | Type | Description |
|---|---|---|
scenario_id * | string |
run_optimization
Start an asynchronous run that simulates every candidate for 8,760 hours and ranks feasible ones. Returns job_id and run_id; poll get_job_status, then call get_results.
| Parameter | Type | Description |
|---|---|---|
scenario_id * | string | |
keep_timeseries_top_n | ||
max_evaluations | integer | Heuristic budget |
solver | string | native = full enumeration; heuristic = seeded pattern search for large spaces; reopt / microgridspy / sama = external cross-check solvers |
sort_by | string | |
wait_seconds | number | 0 returns immediately; up to 20 waits and streams progress notifications |
get_job_status
Poll a job: state (queued, running, completed, failed, cancelled, interrupted), progress %, ETA, run_id.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
wait_seconds | number |
cancel_job
Cancel a queued or running job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
get_results
Ranked feasible designs with sizes and key metrics, the base case, provenance and disclaimer. The full table is the resource hnx://runs/{run_id}/results.csv.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
filters | Bounds on sizes or metrics, e.g. {"bess_kwh": {"max": 200}} | |
sort_by | ||
top_n | integer |
get_pareto_front
Designs on the Pareto front of NPC, annual CO2 and capacity shortage, including designs that break a constraint (flagged), to show cost versus emissions versus reliability trade-offs.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
max_points | integer |
explain_run
Structured facts about one design: NPC breakdown and shares, top cost drivers, binding constraints, dispatch statistics, differences from the next design or base case, and the most uncertain inputs.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
compare_to | string | |
rank | integer | 0 = base case |
get_monthly_summary
Twelve months of energy flows and, for grid-connected runs, the bill before and after.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
rank | integer |
run_sensitivity
Re-optimise the scenario for each value (or each pair of values in a two-variable grid) and compute NPC elasticities. Returns job_id and batch_id; then call get_sensitivity_results.
| Parameter | Type | Description |
|---|---|---|
scenario_id * | string | |
variables * | array | One variable (sweep) or two (grid): dotted scenario path and values, e.g. {path: 'components.bess.overrides.capital_per_unit', values: [60000, 80000, 100000]} |
solver | string | |
wait_seconds | number |
get_sensitivity_results
Optimal design for each sweep value and the NPC elasticity at the base point.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string |
compare_runs
Side-by-side sizes and key metrics of several runs (e.g. native vs REopt), with differences.
| Parameter | Type | Description |
|---|---|---|
run_ids * | array | |
rank | integer |
export_homer_csv
Write HOMER-importable load and resource series (8,760 rows) plus a parameter sheet.
| Parameter | Type | Description |
|---|---|---|
run_id | ||
scenario_id |
export_report
Write a client report as Markdown or Excel: scenario, assumptions, top designs, cost breakdown, monthly table, sensitivities, provenance and disclaimer.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
format | string |