Add FlexMeasures plugins, USEF protocol, and Cariflex simulator

- flexmeasures-entsoe: ENTSO-E data plugin
- flexmeasures-weather: Weather data plugin
- USEF Flex Trading Protocol PDF (2.4MB)
- Cariflex simulator (publishes to Redis)
- Dashboard Grafana updated with correct InfluxDB queries
- All tools extracted in /tools/
This commit is contained in:
Eric F
2026-06-08 07:38:57 -04:00
parent 3fb90a8033
commit d4974e3241
72 changed files with 5185 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
openDraftPR: true
autoCloseIssue: true

View File

@@ -0,0 +1,60 @@
name: lint-and-test
on: push
jobs:
check:
runs-on: ubuntu-latest
name: Check (on Python 3.11)
steps:
- uses: actions/setup-python@v4
with:
python-version: 3.11
- uses: actions/checkout@v3
- uses: pre-commit/action@v3.0.0
test:
needs: check
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py_version: [ '3.11' ]
name: "Test (on Python ${{ matrix.py_version }})"
steps:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py_version }}
- name: Check out src from Git
uses: actions/checkout@v3
- name: Install SQL extensions
run: |
sudo apt-get update
sudo apt-get -y install postgresql-client
psql -h $PGHOST -p $PGPORT --file scripts/load-psql-extensions.sql -U $PGUSER $PGDB;
- name: Install necessary items for netcdf
run: |
sudo apt-get install libhdf5-serial-dev netcdf-bin libnetcdf-dev
- run: make test
env:
PGHOST: 127.0.0.1
PGPORT: 5432
PGUSER: flexmeasures_test
PGDB: flexmeasures_test
PGPASSWORD: flexmeasures_test
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres:14.17
env:
POSTGRES_USER: flexmeasures_test
POSTGRES_PASSWORD: flexmeasures_test
POSTGRES_DB: flexmeasures_test
ports:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5