Skip to content

Commit 48abcb7

Browse files
committed
Add human-readable PSR shorthand codes (solar, gas, nuclear, etc.)
Users can now query with readable shorthands instead of ENTSO-E codes: psr_type="solar" | "wind_onshore" | "gas" | "nuclear" | ... All three formats work: "B16", "Solar", "solar". Expose PSR_CODES and COUNTRY_NAMES dicts for discoverability.
1 parent d60eba4 commit 48abcb7

9 files changed

Lines changed: 571 additions & 534 deletions

File tree

examples/balancing.ipynb

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "c02a18eb",
5+
"id": "05b5715a",
66
"metadata": {},
77
"source": [
88
"# Balancing Data — ENTSO-E Examples\n",
@@ -13,13 +13,13 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": 1,
16-
"id": "02e5427b",
16+
"id": "d14a42fa",
1717
"metadata": {
1818
"execution": {
19-
"iopub.execute_input": "2026-02-15T15:15:55.519676Z",
20-
"iopub.status.busy": "2026-02-15T15:15:55.519568Z",
21-
"iopub.status.idle": "2026-02-15T15:15:56.023878Z",
22-
"shell.execute_reply": "2026-02-15T15:15:56.023430Z"
19+
"iopub.execute_input": "2026-02-15T15:20:54.919400Z",
20+
"iopub.status.busy": "2026-02-15T15:20:54.919314Z",
21+
"iopub.status.idle": "2026-02-15T15:20:55.342407Z",
22+
"shell.execute_reply": "2026-02-15T15:20:55.341934Z"
2323
}
2424
},
2525
"outputs": [],
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"cell_type": "markdown",
37-
"id": "18cb04fe",
37+
"id": "f1ceeb12",
3838
"metadata": {},
3939
"source": [
4040
"## 1. Imbalance Prices — France (1 week)"
@@ -43,13 +43,13 @@
4343
{
4444
"cell_type": "code",
4545
"execution_count": 2,
46-
"id": "b69608c6",
46+
"id": "de4af948",
4747
"metadata": {
4848
"execution": {
49-
"iopub.execute_input": "2026-02-15T15:15:56.026934Z",
50-
"iopub.status.busy": "2026-02-15T15:15:56.026702Z",
51-
"iopub.status.idle": "2026-02-15T15:15:57.900759Z",
52-
"shell.execute_reply": "2026-02-15T15:15:57.899957Z"
49+
"iopub.execute_input": "2026-02-15T15:20:55.344719Z",
50+
"iopub.status.busy": "2026-02-15T15:20:55.344564Z",
51+
"iopub.status.idle": "2026-02-15T15:20:56.789653Z",
52+
"shell.execute_reply": "2026-02-15T15:20:56.788722Z"
5353
}
5454
},
5555
"outputs": [
@@ -145,13 +145,13 @@
145145
{
146146
"cell_type": "code",
147147
"execution_count": 3,
148-
"id": "dd580a6c",
148+
"id": "6938eb36",
149149
"metadata": {
150150
"execution": {
151-
"iopub.execute_input": "2026-02-15T15:15:57.908139Z",
152-
"iopub.status.busy": "2026-02-15T15:15:57.908003Z",
153-
"iopub.status.idle": "2026-02-15T15:15:58.677004Z",
154-
"shell.execute_reply": "2026-02-15T15:15:58.676528Z"
151+
"iopub.execute_input": "2026-02-15T15:20:56.796779Z",
152+
"iopub.status.busy": "2026-02-15T15:20:56.796603Z",
153+
"iopub.status.idle": "2026-02-15T15:20:57.511047Z",
154+
"shell.execute_reply": "2026-02-15T15:20:57.510382Z"
155155
}
156156
},
157157
"outputs": [
@@ -1678,7 +1678,7 @@
16781678
},
16791679
{
16801680
"cell_type": "markdown",
1681-
"id": "5f7bc13a",
1681+
"id": "79baf71f",
16821682
"metadata": {},
16831683
"source": [
16841684
"## 2. Imbalance Prices — Multi-Country"
@@ -1687,13 +1687,13 @@
16871687
{
16881688
"cell_type": "code",
16891689
"execution_count": 4,
1690-
"id": "312213f6",
1690+
"id": "edfbbb7d",
16911691
"metadata": {
16921692
"execution": {
1693-
"iopub.execute_input": "2026-02-15T15:15:58.679064Z",
1694-
"iopub.status.busy": "2026-02-15T15:15:58.678926Z",
1695-
"iopub.status.idle": "2026-02-15T15:16:01.597170Z",
1696-
"shell.execute_reply": "2026-02-15T15:16:01.596139Z"
1693+
"iopub.execute_input": "2026-02-15T15:20:57.513853Z",
1694+
"iopub.status.busy": "2026-02-15T15:20:57.513663Z",
1695+
"iopub.status.idle": "2026-02-15T15:20:59.304609Z",
1696+
"shell.execute_reply": "2026-02-15T15:20:59.303382Z"
16971697
}
16981698
},
16991699
"outputs": [
@@ -5781,7 +5781,7 @@
57815781
},
57825782
{
57835783
"cell_type": "markdown",
5784-
"id": "2deca6a7",
5784+
"id": "f956d7fa",
57855785
"metadata": {},
57865786
"source": [
57875787
"## 3. Price Distribution — Histogram"
@@ -5790,13 +5790,13 @@
57905790
{
57915791
"cell_type": "code",
57925792
"execution_count": 5,
5793-
"id": "3d8946c8",
5793+
"id": "8ac2986c",
57945794
"metadata": {
57955795
"execution": {
5796-
"iopub.execute_input": "2026-02-15T15:16:01.605247Z",
5797-
"iopub.status.busy": "2026-02-15T15:16:01.605008Z",
5798-
"iopub.status.idle": "2026-02-15T15:16:01.627617Z",
5799-
"shell.execute_reply": "2026-02-15T15:16:01.627123Z"
5796+
"iopub.execute_input": "2026-02-15T15:20:59.311871Z",
5797+
"iopub.status.busy": "2026-02-15T15:20:59.311679Z",
5798+
"iopub.status.idle": "2026-02-15T15:20:59.333425Z",
5799+
"shell.execute_reply": "2026-02-15T15:20:59.332967Z"
58005800
}
58015801
},
58025802
"outputs": [
@@ -6703,7 +6703,7 @@
67036703
},
67046704
{
67056705
"cell_type": "markdown",
6706-
"id": "45d08e70",
6706+
"id": "bfc4b67a",
67076707
"metadata": {},
67086708
"source": [
67096709
"## 4. Imbalance Prices vs Day-Ahead Prices"
@@ -6712,13 +6712,13 @@
67126712
{
67136713
"cell_type": "code",
67146714
"execution_count": 6,
6715-
"id": "9ccdac10",
6715+
"id": "0ce2269d",
67166716
"metadata": {
67176717
"execution": {
6718-
"iopub.execute_input": "2026-02-15T15:16:01.629501Z",
6719-
"iopub.status.busy": "2026-02-15T15:16:01.629363Z",
6720-
"iopub.status.idle": "2026-02-15T15:16:02.653767Z",
6721-
"shell.execute_reply": "2026-02-15T15:16:02.653230Z"
6718+
"iopub.execute_input": "2026-02-15T15:20:59.334974Z",
6719+
"iopub.status.busy": "2026-02-15T15:20:59.334858Z",
6720+
"iopub.status.idle": "2026-02-15T15:21:00.145923Z",
6721+
"shell.execute_reply": "2026-02-15T15:21:00.145290Z"
67226722
}
67236723
},
67246724
"outputs": [

0 commit comments

Comments
 (0)