powsybl / powsybl-open-rao

A toolbox based on powsybl framework dedicated to power systems coordinated capacity calculation and security analysis projects
Mozilla Public License 2.0
15 stars 6 forks source link

Crac import: move offsetDateTime to CracCreationParameters #1081

Open pet-mit opened 2 months ago

pet-mit commented 2 months ago

Describe the current behavior

Almost all Crac creation parameters are in the CracCreationParameters object, except offsetDateTime (probably because it was the first parameter created). Moreover, this parameter is only useful for some native Crac formats (not useful for json, nor for cse).

Describe the expected behavior

It could be a good idea to move it to CracCreationParameters' extensions where needed.

Describe the motivation

Clearer API

Extra Information

No response