Skip to content

Cairn 6.0.0

Latest

Choose a tag to compare

@stephanie-crevon stephanie-crevon released this 09 Jul 14:57

Non exhaustive list of modifications:

[Core]

  • Refactoring of EnergyVector: split into ElectricalCarrier and MaterialCarrier (with type Mass or Energy). A script update_v5.4_v6.0.py is included to migrate existing studies and ensure compatibility.
  • EnergyVector: improve management of atomic composition for MaterialCarrier, with support for user-defined inputs.
  • EnergyVector: add support for time-varying parameters (e.g., LHV/PCI, atomic composition, etc.).
  • Renaming Parameters and Indicators: renaming of certain parameters (Grey… -> Embodied…, …Constant -> …Offset) and indicators for clarity and consistency. Use the script update_v5.4_v6.0.py to migrate existing studies and ensure compatibility.
  • Profiling tool: new class allowing automatic measurement of execution time and memory usage, with data export for each run.
  • Sizing of converters: improve sizing based on Weight and consistency checks; removal of unused Pmin variables when minPower = 0.
  • Minimum capacity logic: extended to Compressor and Pipeline models.
  • Compressor: add an option to manually specify electrical consumption.
  • MultiConverter: users can now define upper limits on inputs/outputs via a CSV file.
  • VariableOpex at the port level: users can now define VariableOpex at the port level.
  • TecEcoAnalysis: removal of the Range parameter.
  • Multi-threading: add support for multi-thread execution of Parametric Study.
  • Logging: clean and improve log display.
  • Developer tools: add a model template for developers creating new components.
  • Code quality: general code cleanup, refactoring, and minor fixes.

[API]

  • Add a function to perform a Parametric Study.
  • Add an Import Group function: import_group(json: string)
  • Support for timeseries in dataframe format via the API: add_df_timeseries(problem: OptimProblem, timeSeries: pd.DataFrame)
  • Support for user comments via the API.
  • Add an attribute to know the energy vector associated with a bus: bus.carrier

[GUI]

  • The GUI now retrieves all necessary data (variables, indicators, ports, units, etc.) directly from the API, removing the dependency on Model.json.
  • Improve and centralized font sizes in the interface.
  • Add units in the results windows.
  • Fix display issues related to Parametric Study (progress bar, etc.).
  • Add support for exporting a single component or a selection of components (in addition to the existing group export).