Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.12.0-alpha #314

Merged
merged 21 commits into from
Jan 9, 2025
Merged

Version 0.12.0-alpha #314

merged 21 commits into from
Jan 9, 2025

Conversation

benoit9126
Copy link
Member

A new alpha version to test the new features 🎉

alihamdan and others added 21 commits December 9, 2024 11:26
Improve error message when there is a NaN in the jacobian, by
identifying the problematic element

Closes #299

---------

Co-authored-by: Ali Hamdan <[email protected]>
- Fix missing `voltage_level` in `en.res_buses_voltages` when the buses
define nominal voltage but not voltage limits.
- Add `rlf.SQRT3` constant for the square root of 3. It can be useful
for the conversion between phase-to-phase and phase-to-neutral voltages.
- Improve the performance of some dataframe properties.
This PR re-organizes the `utils` subpackage. The important modules are
moved to top-level while internal modules are kept in `utils`.

This is to separate modules that are meant for user use from modules
that are meant for internal use. This way we are able to exclude the
internal modules from the documentation and make using the important
modules easier at the same time.

Old modules are deprecated and will be removed in a future version.
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 4 to 5.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@v4...v5)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…ions/develop/astral-sh/setup-uv-5

Bump astral-sh/setup-uv from 4 to 5
- Add the following missing information to `results_to_dict` with
`full=True`:
  - `loading` for lines and transformers
  - `voltage_levels` for buses
  - `voltages` for loads and sources
- Add the following missing information to network dataframes:
  - `tap` for `en.transformers_frame`.
  - `element_type` for `potential_refs_frame` (can be `ground` or `bus`)
- Improve the performance of `res_violated` of buses, lines and
transformers by not using quantity.m internally
- Improve the performance of network frames by avoiding creating two
dataframes
- Improve the error message when trying to connect a load with the same
ID as an existing one. We now show the type of the old load in the
message.
Closes #296

This makes it easier to check for an overloaded neutral or to check
which phase has overvoltage for example. It also makes the dataframe
results dataframe consistent with the results of the elements.
- Add French aliases to line enumeration types.
- Fix `TypeError`s in the `LineParameters.from_coiffier_model`. The
error message of invalid models now indicates whether the line type or
the conductor material is invalid.
- Add `TransformerCooling` enumeration. It is not currently used but the
plan is to include it in the catalogue as this information is included
in the catalogues we have.
@benoit9126 benoit9126 added the enhancement New feature or request label Jan 9, 2025
@benoit9126 benoit9126 self-assigned this Jan 9, 2025
@benoit9126 benoit9126 merged commit 5dfe47f into main Jan 9, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants