-
Notifications
You must be signed in to change notification settings - Fork 0
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.7.0 #180
Merged
Merged
Version 0.7.0 #180
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
…ions/develop/actions/cache-4 Bump actions/cache from 3 to 4
This reverts commit 3afc78a.
Resolves #176 Instead of calling `results_to_dict`, `results_to_json`, `results_from_dict`, and `results_from_json` separately, these are now part of `to_dict`, etc. with an opt out option. The old methods are deprecated for one release and then will be removed.
Co-authored-by: Ali Hamdan <[email protected]>
Bug in `propagate_potentials` with "center" transformer types
benoit9126
added
bug
Something isn't working
enhancement
New feature or request
dependencies
Pull requests that update a dependency file
labels
Feb 8, 2024
alihamdan
approved these changes
Feb 8, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to have the final release.
I’d also mention that the documentation has moved and link the new location in the release notes.
Saelyos
approved these changes
Feb 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
Starting with this version, Roseau Load Flow is no longer supplied as a SaaS. The software is
available as a standalone Python library. Please contact us at [email protected] in order to get a license key.
This release includes:
propagate_potentials
with "center" transformer types #179 Fix a bug in the propagation of potentials when a center-tapped transformer is used without neutral at the primary side.to_dict
andresults_to_dict
methods #176 Merge theresults_to_json
,results_from_json
,results_to_dict
andresults_from_dict
methods of theElectricalNetwork
andElement
s classes into the methodsto_json
,from_json
,to_dict
andfrom_dict
respectively. The oldresults_
methods are deprecated and will be removed in a future release. The new methods will include the results by default, but you can passinclude_results=False
to exclude them.It also includes all the modifications of the alpha release #171 :
LineParameters.get_catalogue()
to get a data frame of the available lines and the methodLineParameters.from_catalogue()
to create a line from the catalogue. Several line types, conductor material, and insulation types have been updated. Physical constants have been updated to match the IEC standards where applicable.LineParameters
now takes optional argumentsline_type
,conductor_type
,insulator_type
andsection
. These parameters are accessible as properties. They are filled automatically when creating a line from the catalogue or from a geometry.print_catalogue()
methods byget_catalogue()
methods that return a data frame instead of printing the catalogue to the console.from_string
method, you can call the enumeration class directly with the string value to get the corresponding enumeration member. Case-insensitive behavior is preserved.LineParameters
alternative constructors #122 Add checks on line height and diameter in theLineParameters.from_geometry()
alternative constructor. This method will try to guess a default conductor and insulation type ifNone
is provided.ElectricalNetwork.solve_load_flow()
method no longer takes anauth
argument.roseau.load_flow.activate_license("MY LICENSE KEY")
or set the environment variableROSEAU_LOAD_FLOW_LICENSE_KEY
(preferred) before callingElectricalNetwork.solve_load_flow()
. More information in the documentation.FlexibleParameter
class that previously requiredauth
are changed. Make sure to follow the documentation to update your code.ElectricalNetwork.res_transformers
returning an empty dataframe when max_power is not set.EMPTY_NETWORK
code was added to indicate that a network is being created with no elements.ElectricalNetwork.res_info
attribute.ElectricalNetwork.solve_load_flow()
now returns the tuple (number of iterations, residual).Bus.clear_short_circuits()
andElectricalNetwork.clear_short_circuits()
methods. It is currently not possible to clear short-circuits from the network.phases
andbus
are now read-only on all elements.