-
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.10.0 #265
Merged
Merged
Version 0.10.0 #265
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
File format evolutions
Co-authored-by: Ali Hamdan <[email protected]>
Load type in the JSON format (version 2)
Add a first series of tutorials that builds on the OpenDSS tutorials by [Prof Nando Ochoa](https://github.com/Team-Nando)
Improvements to the `rlf.converters` module: - Fix `series_phasor_to_sym` function with series that have different phases per element. - Make `calculate_voltages` take array-like potentials. Also some improvements to typing and error messages.
This gives the users the ability to create loads with connected neutral and loads with floating neutral on the same bus without needing to create a dedicated "abc" bus just to have a floating neutral connection. The default behavior of automatically considering the neutral as floating when the bus does not have a neutral is conserved.
Update the figures of the documentation
Invalidate the license cache
`Map` accepts some interesting keywords like min and max zoom, tile provider, height and width, etc. These should be under the control of the user. We still compute the `location` and `zoom_start` automatically if not provided.
Sphinx configuration improvements
alihamdan
approved these changes
Sep 3, 2024
Saelyos
approved these changes
Sep 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A lot of improvements 🎉
Important
There is a main breaking change in this version. The constructor of the class
ElectricalNetwork
has changed:lines
,transformers
andswitches
in replacement of the argumentbranches
.res_branches
has been removed. Please useres_lines
,res_transformers
and
res_switches
methods instead.branches
does not exist anymore. Please use the fieldslines
,transformers
andswitches
.issue 28551 of the Matplotlib repository.
roseau.load_flow.plotting
module. The
plot_interactive_map
function plots an electrical network on an interactive map usingthe folium library and the
plot_voltage_phasors
function plots the voltage phasors of a bus, loador source in the complex plane. The revamped plotting section of the documentation demonstrates the
plotting functionalities available in Roseau Load Flow with examples.
and a page on potential references.
from_coiffier_model
method to line parameters #257 ENH: Improve some ofLineParameters
alternative constructors #252 Updates to theLineParameters
class:from_name_lv
, deprecated since version 0.6, has been removed. It can be easilyreplaced by the
from_geometry
method.from_name_mv
is deprecated. A new methodfrom_coiffier_model
is added with thesame functionality and more flexibility. The new method computes the ampacity of the line based
on Coiffier's model and works with different numbers of phases.
powers
,currents
,impedances
parameters of the load classes.rlf.PositiveSequence
,rlf.NegativeSequence
andrlf.ZeroSequence
vectors for easiercreation of balanced quantities.
of Accept scalar values as source voltages #249.
phase
attribute of the
PotentialRef
is replaced byphases
.voltages
parameter of theVoltageSource
class.connect_neutral
parameter to loads and sources #247 Addconnect_neutral
parameter to the loads and sources constructor to specify if theneutral is to be connected to the bus's neutral or to be left floating. This allows loads connected
to the same bus to have different neutral connections. The default behavior remains the same as
before where the neutral is connected when the bus has a neutral and floating otherwise.
rlf.converters
module:series_phasor_to_sym
function with series that have different phases per element.calculate_voltages
take array-like potentials.LineParameters.from_geometry
with unknown insulation #245 BUG:LineParameters.from_geometry
does not work with lines that are not insulated #244 Fix theLineParameters.from_geometry
method to not crash when passedunknown
insulator type orNone
.res_voltages
to theVoltageSource
class for symmetry with the other elements.res_voltages
is always equal to the suppliedvoltages
for a voltage source.invalid PwF line geographical coordinates table.
ElectricalNetwork
has changed:lines
,transformers
andswitches
in replacement of the argumentbranches
.res_branches
has been removed. Please useres_lines
,res_transformers
and
res_switches
methods instead.branches
does not exist anymore. Please use the fieldslines
,transformers
andswitches
.Switch
class into its own fileroseau/load_flow/models/switches.py
.can still be read. Please upgrade them manually using the following code:
results_to_dict
now accepts the keyword-only argumentfull
which allows the export of allthe results of an element.
error was raised.
str.find
method by thestr.index
function.to_graph
of the classElectricalNetwork
now retrieves a graph with additional data storein the edges depending on the edge type: line, transformer or switch.
TransformerParameters
class: manufacturer, efficiency and range.q_min
andq_max
in the constructor ofFlexibleParameter
.FlexibleParameter
,Control
andProjection
.