Changelog
v0.14.0 (2026-05-20)
Breaking changes
- Short-term storage method
update_pmax_injectionwas renamedset_pmax_injectionto stay coherent with the rest of the code#405
Bug fixes
- local, sts: remove wrong check on inflow matrix size
#404
Miscellaneous
- chore: improve APIConf documentation
#403
v0.13.1 (2026-04-27)
Bug fixes
- local, sts: additional constraints were saved in a wrong format
#398 - local, xpansion: sensitivity reading failed when empty
#397
Miscellaneous
- chore: use AntaresWeb version 2.31 inside tests
#399
v0.13.0 (2026-04-16)
Features
- output: allow reading
ts-numbersresults#393
Bug fixes
- local, run: allow the study to run with sc builder set
#395
Miscellaneous
- doc: move non user-related enums and functions
#391 - output: harmonize code with web
#392 - doc: added doc
#381 - chore: remove unwanted local general parameters
#394
v0.12.2 (2026-03-31)
Bug fixes
- settings: support v9.3 adequacy patch field
redispatch#387 - settings: support v9.3 field
accurate_shave_peaks_include_short_term_storage#388
v0.12.1 (2026-03-31)
Bug fixes
- local, link: remove empty capacities folder inside deletion
#383 - local, constraints: read ids instead of infering based on their names
#384
Miscellaneous
- ci: add ubuntu GUI for daily ci
#382
v0.12.0 (2026-03-24)
Compatibility
-
This version is compatible with AntaresWeb v2.30.0. The previous is not for scenario-builder related features, due to a breaking change inside Web API (
#370) -
We removed the argument
mc_yearsinside mc-all aggregation as it did not make sense#377
Bug fixes
- settings: support
expansionas a simulation mode#374
Miscellaneous
- tests: use AntaresWeb v2.30 inside CI
#378 - sc-builder: simplify API code
#379 - doc: fix README example
#375
v0.11.0 (2026-02-24)
Breaking changes
We changed the way the user runs a simulation due to #367
Before
- Local: The user had to set a
solver_pathinsideread_study_localorcreate_study_localto be able to run a simulation. - API and Local: To give specific solver parameters we used the
AntaresSimulationParametersclass.
Now
- Local: To give specific solver parameters we use the
AntaresSimulationParametersLocalclass. It requires an attributesolver_path. - API: We now use the class
AntaresSimulationParametersAPIto do the same thing as before.
We expect this to be more user-friendly, and it also allows the user to give more options for API usage. For instance, it's now possible to choose the solver version, the presets defined in the app or other niche options.
Miscellaneous
- tests: use AntaresWeb v2.29 inside CI
#368
v0.10.4 (2026-02-23)
Refactorings
- thematic-trimming: make the class not frozen for user to modify it
#365
v0.10.3 (2026-02-23)
Bug fixes
- api, move: use unix path inside
movemethod#363
v0.10.2 (2026-02-03)
Bug fixes
- local, settings: allow other values inside generaldata reading
#361
v0.10.1 (2026-02-02)
Features
- study, local: allow path as string for read / create methods
#359
Miscellaneous
- tests: adapt integration test to new Web behavior
#355 - chore: remove unwanted parameter mutation
#356 - run: remove usage of
shell=True#357
v0.10.0 (2026-01-27)
Features
- thematic-trimming: add new fields
#322 - local, xpansion: support reading and editing new settings
#347
Bug fixes
- local: deleting an area with id != name doesn't delete area
#334 - local: issue inside mass update for clusters and st-storages
#341 - local, sts: issue when updating constraint properties
#342 - local, hydro: issue inside allocation when deleting area
#344
Miscellaneous
- ci: make the CI faster
#332 - api: change matrix headers to always have integers
#333 - deps: update setuptools to ~78.1.1
#335 - links: avoid dictionary mutation
#345 - tests: use AntaresWeb v2.28 for API tests
#346
v0.9.5 (2026-01-13)
Bug fixes
- local, run: allow simulations to run on Windows 330
v0.9.4 (2026-01-13)
Perfs
v0.9.3 (2026-01-09)
Perfs
- local, output: speed-up aggregation process 325
v0.9.2 (2026-01-09)
Bug fixes
- local, thematic-trimming: allow unknown fields 323
v0.9.1 (2026-01-08)
Bug fixes
- api, binding constraints: allow offset to be null inside terms 320
v0.9.0 (2026-01-05)
Features
- build: support Python 3.14 315
Bug fixes
- local, hydro: write allocation values to ini file 317
Others
- deps: use numpy v2 instead of v1 316
v0.8.0 (2025-12-18)
Compatibility
- The method
study.delete_binding_constrainthas been replaced bystudy.delete_binding_constraintswhere you can now give a list of constraints to delete at the same time 308
Features
- local, area: implement area deletion 196
Bug fixes
- local, settings: allow exportmps
both-optimsvalue 311 - local, settings: allow reading with unwanted fields in the generaldata.ini 312
- local, renewable: consider free groups before v9.3 are
other res 1313 - local, sc-builder: clean the file when deleting objects 307
- local, sc-builder: clean it when changing bc group 309
Perfs
- local, output: faster aggregation for clusters 305
Others
- tests: use 8.8.19 inside integration tests 310
v0.7.0 (2025-12-12)
Compatibility
- This version is compatible with AntaresWeb v2.27.0. So does the 0.6.0.
Bug fixes
- local, thermal: consider free groups before 9.3 are
other 1292 - local, st-storage: make groups case-insensitive
293 - local, bc: check matrices coherence at constraint creation
298 - local, bc: modify matrices when updating constraint
time_steporoperator301
Perfs
- local, output: use polars inside output aggregation
302 - local, matrix: use polars to read and write input matrices
303
Others
- ci: use the right desktop name
291 - doc: more docstrings
144 - tests: use AntaresWeb 2.27 inside integration tests
300
v0.6.0 (2025-11-07)
Compatibility
- This version is compatible with AntaresWeb v2.26.0. The previous is not.
- The following methods concerning binding constraint terms were removed due to this
279:add_terms,delete_termandupdate_termwere replaced byset_termsthat takes the given terms and replace existing ones.
Features
- hydro: support reading and editing allocation
285
Bug fixes
- dependencies: fix issue with optional fields and pydantic 2.12
281 - clusters: stop writing cluster names in lowercase inside API
288
Perfs
- binding-constraints: clean code and improve perfs for local
280 - api: use new endpoint inside
read_study_api271
Others
- tests: remove useless API UTs
283 - tests: add integration API test inside the CI
282 - tests: launch API integration test with new AWeb API
284 - docs: change package presentation message on pypi
286 - tests: add daily integration test with latest AntaresWeb code
287
v0.5.0 (2025-10-13)
Compatiblity
- This version fully supports the Simulator v9.3 251, 277
- This version is compatible with AntaresWeb v2.25.0. The previous is not.
Bug fixes
- ts-gen: bump the
timeseries generationpackage to fix an issue 263 - local: allow clusters with numeric names 268
- api: fix issue inside area properties reading and mass update 272
- output: raise when links are given in the wrong order 274
- deps: add pyarrow inside pyproject.toml 276
- scenario-builder: only use
hydro final levelfor v9.2+ studies 275
Perfs
- aggregation: use parquet instead of csv inside output aggregation 273
Others
New Contributors
- @RobbieKiwi made their first contribution in 268
v0.4.0 (2025-09-16)
Compatiblity
- This version fully supports the Simulator v9.2
Features
- thematic-trimming: add
BC. MARG. COST244 - st-storages: add attributes coherence check 245
- st-storages: support additional constraints 246
- local: support 9.2 launcher 249
Bug fixes
- local: support optional matrices 248
- local: delete matrices when deleting an object 250
- api: encode binding constraint term ID inside API call + use the right solver inside simulation 256
Others
Perfs
v0.3.0 (2025-07-24)
Features
- xpansion: implement matrices reading 231
- xpansion: implement inputs editing 232, 233, 234, 235, 236, 237, 238, 239, 240, 241
- xpansion: implement outputs reading 206
v0.2.10 (2025-07-16)
Features
- xpansion: implement inputs reading 227
Bug fixes
- api: change thematic-trimming
to_modelmethod 229
v0.2.9 (2025-07-09)
Compatiblity
- This version is compatible with AntaresWeb v2.22.1. The previous is not.
- This version is compatible with Simulator v9.2 except for the short-term storage additional constraints.
Features
Breaking changes
- clusters: forbid creation with matrices for thermal and renewable clusters 219
- Thermal and renewable clusters can no longer be instantiated with matrices (
DataFrame) - Before:
- After:
Bug fixes
- local: remove useless thermal file 212
- local: rename matrix C02Cost in CO2Cost 213
- local: check constraint matrices size at the creation 214
- local: use different thermal prepro matrices 215
- local: perform whole data validation before writing data inside mass update methods 216
- api: allow extra fields from API inside pydantic model 225
Miscellaneous
- chore: make exception messages a bit clearer 217
v0.2.8 (2025-07-03)
Compatiblity
This version is compatible with AntaresWeb v2.22. The previous is not.
Features
- bcs: forbid deletion if area/link/cluster is referenced inside a constraint term 195
- api handle AntaresWeb version 2.22 197
Miscellaneous
- deps: bump pydantic and move documentation requirements 198
- sonar: fix little sonar issues 199
- output: add aggregation enums inside
__all__200 - tests: adapt code to custom desktop version 210
v0.2.7 (2025-06-13)
Breaking changes
This version is only compatible with AntaresWeb v2.21.0 and higher due to 188
We also changed the user output interaction due to 186
Example:
Previously:
res = output.aggregate_areas_mc_all(query_file="details", frequency="hourly")
Now:
res = output.aggregate_mc_all_areas(data_type="details", frequency="hourly")
Features
- version handle explicitely only
v8.8studies 181 - local implement local output service 185
- local use
getpass.getuser()when creating a local study 189 - local add clusters reading inside
read_study_local191
Bug fixes
- local: allow study reading when there's no
outputfolder 175 - local:
read_areasmethod relies on study path 176 - local: support several values for
accuracy_on_correlationfield 177 - local: allow area names inside hydro.ini file 178
- local: fix several issues on cluster group parsing 192
- settings: allow reading legacy values 193
Miscellaneous
- build: restore Windows CI 172
- build: bump
ruffandmypy173 - local: use
antares-study-versionpackage to simplify the code 180 - build: bump tox 182
- chore: use mypy inside tests 190
v0.2.6 (2025-04-14)
Bug fixes
- local: support
Nonevalue for include-export-mps 169 - local: allow empty field for
accuracy-on-correlationinside generaldata.ini 170
v0.2.5 (2025-04-09)
Features
- build: support Python3.13 164
Bug fixes
- local: avoid reading useless fields inside
read_settingsmethod 165 - local: use the default value when reading an empty string 166
v0.2.4 (2025-04-04)
Features
- renewable: add
update_renewable_clustersmethod 149 - st-storage: add
update_st_storagesmethod 150 - local support playlist reading and writing 159
- local support thematic trimming reading and writing 160
- scenariobuilder: support scenario builder reading and writing 161, 162
Bug fixes
Miscellaneous
- local use
ini_readerinstead ofConfigParserto prepare future work 151 - local avoid unecessary i/o operations inside area properties update 153
v0.2.3 (2025-03-20)
Breaking changes
- We dropped the support of Python3.9. The supported versions of Python are the 3.10, 3.11 and 3.12
- Every
update_multiple_...method has been renamed inupdate_...s145
Features
Bug fixes
Perfs
- local: avoid multiple i/o operations on the same files inside reading methods 134
- local: speed-up
study.update_thermalsmethods 142
Miscellaneous
v0.2.2 (2025-03-17)
Bug fixes
- api: parse horizon inside study settings even when it's an integer
Perfs
- api: use AntaresWeb table-mode endpoints to reduce amount of API calls inside reading methods
v0.2.1 (2025-03-13)
Compatiblity
This version is only compatible with AntaresWeb v2.19.1 and higher. Consequently, the v0.2.0 is only compatible with AntaresWeb v2.19.0
It also requires a solver in v8.8.14 or higher
Breaking changes
- areas: new user class for AreaUI. It does no longer support multiple layers 96
- matrices: rename matrices update methods. The prefixes
createorupdatechanged tosetfor clarity’s sake 125 - user make
readmethods inside Study or Area private. You shall no longer need to use them 126
Features
- user: make user classes frozen to avoid careless modifications 99
- links: create
modify_multiple_linksmethod by 98 - local: handle st storage methods 101
- local: handle thermal methods 102
- local: handle renewable methods 103
- links: use
read_linksinsideread_study_api105 - constraints: introduce
update_multiple_constraintsmethod 108 - local: implement
read_constraintsmethod 110 - local: implement some
binding_constraints111 - local: implement
thermal_ts_generation112 - local: return default simulator matrices when they are empty 113
- areas: introduce
update_multiple_areas_propertiesmethod 104 - local: handle local launcher 116
- local: handle delete and read output methods 117
- local: handle clusters deletion methods 118
- local: handle link update ui and deletion 120
- local: implement delete constraint method 123
- api: handle AntaresWeb version 2.19.1 92
- thermals: introduce
update_multiple_thermal_clustersmethod 124
Fixes
- user:
read_xxxmethods modify objects instead of copying them 100 - user: put new dependencies inside the
pyproject.tomlfile 129 - local:
write_timeseriesmethod improvement 97 - local: actually modify ini files inside update methods 119
Miscellaneous
- doc: initialize doc deployment to readthedoc 121
- chore: cleaning duplicated code 106
- chore: better handling of filtering values 114
- chore: remove pydantic related field from user classes 115
- chore: put user related classes inside
__init__.py127
Full Changelog: https://github.com/AntaresSimulatorTeam/antares_craft/compare/v0.2.0...v0.2.1
v0.2.0 (2025-02-20)
Compatiblity with AntaresWeb
This version is only compatible with AntaresWeb v2.19.0 and higher
Breaking changes
- It is no longer possible to create a study while giving settings. The user will have to update them afterward.
- All user classes are now dataclasses and not Pydantic model.
- All user class (except for update) have no optional fields meaning it will be clearer for the users to see what they are really sending. It will also silent typing issues inside user scripts
- New classes have been introduced for update. They are all optional which makes it also clear to understand which fields are updated.
- STStorage methods for updating matrices have been renamed
update_xxxinstead ofupload_xxx.
Example of an old code:
import AreaProperties
area_properties = AreaProperties()
area_properties.energy_cost_unsupplied = 10
area_properties.energy_cost_spilled = 4
area_fr = study.create_area("fr", area_properties)
new_properties = AreaProperties()
new_properties.energy_cost_unsupplied = 6
area_fr.update_properties(new_properties)
Example of a new code:
import AreaProperties, AreaPropertiesUpdate
area_properties = AreaProperties(energy_cost_unsupplied=10, energy_cost_spilled=4)
area_fr = study.create_area("fr", area_properties)
new_properties = AreaPropertiesUpdate(energy_cost_unsupplied=6)
area_fr.update_properties(new_properties)
Features
- API: add
import_study_apimethod - API: add update_thermal_matrices methods
- API: specify number of years to generate for thermal TS-generation
Fixes
- LOCAL:
get_thermal_matrixmethod checked the wrong path - API:
read_renewablesmethod doesn't fail when settings are aggregated instead of clusters - API:
read_settingsdoesn't fail when horizon is a year - API: disable proxy when using the Desktop version to avoid any issue
Miscellaneous
- enforce strict type checking with mypy
- enforce override with mypy
- Moves all local and api related classes and methods outside the
modelpackage
v0.1.8_RC2 (2025-01-22)
- upload renewable thermal matrices method added
- bug fix clusters/{area}/list.ini file was missing
- bug fix for input/thermal/series/{area}/{cluster}/series.txt /data.txt and modulation.txt, wrong path at cluster creation
v0.1.8_RC1 (2025-01-22)
- bug fixes for missing files when creating area
- wrong properties corrected (spread-unsupplied-energy-cost and spread-spilled-energy-cost)
v0.1.7 (2025-01-08)
- move doc generation from ci.yml to publish.yml
v0.1.6 (2025-01-08)
- Fix concatenate CONCATENATED_README.md files for single Readme at pypi.org
v0.1.5 (2025-01-08)
- Concatenate .md files for single Readme at pypi.org
v0.1.4 (2025-01-07)
- Allow read_areas method to read area parameters and ui
- Add output functionalities (get_matrix, aggregate_values)
v0.1.3 (2024-12-19)
- Add project requirements inside
pyproject.tomlto use the package as is - Add a subfolder "craft" inside src to rename the package
antares.craftfor users - Add
py.typedfile to avoid mypy issues in projects importing the package
v0.1.2 (2024-12-18)
Features
- Read a study
- Read thermal, renewable clusters and short term storages properties
- Read load matrix
- Read link matrices
- Allow variant creation
- Allow to run simulation
v0.1.1 (2024-11-26)
- update token and bump version to publish on PyPi.
v0.1.0 (2024-11-26)
- First release of the project.